joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c5642
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4cc5b8
cmp edx, dword [eax]
je 0x4c5664
add eax, 8
inc ecx
cmp eax, 0x4cc648
jl 0x4c5655
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4cc5b8]
jne 0x4c5792
mov eax, dword [0x4d0cc0]
cmp eax, 1
je 0x4c576c
test eax, eax
jne 0x4c5695
cmp dword [0x4cc4fc], 1
je 0x4c576c
cmp edx, 0xfc
je 0x4c5792
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c56cc
lea eax, [ebp - 0x1a4]
push 0x4c997c
push eax
call fcn.004c5d60
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c5f90
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c570f
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c5f90
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c9978
push edi
call fcn.004c7760
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c995c
push eax
call fcn.004c5d60
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c5d70
lea eax, [ebp - 0xa0]
push 0x4c9958
push eax
call fcn.004c5d70
push dword [esi + 0x4cc5bc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c5d70
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c9930
push eax
call fcn.004c76d4
add esp, 0x2c
pop edi
jmp 0x4c5792
lea eax, [ebp + 8]
lea esi, [esi + 0x4cc5bc]
push 0
push eax
push dword [esi]
call fcn.004c5f90
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x44a3c0
Capabilities:
Accept command line arguments
Check os version

Disassembly:
push ecx
push ebx
push esi
push edi
push 0x4cf880
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov word [0x4cfb6c], 0x7f
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov esi, eax
and esi, 0xff
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
call fcn.0044a380
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp esi, 6
mov ebx, eax
setae cl
cmp esi, 6
mov byte [0x4cfb39], cl
jb 0x44a47a
mov edx, dword [0x4cc048]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetThreadPreferredUILanguages
push eax
call edi
test ebx, ebx
mov dword [0x4cf8a0], eax
je 0x44a449
mov eax, dword [0x4cfa2c]
push 0x4cf70c
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov ecx, dword [0x4cc048]
push ecx
call esi
push str.SetThreadPreferredUILanguages
push eax
call edi
mov edx, dword [0x4cc048]
mov dword [0x4cf89c], eax
push edx
call esi
push str.GetThreadUILanguage
push eax
call edi
pop edi
pop esi
mov dword [0x4cf898], eax
pop ebx
pop ecx
ret
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x453aaf
Capabilities:
Encode data using xor

Disassembly:
and cl, byte [edx]
dec edi
call 0x301a47b2
pop eax
enter 0x793e, 0xffffffffffffffb8
inc esi
inc edi
fdivr dword [eax + 0x58889f9c]
das
lahf
stc
mov esp, 0x867c5a08
pop ecx
xchg al, bh

Function at 0x4c5642
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4cc5b8
cmp edx, dword [eax]
je 0x4c5664
add eax, 8
inc ecx
cmp eax, 0x4cc648
jl 0x4c5655
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4cc5b8]
jne 0x4c5792
mov eax, dword [0x4d0cc0]
cmp eax, 1
je 0x4c576c
test eax, eax
jne 0x4c5695
cmp dword [0x4cc4fc], 1
je 0x4c576c
cmp edx, 0xfc
je 0x4c5792
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c56cc
lea eax, [ebp - 0x1a4]
push 0x4c997c
push eax
call fcn.004c5d60
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c5f90
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c570f
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c5f90
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c9978
push edi
call fcn.004c7760
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c995c
push eax
call fcn.004c5d60
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c5d70
lea eax, [ebp - 0xa0]
push 0x4c9958
push eax
call fcn.004c5d70
push dword [esi + 0x4cc5bc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c5d70
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c9930
push eax
call fcn.004c76d4
add esp, 0x2c
pop edi
jmp 0x4c5792
lea eax, [ebp + 8]
lea esi, [esi + 0x4cc5bc]
push 0
push eax
push dword [esi]
call fcn.004c5f90
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x407db7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x407dc6
pop dword [ebp - 0x28]
mov eax, 0x407dc6
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x6b7caffa
add dword [ebp - 0x38], 0xe2d59551
mov dword [ebp - 0x34], 0xbad3ecf8
sub dword [ebp - 0x34], 0x88a0a0b3
mov dword [ebp - 0x30], 0x81c76767
sub dword [ebp - 0x30], 0x357b2339
mov dword [ebp - 0x2c], 0x3a27db2f
add dword [ebp - 0x2c], 0xc5d824d1
lea eax, [ebp - 0x38]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xbefec637
sub dword [ebp - 0x38], 0x4a8c5ce1
mov dword [ebp - 0x34], 0x3cd4b132
sub dword [ebp - 0x34], 0xfb684fbd
mov dword [ebp - 0x30], 0x98d19c1f
add dword [ebp - 0x30], 0xca9dd04d
mov dword [ebp - 0x2c], 0xd49a57a0
sub dword [ebp - 0x2c], 0xd49a57a0
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3e109
push 0
call eax
mov ecx, 0x55b16df3
sub ecx, 0x55b1137f
xor edi, edi
add edi, eax
mov esi, 0xd9fc9c72
sub esi, 0xd9baec72
add esi, dword [ebp - 0x28]
mov ebx, 0xe75f6d89
add ebx, 0x81a8bc1b
xor dword [ebp - 0x14], 0xfcb143a1
mov edx, dword [esi]
mov dword [ebp - 0x18], 0x348173ff
add edx, ebx
xor dword [ebp - 4], 0xae5e1d75
mov dword [edi], edx
add dword [ebp - 0x1c], ebx
add edi, 0xc0320a45
sub edi, 0xc0320a41
add esi, 4
loop 0x407edb
add eax, 0x18e8db94
add eax, 0xe718810f
mov ebx, eax
add eax, 0xf668744
sub eax, 0xf66873f
mov ecx, 0x923dc045
sub ecx, 0x91fdc045
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x43cf78
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov edx, 0x43ccda
call fcn.0043cfa7
and ebx, ebx
xor dword [eax], edx
inc ebx
mov ebx, 0xad09e43e
add eax, 1
sub edi, 1
or edi, edi
cmp eax, esi
jne fcn.0043cf78
ret

Function at 0x431002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x431072
nop
nop
nop
mov ebx, 0x40915c
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x12693b3f
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x431060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4310d2
nop
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x7b0f3846
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4310c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0x5d8ab4
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x5d87dc
add esi, 0xd3baa4e1
call fcn.005d8af9
mov ebx, 0xda621811
mov ebx, 0xcbb6a1bf
xor dword [eax], edx
sub ebx, 0xc390fc3a
mov ebx, ebx
sub ebx, 0xb8ad62f4
add eax, 2
mov ebx, ebx
cmp eax, edi
jl fcn.005d8ab4
sub ebx, esi
or ebx, esi
ret
Function at 0x4033e0
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.00405848
test esi, esi
jne 0x403418
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.00405984
jmp 0x403436
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403324
mov edi, eax
test esi, esi
je 0x403436
cmp dword [ebx], 0
je 0x403436
dec esi
jmp 0x40341f
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x403af8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4d0020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403b90
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x403b70
xor eax, eax
push ebp
push 0x403b69
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403bc8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403b70
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x4d0020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4d0020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404ca0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4d8054], 0
je 0x404d01
cmp word [0x4d8330], 0xd7b2
jne 0x404cc9
cmp dword [0x4d8338], 0
jbe 0x404cc9
mov eax, 0x4d832c
call dword [0x4d8348]
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 0x404d2c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4d002c], 0
jne 0x404d1d
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404ea0
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 [0x4d0030], 0
je 0x404ec6
mov edx, esi
mov eax, ebx
call dword [0x4d0030]
jmp 0x404ed5
mov eax, 8
call fcn.0040306c
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4d8055], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404e68
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 0x407b5c
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 0x409780
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x4dab30
push 0xa
push 0x409814
mov eax, dword [0x4dab20]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x4097a4
call fcn.00412ebc
push ebx
mov eax, dword [0x4dab20]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x4097bb
call fcn.00412ebc
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x4097cd
call fcn.00412ebc
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x4dab34], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x4dab38], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x4dab3c], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x4dab40], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x4dab44], ecx
add edx, dword [eax + 0x14]
mov dword [0x4dab48], edx
pop esi
pop ebx
ret

Function at 0x40afc4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40b06d
test eax, edx
je 0x40b070
push 0
push 0
cmp word [eax - 0xa], 2
je 0x40afed
push edx
mov edx, eax
mov eax, esp
call fcn.00405a64
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x40b003
push eax
lea eax, [esp + 8]
call fcn.00405a64
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x40b012
movzx eax, word [eax]
sub eax, ecx
jmp 0x40b039
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 0x40b053
add ecx, 4
js 0x40b02a
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x40b050
push eax
mov eax, ecx
mov edx, 2
call fcn.00404f40
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x40b037
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x40b039
xor eax, eax
ret
test eax, eax
je 0x40b080
test edx, edx
jne 0x40afd4
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40c1c8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.004058d4
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x40c1e6
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x40c207
cmp ebx, 3
je 0x40c207
cmp ebx, 0x7b
je 0x40c207
mov eax, esi
call fcn.0040c188
test al, al
jne 0x40c20b
xor eax, eax
jmp 0x40c20d
mov al, 1
pop esi
pop ebx
ret

Function at 0x40c210
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004058d4
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x40c229
test al, 0x10
jne 0x40c22d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x410674
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 0x4106ad
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00405984
jmp 0x4106b6
mov eax, ebx
mov edx, esi
call fcn.00405848
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4106c0
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 0x4106e2
movzx eax, word [esp]
jmp 0x4106e4
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x410e48
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffff004
push eax
add esp, 0xffffff7c
push 0x800
lea ecx, [esp + 0x88]
call fcn.00410c80
mov eax, dword [0x4d6f9c]
cmp byte [eax], 0
je 0x410eda
mov eax, dword [0x4d6b58]
call fcn.00403520
call fcn.004031d4
lea eax, [esp + 0x884]
push eax
lea eax, [esp + 0x88]
push eax
call sub.user32.dll_CharToOemW
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x88c]
call fcn.0040c58c
push eax
lea eax, [esp + 0x890]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x410f28
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x410f13
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4d6ab0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4dab20]
call fcn.00406e88
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x8c]
push eax
push 0
call sub.user32.dll_MessageBoxW
add esp, 0x1084
ret
Function at 0x411b68
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x411c3e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040589c
lea eax, [ebp - 4]
call fcn.00406160
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004058d4
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x411c28
mov eax, ebx
call fcn.0040306c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x411c21
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004058d4
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x411c0b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x411c50
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x411c0b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x411c28
mov eax, dword [ebp - 0x10]
call fcn.00403088
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x411c45
lea eax, [ebp - 4]
call fcn.00405838
ret

Function at 0x412d64
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.00405240
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x104
jbe 0x412d0e
mov eax, edi
add eax, eax
call fcn.0040306c
mov esi, eax
jmp 0x412d10
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x412d49
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 0x412d33
mov eax, esp
cmp esi, eax
je 0x412d56
mov eax, esi
call fcn.00403088
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 0x412d90
cmp bl, 0
je 0x412d8c
cmp bl, 0x41
jl 0x412d87
cmp bl, 0x5a
jg 0x412d87
or bl, 0x20
xor al, bl
inc esi
jmp 0x412d6b
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x412cd0

Function at 0x427a2c
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00427730
dec esi
jne 0x427a4e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x428bf8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4dce64
cmp dword [edi], 0
jne 0x428c74
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4dce60]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4d0cd8
mov ecx, 2
call fcn.00403224
mov edx, 0x428bd0
lea eax, [esi + 5]
call fcn.00428bf0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00428bf0
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x428c49
mov dword [0x4dce60], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42cd18
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004058d4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
je 0x42cd70
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4d71e0]
mov dl, 1
mov eax, dword [0x42c7a0]
call fcn.00411054
call fcn.00404724
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042c928
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42e0b8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42e0be
ret
Function at 0x43b01c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x43b04b
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x43b0ca
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004398ec
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x43b098
mov cx, word [esp]
sub cx, si
jmp 0x43b09a
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x43b081
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x43b0c0
mov cx, word [esp]
sub cx, si
jmp 0x43b0c2
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x43b0a9
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x43b127
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.0043acf0
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x43b112
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x43b127
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x43b026
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x446154
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
movzx ebx, byte [0x446190]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44616b
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44617a
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x446189
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x448668
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00405848
push 0
mov eax, esi
movzx eax, al
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x4486af
push pe_nt_image_headers32
lea edx, [esp + 4]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00405a48
add esp, 0x200
pop esi
pop ebx
ret