joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4187b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [0x42f00c]
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, edx
lea ebx, [ebp - 0x1c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov byte [ecx], 0
push ebx
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x4187f6
push ebx
push edi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x4187f6
xor ebx, ebx
jmp 0x418837
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 4
lea edx, [ebp - 0x20]
lea edi, [ebp - 0x14]
push ecx
push edx
push edi
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ebx, ebx
test eax, eax
jne 0x41882e
cmp dword [ebp - 0x14], 4
jne 0x41882e
cmp dword [ebp - 0x20], 1
mov eax, dword [ebp + 8]
mov bl, 1
sete byte [eax]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00427650
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x418c40
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x838
mov eax, dword [0x42f00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x3f6
mov dword [ebp - 0x840], ecx
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push 0
push 0
push 0x31
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x418c8c
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
lea esi, [ebp - 0x838]
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
push esi
push dword [ebp - 0x840]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea esi, [ebp - 0x810]
push 0x400
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
add esp, 4
lea ecx, [ebp - 0x828]
push ecx
push eax
push esi
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
test eax, eax
je 0x418e72
mov ecx, dword [ebp - 0x838]
mov esi, dword [ebp - 0x830]
mov eax, dword [ebp - 0x828]
sub esi, ecx
cmp eax, esi
jl 0x418e72
cvtsi2ss xmm0, eax
cvtsi2ss xmm1, esi
divss xmm0, xmm1
cvtss2sd xmm0, xmm0
sub esp, 8
movsd qword [esp], xmm0
mov ebx, ecx
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
mov edx, ebx
add esp, 8
fstp dword [ebp - 0x844]
mov ecx, dword [ebp - 0x834]
cvttss2si eax, dword [ebp - 0x844]
mov ebx, ecx
imul eax, dword [ebp - 0x824]
sub ebx, dword [ebp - 0x82c]
add ebx, eax
test ebx, ebx
jle 0x418e72
push 1
push eax
push esi
push ecx
push edx
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
mov esi, dword [0x42f618]
mov ecx, dword [esi + 4]
call fcn.004180d0
mov eax, dword [0x42f618]
lea ecx, [ebp - 0x820]
lea edx, [ebp - 0x83c]
mov dword [eax + 4], esi
mov dword [eax], esi
mov dword [eax + 8], esi
mov dword [0x42f61c], 0
mov dword [ebp - 0x83c], 0x3ed
call fcn.00419d50
lea edi, [ebp - 0x820]
lea edx, [ebp - 0x83c]
mov dword [ebp - 0x83c], 0x3f4
mov ecx, edi
call fcn.00419d50
push edi
mov esi, dword [ebp - 0x840]
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
add ebx, dword [ebp - 0x814]
mov dword [ebp - 0x814], ebx
mov ecx, dword [ebp - 0x81c]
mov eax, dword [ebp - 0x820]
mov edx, dword [ebp - 0x818]
sub ebx, ecx
sub edx, eax
push 1
push ebx
push edx
push ecx
push eax
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
lea esi, [ebp - 0x820]
mov edx, 0x429664
mov ecx, esi
call fcn.00419d50
mov ecx, esi
mov edx, 0x429668
call fcn.00419d50
mov ecx, esi
mov edx, 0x42966c
call fcn.00419d50
mov ecx, esi
mov edx, 0x429670
call fcn.00419d50
mov ecx, esi
mov edx, 0x429674
call fcn.00419d50
mov ecx, esi
mov edx, 0x429678
call fcn.00419d50
mov ecx, esi
mov edx, 0x42967c
call fcn.00419d50
mov ecx, esi
mov edx, 0x429680
call fcn.00419d50
mov ecx, esi
mov edx, 0x429684
call fcn.00419d50
mov ecx, esi
mov edx, 0x429688
call fcn.00419d50
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00427650
add esp, 0x838
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x419980
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x824
mov dword [ebp - 0x830], edx
mov esi, ecx
lea edi, [ebp - 0x810]
mov eax, dword [0x42f00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x400
push edi
push 0x3f1
push ecx
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], 0
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
add esp, 4
mov ebx, eax
cmp eax, 7
jbe 0x419a05
sub esp, 0xc
mov al, byte [ebp - 0x82c]
lea ecx, [ebp - 0x828]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], ebx
call section..text
jmp 0x419a2a
mov eax, ebx
mov dword [ebp - 0x818], ebx
lea ecx, [ebp - 0x828]
add eax, ebx
push eax
push edi
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov word [ebp + ebx*2 - 0x828], 0
cmp dword [0x42f5fc], 7
mov eax, 0x42f5e8
jbe 0x419a3d
mov eax, dword [0x42f5e8]
lea ecx, [ebp - 0x82c]
push ecx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x419a98
mov eax, dword [ebp - 0x818]
cmp dword [ebp - 0x814], 7
lea eax, [eax + eax + 2]
jbe 0x419a6f
mov ecx, dword [ebp - 0x828]
jmp 0x419a75
lea ecx, [ebp - 0x828]
push eax
push ecx
push 1
push 0
push str.Email
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x814]
cmp ecx, 8
jb 0x419ac3
mov eax, dword [ebp - 0x828]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jae 0x419b8c
push edx
push eax
call fcn.00426ce1
add esp, 8
push 0x3f2
push esi
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
xor ebx, ebx
test eax, eax
mov edi, 0x42f5e8
mov ecx, 0x42f5e8
setne al
cmp dword [0x42f5fc], 7
jbe 0x419aef
mov ecx, dword [0x42f5e8]
mov bl, al
mov edx, str.IncludeURL
push ebx
call fcn.0041a100
add esp, 4
push 0x3f0
push esi
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
xor ebx, ebx
test eax, eax
mov ecx, 0x42f5e8
setne al
cmp dword [0x42f5fc], 7
jbe 0x419b26
mov ecx, dword [0x42f5e8]
mov bl, al
mov edx, str.EmailMe
push ebx
call fcn.0041a100
add esp, 4
push 0x3ef
push esi
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
xor ebx, ebx
test eax, eax
setne al
cmp dword [0x42f5fc], 7
jbe 0x419b58
mov edi, dword [0x42f5e8]
mov bl, al
mov ecx, edi
mov edx, str.SubmitCrashReport
push ebx
call fcn.0041a100
add esp, 4
push dword [ebp - 0x830]
push esi
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00427650
add esp, 0x824
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x419ba7
add ecx, ecx
add ecx, 0x25
mov edx, ecx
jmp 0x419ab9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x419bb0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x7e4
mov dword [ebp - 0x7f0], edx
mov edi, ecx
lea ebx, [ebp - 0x3fa]
mov eax, dword [0x42f00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x1f5
push ebx
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x7ec]
lea ecx, [ebp - 0x7e8]
push eax
push ecx
push 0xb0
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x7ec]
mov ecx, dword [ebp - 0x7e8]
mov edi, 0xfffffffe
sub eax, ecx
je 0x419c60
lea edi, [ebp - 0x7e4]
lea ecx, [ebp + ecx*2 - 0x3fa]
push eax
push ecx
push 0x1f5
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
add esp, 0x10
mov eax, dword [ebp - 0x7ec]
sub eax, dword [ebp - 0x7e8]
mov word [ebp + eax*2 - 0x7e4], 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
not edi
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0xfde9
call esi
mov ebx, eax
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0x7f0]
push 0
push 0xfde9
call esi
mov ecx, dword [ebp - 0x10]
add ebx, edi
add ebx, eax
xor ecx, ebp
call fcn.00427650
mov eax, ebx
add esp, 0x7e4
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x41a100
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x42f00c]
mov esi, edx
mov edi, ecx
lea ebx, [ebp - 0x14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push 2
push 0
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a146
push 0x42b280
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 2
push 0
push edi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a172
push 0x42b280
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push edi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x41a1a7
movzx eax, byte [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 4
push eax
push 4
push 0
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00427650
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x426a20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [0x42f00c]
mov esi, edx
mov ebx, dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, dword [ecx]
mov edx, dword [edi + 4]
cmp byte [edx + 0xd], 0
je 0x426aa6
mov dword [ebp - 0x14], edi
mov eax, edi
cmp edi, dword [eax]
je 0x426ae6
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], esi
call fcn.00419f80
mov esi, dword [ebp - 0x14]
mov al, 1
mov dword [ebp - 0x20], eax
lea ecx, [esi + 0x10]
mov edx, ebx
call fcn.00423bc0
test al, al
je 0x426af0
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
movzx eax, byte [ebp - 0x20]
mov edx, esi
push dword [ebp + 0xc]
push edi
push eax
call fcn.004268b0
add esp, 0xc
mov al, 1
mov byte [esi + 4], al
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00427650
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], esi
nop
nop
nop
nop
mov esi, edx
lea edx, [edx + 0x10]
mov ecx, ebx
call fcn.00423bc0
mov ecx, eax
xor cl, 1
movzx ecx, cl
mov edx, dword [esi + ecx*8]
cmp byte [edx + 0xd], 0
je 0x426ab0
test al, al
mov dword [ebp - 0x14], esi
je 0x426b30
mov ecx, dword [ebp - 0x1c]
mov edi, esi
mov esi, dword [ebp - 0x18]
mov eax, dword [ecx]
cmp edi, dword [eax]
jne 0x426a50
mov edx, esi
push dword [ebp + 0xc]
push edi
push 1
jmp 0x426a85
mov edi, dword [ebp + 0xc]
lea ecx, [edi + 0x18]
call fcn.00421710
mov eax, dword [edi + 0x10]
test eax, eax
je 0x426b17
mov ecx, dword [edi + 0x14]
and ecx, 3
cmp ecx, 1
jne 0x426b17
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
push 0x30
push edi
call fcn.00426ce1
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword [eax], esi
mov esi, eax
xor eax, eax
jmp 0x426a8f
mov dword [ebp - 0x20], 0
mov edi, esi
jmp 0x426a66
Function at 0x4c8cb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8f000]
push edi
jmp 0x4c8cca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4c8cd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c8cc0
mov eax, 1
add ebx, ebx
jne 0x4c8ce3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4c8cf4
jne 0x4c8d13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c8d13
dec eax
add ebx, ebx
jne 0x4c8d00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4c8cd8
add ebx, ebx
jne 0x4c8d0f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4c8d65
xor ecx, ecx
sub eax, 3
jb 0x4c8d2b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4c8d9a
sar eax, 1
mov ebp, eax
jmp 0x4c8d36
add ebx, ebx
jne 0x4c8d36
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c8d04
inc ecx
add ebx, ebx
jne 0x4c8d44
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c8d04
add ebx, ebx
jne 0x4c8d51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4c8d46
jne 0x4c8d62
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4c8d46
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4c8d84
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4c8d76
jmp 0x4c8cc6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4c8d84
add edi, ecx
jmp 0x4c8cc6
pop esi
mov edi, esi
mov ecx, 0x4afb
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4c8da2
cmp byte [edi], 0xe
jne 0x4c8da2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4c8da7
lea edi, [esi + 0xc5000]
mov eax, dword [edi]
or eax, eax
je 0x4c8e1f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xcb758]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xcb888]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4c8dd4
mov ecx, edi
jns 0x4c8e03
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xcb890]
or eax, eax
je 0x4c8e19
mov dword [ebx], eax
add ebx, 4
jmp 0x4c8df1
call dword [esi + 0xcb88c]
mov ebp, dword [esi + 0xcb894]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4c8e53
sub esp, 0xffffff80
jmp 0x46a006
Function at 0x432006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x36782acd
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x10587b14
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x10001000
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2010
call fcn.1000dcb0
mov eax, dword [0x10015004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 0
push 0
push 0
push 0x10013a08
mov dword [ebp - 0x200c], edx
mov esi, ecx
mov dword [ebp - 0x2008], 1
call dword [0x1000f120]
mov dword [ebp - 0x2010], eax
test eax, eax
je 0x100010e7
push ebx
push edi
push 0
push 0x4000000
push 0
push 0
push esi
push eax
call dword [0x1000f124]
mov ebx, dword [0x1000f11c]
mov edi, eax
test edi, edi
je 0x100010dd
push 0x10013a14
push dword [ebp - 0x200c]
call fcn.100034ab
mov esi, eax
add esp, 8
test esi, esi
je 0x100010da
cmp dword [ebp - 0x2008], 0
jbe 0x100010d1
mov ebx, dword [0x1000f118]
lea eax, [ebp - 0x2008]
push eax
push 0x1fff
lea eax, [ebp - 0x2004]
push eax
push edi
call ebx
push esi
push dword [ebp - 0x2008]
lea eax, [ebp - 0x2004]
push 1
push eax
call fcn.100037dc
add esp, 0x10
cmp dword [ebp - 0x2008], 0
ja 0x10001094
mov ebx, dword [0x1000f11c]
push esi
call fcn.10003539
add esp, 4
push edi
call ebx
push dword [ebp - 0x2010]
call ebx
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100011ac
mov esp, ebp
pop ebp
ret
Function at 0x412f30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x412f5d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x412f5d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x49cb70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a000]
push edi
jmp 0x49cb8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x49cb91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49cb80
mov eax, 1
add ebx, ebx
jne 0x49cba3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x49cb98
jne 0x49cbb4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x49cb98
xor ecx, ecx
sub eax, 3
jb 0x49cbc8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x49cc3a
mov ebp, eax
add ebx, ebx
jne 0x49cbd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x49cbe0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x49cc04
inc ecx
add ebx, ebx
jne 0x49cbf0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x49cbe5
jne 0x49cc01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x49cbe5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x49cc24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x49cc15
jmp 0x49cb86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x49cc24
add edi, ecx
jmp 0x49cb86
pop esi
lea edi, [esi + 0x9a000]
mov eax, dword [edi]
or eax, eax
je 0x49cc83
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9c000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9c050]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x49cc41
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9c058]
or eax, eax
je 0x49cc7d
mov dword [ebx], eax
add ebx, 4
jmp 0x49cc5e
call dword [esi + 0x9c054]
mov ebp, dword [esi + 0x9c05c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x49ccb7
sub esp, 0xffffff80
jmp section.UPX0

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x404548
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.0040682c
test esi, esi
jne 0x404580
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00406968
jmp 0x40459e
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040448c
mov edi, eax
test esi, esi
je 0x40459e
cmp dword [ebx], 0
je 0x40459e
dec esi
jmp 0x404587
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x405df0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4ab050], 0
je 0x405e51
cmp word [0x4ab32c], 0xd7b2
jne 0x405e19
cmp dword [0x4ab334], 0
jbe 0x405e19
mov eax, 0x4ab328
call dword [0x4ab344]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x405e7c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4a8030], 0
jne 0x405e6d
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x405fdc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x4a8034], 0
je 0x406002
mov edx, esi
mov eax, ebx
call dword [0x4a8034]
jmp 0x406011
mov eax, 8
call fcn.004041d4
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4ab051], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x405fa4
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x4085c8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40872f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0040682c
cmp si, word [0x4a87d0]
jb 0x408662
cmp si, word [0x4a89d0]
ja 0x408662
mov edi, 0x40
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0xc]
jb 0x408662
mov ebx, dword [ebp - 0xc]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x4a87d0]
jae 0x40863c
mov edi, ebx
dec edi
jmp 0x40865d
cmp si, word [ebx*8 + 0x4a87d0]
jbe 0x40864c
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x40865d
mov edx, dword [ebp - 8]
mov eax, dword [ebx*8 + 0x4a87d4]
call fcn.004084d8
jmp 0x408662
cmp edi, dword [ebp - 0xc]
jae 0x408626
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x408711
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408711
push 0x55
lea eax, [ebp - 0xb6]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x160]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x164]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.00406a14
push dword [ebp - 0x164]
push 0x40874c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x160]
mov ecx, 0x55
call fcn.00406a14
push dword [ebp - 0x168]
push 0x40875c
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.00406a14
push dword [ebp - 0x16c]
mov eax, dword [ebp - 8]
mov edx, 5
call fcn.00406dcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408736
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.00406824
ret