joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

Function at 0x401000
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
jmp 0x403a1c
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405220], eax
mov dword [0x4051a8], 0x403098
mov dword [0x4051a4], 2
jmp 0x403a4c
mov dword [0x4051ac], 0
mov dword [0x4051b0], 0
mov dword [0x4051a0], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051b4], eax
mov dword [0x4051c8], 0x40426e
mov dword [0x4051c0], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051b8], eax
mov dword [0x4051cc], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051bc], eax
push 0x4051a0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.justam
push 0x40426e
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405218], eax
push 5
push dword [0x405218]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405218]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x403b1f
push 0
push 0
push 0
push 0x4051d0
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x403b4c
push 0x4051d0
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x4051d0
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x403b1f
mov eax, dword [0x4051d8]
jmp 0x403b59
call 0x402be1
ret
Function at 0x406784
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00409424
test esi, esi
jne 0x4067ba
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.004095ac
jmp 0x4067d8
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004066c8
mov edi, eax
test esi, esi
je 0x4067d8
cmp dword [ebx], 0
je 0x4067d8
dec esi
jmp 0x4067c1
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x408480
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00408710
mov byte [esp], al
cmp byte [esp], 0
jne 0x408600
test edi, edi
je 0x408600
mov byte [esp + 1], 0
test ebp, ebp
jle 0x408540
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x40851b
cmp edi, 0xffffffff
je 0x4084df
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4084df
mov byte [esp], 0
jmp 0x408600
mov ebx, dword [esi]
cmp ebx, 1
jg 0x40851b
test ebx, ebx
jne 0x408511
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x408511
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x408600
call 0x408750
dec ebp
test ebp, ebp
jg 0x4084c4
cmp edi, 0xffffffff
je 0x408540
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x40853e
mov byte [esp], 0
jmp 0x408600
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x40848e
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x408540
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.0040866c
mov edx, eax
mov ebx, dword [0x4d98f8]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x4085a4
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x4085a2
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x4085a4
xor edi, edi
cmp byte [esp], 0
je 0x4085ca
mov ebx, dword [esi]
test bl, 1
jne 0x4085e0
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4085aa
mov byte [esp + 1], 1
jmp 0x4085e0
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4085ca
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x408557
cmp byte [esp], 0
je 0x408600
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40918c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4d9058], 0
je 0x4091f3
cmp word [0x4d9344], 0xd7b2
jne 0x4091b5
cmp dword [0x4d934c], 0
jbe 0x4091b5
mov eax, 0x4d9340
call dword [0x4d935c]
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
mov eax, 0x409220
call fcn.00409c58
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4d502e], 0
jne 0x40920f
push 0
push 0x4d59da
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40b98c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40baf1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409424
cmp si, word [0x4d5a18]
jb 0x40ba24
cmp si, word [0x4d5c18]
ja 0x40ba24
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40ba24
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x4d5a18]
jae 0x40b9fe
mov edi, ebx
dec edi
jmp 0x40ba1f
cmp si, word [ebx*8 + 0x4d5a18]
jbe 0x40ba0e
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40ba1f
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4d5a1c]
call fcn.0040b8ac
jmp 0x40ba24
cmp edi, dword [ebp - 8]
jae 0x40b9e8
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40bad3
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40bad3
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00409ffc
push dword [ebp - 0x160]
push 0x40bb0c
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00409ffc
push dword [ebp - 0x164]
push 0x40bb1c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00409ffc
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040a234
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40baf8
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00409484
ret
Function at 0x40bca4
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40bda7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4dbb88
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4dbba0]
jne 0x40bcf0
mov eax, esi
mov edx, 0x4dbba2
mov ecx, 0x55
call fcn.00409ffc
push 0x4dbb88
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40bd91
push 0x4dbb88
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00409424
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40bd5f
cmp byte [0x4dbb84], 0
je 0x40bd24
mov edx, esi
mov eax, ebx
call fcn.0040bb88
jmp 0x40bd5f
mov edx, esi
mov eax, ebx
call fcn.0040b98c
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40bd5f
cmp dword [esi], 0
je 0x40bd48
mov eax, esi
mov edx, 0x40bdc0
call fcn.0040a154
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040b98c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040a154
push 0x4dbb88
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4dbba0], bx
push 0xaa
mov eax, dword [esi]
call fcn.00409f58
push eax
push 0x4dbba2
call sub.kernel32.dll_lstrcpynW
push 0x4dbb88
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40bdae
lea eax, [ebp - 4]
call fcn.00409424
ret
Function at 0x40bfdc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409508
xor eax, eax
push ebp
push 0x40c201
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40c01c
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40c036
push 0x105
mov eax, dword [ebp - 4]
call fcn.00409f58
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x40c1eb
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40c210
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c105
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40c210
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c105
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40c24c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c105
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40c24c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c105
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40c280
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40c105
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40c2b4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40c1eb
xor eax, eax
push ebp
push 0x40c1e4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040bde8
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40c174
mov eax, dword [ebp - 0x10]
call fcn.00406424
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00409fc0
jmp 0x40c1bf
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40c2f4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40c1bf
mov eax, dword [ebp - 0x10]
call fcn.00406424
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40c2f4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00409fc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c1eb
cmp dword [ebp - 8], 0
je 0x40c1da
mov eax, dword [ebp - 8]
call fcn.00406440
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c208
lea eax, [ebp - 4]
call fcn.00409424
ret
Function at 0x40c4f0
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00409508
xor eax, eax
push ebp
push 0x40c5b0
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00409ffc
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a1ac
mov eax, dword [ebx]
call fcn.0040c3b8
test al, al
jne 0x40c58d
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00409ffc
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a1ac
mov eax, dword [ebx]
call fcn.0040c3b8
test al, al
jne 0x40c58d
mov eax, ebx
call fcn.00409424
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c5b7
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00409484
lea eax, [ebp - 4]
call fcn.00409424
ret

Function at 0x40ce98
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x41de2c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41de85
test eax, edx
je 0x41de88
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x41de43
movzx eax, word [eax]
sub eax, ecx
jmp 0x41de6a
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x41de6b
add ecx, 4
js 0x41de5b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41de68
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41de6a
xor eax, eax
ret
test eax, eax
je 0x41de94
test edx, edx
jne 0x41de34
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41ed0c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.kernel32.dll_ReadFile_1
test eax, eax
jne 0x41ed39
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x422810
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x422849
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.004095ac
jmp 0x422852
mov eax, ebx
mov edx, esi
call fcn.00409804
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42285c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x42287e
movzx eax, word [esp]
jmp 0x422880
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x423568
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x42368d
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00423370
mov esi, eax
mov eax, dword [0x4d899c]
cmp byte [eax], 0
je 0x423635
mov eax, dword [0x4d8810]
call fcn.004071ac
call fcn.00406578
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x423538]
call fcn.0040b2fc
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x4236a8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x423671
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4d87d4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4dbc50]
call fcn.0040b4e0
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423694
lea eax, [ebp - 4]
mov edx, dword [0x423538]
call fcn.0040b420
ret

Function at 0x424d80
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00409900
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040ce78
mov edi, eax
cmp edi, 0x104
jbe 0x424d27
mov eax, edi
add eax, eax
call fcn.00406424
mov esi, eax
jmp 0x424d29
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040ce78
mov eax, esi
push eax
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x424d64
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x424d4e
mov eax, esp
cmp esi, eax
je 0x424d71
mov eax, esi
call fcn.00406440
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x424dac
cmp bl, 0
je 0x424da8
cmp bl, 0x41
jl 0x424da3
cmp bl, 0x5a
jg 0x424da3
or bl, 0x20
xor al, bl
inc esi
jmp 0x424d87
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x424ce8
Function at 0x425608
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.00409ffc
add esp, 0x800
pop ebx
ret

Function at 0x433d04
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x433d56
test eax, edx
je 0x433d59
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x433d19
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x433d3f
add ecx, 4
js 0x433d2f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x433d3c
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x433d65
test edx, edx
jne 0x433d0c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x4d03c8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, eax
mov esi, 0x40
push esi
push 0x1000
mov eax, ebx
call fcn.0040b0e0
push eax
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4d0409
mov ecx, 0x4d0468
mov dl, 1
mov eax, dword [0x4188ac]
call fcn.004236b8
call fcn.00408bec
xor edx, edx
push ebp
push 0x4d044d
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, ebx
call fcn.0040b0e0
mov ecx, eax
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004065c8
mov eax, dword [ebp - 4]
call eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d0454
push 0x8000
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualFree_1
ret
Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push 0x5040d1
push 0x504088
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.USER32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.USER32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret

Function at 0x408c00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x407e18], 0x1d9232
je 0x408d60
jmp 0x408c1c
xor ebx, 0xfa25ed61
xor edx, 0xfb9bde2a
xor edx, 0xfa599e2c
mov ebx, 0xfe935905
mov ebx, 0xf7b9a947
call fcn.00408c93
mov ebx, 0xfc113b91
mov ebx, 0xf80f43f0
mov edx, 0xfbd25e81
xor edx, 0xfef1835a
cmp eax, 0x18334ada
jne 0x402273
jmp 0x408cc3
mov edx, 0xfb014e29
mov dword [0x407e18], 0x1d9232
mov ebx, 0xfebd7897
jmp 0x408cdc
call fcn.00408d2e
jmp 0x408d60
invalid
mov edx, 0xfb729060
pushal
nop
jb 0x408d5b
xor dword [edi + 0x47], esi
jns 0x408d0e
and dword [eax + 0x71], ebx
mov dh, 0x26
adc esi, dword [edi]
pushfd
push 0x1c
push ecx
xchg edi, eax
push 0x56
pushal
stosb byte es:[edi], al
pop esp
push 0xffffffffffffffbf
cmp byte [0x132fa27d], bl
aaa
mov cs, word [edx + 0x56]
pushal
stosb byte es:[edi], al
pop esp
push 0xffffffffffffffbf
cmp byte [0x332fa27d], bl
dec eax
test al, 0x25
push esp
push 0xffffffffffffffbb
daa
adc edx, dword [ebp - 0x45]
and al, 0x52
jg 0x408d5c
cmp byte [ebx], dh
xchg ecx, eax
scasd eax, dword es:[edi]
mov dh, 0xf4
sbb eax, 0x187363fa
fimul dword [edx + 0x33]
sbb byte [ebx + 0x27], dl
retf