joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f2f7
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x46a264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0xc], 0
push edi
mov edi, ecx
mov dword [ebp - 8], 7
xor ecx, ecx
mov word [ebp - 0x1c], cx
lea ecx, [ebp - 0x1c]
push ecx
push str._t_n_v_f_r
push eax
call fcn.0041f556
add esp, 0xc
cmp dword [ebp - 0xc], 0
je 0x41f36a
and dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
push esi
cmovae eax, dword [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
je 0x41f369
push esi
push dword [ebp - 0x20]
mov ecx, edi
call fcn.0041f131
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop esi
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.00401e60
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0042d2b3
mov esp, ebp
pop ebp
ret 4
Function at 0x4204e7
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x46a264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x208
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004305d0
add esp, 0xc
test edi, edi
jne 0x420541
push 0x104
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x420541
xor al, al
jmp 0x42068c
push esi
test edi, edi
lea esi, [ebp - 0x20c]
push ebx
cmovne esi, edi
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jne 0x420561
xor al, al
jmp 0x42068b
push edi
lea ecx, [ebp - 0x240]
call fcn.004036a0
push dword [ebp - 0x240]
push edi
push ebx
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42067e
lea eax, [ebp - 0x230]
mov dword [ebp - 0x22c], ebx
push eax
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x230], ebx
push eax
push 0x464b30
push dword [ebp - 0x240]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42067e
cmp dword [ebp - 0x230], 0x34
jb 0x42067e
xor eax, eax
mov dword [ebp - 0x214], 7
push str.Module:
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x218], ebx
mov word [ebp - 0x228], ax
mov byte [ebp - 0x210], bl
call fcn.00412aa6
push esi
mov edi, eax
call fcn.004011e0
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00403700
mov ecx, dword [ebp - 0x22c]
push str._Version:
mov esi, dword [ecx + 0x10]
mov ecx, edi
call fcn.00412aa6
push esi
mov ecx, eax
call fcn.004138bc
mov ecx, dword [ebp - 0x22c]
push 0x2e
mov esi, dword [ecx + 0x14]
mov ecx, eax
call fcn.00412a4c
push esi
mov ecx, eax
call fcn.004138bc
lea eax, [ebp - 0x228]
push eax
push eax
push 0x1a7
push str.lite_installer::GetFileVersion
push ebx
call fcn.00424aa4
add esp, 0x14
lea ecx, [ebp - 0x228]
push ebx
xor ebx, ebx
inc ebx
push ebx
call fcn.00401e60
mov eax, dword [ebp - 0x22c]
xor edx, edx
mov ecx, dword [eax + 0x10]
or edx, dword [eax + 0x14]
mov eax, dword [ebp - 0x234]
mov dword [eax], edx
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x240]
call fcn.00403810
mov al, bl
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0042d2b3
mov esp, ebp
pop ebp
ret
Function at 0x421f64
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [0x46b604]
push edi
push 0xa
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x421fec
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x421fc5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push 2
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x421fc5
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x421fc9
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x421feb
push edi
push ebx
push eax
call fcn.00430020
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 4]
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x423871
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x46a264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x410], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40c], eax
xor eax, eax
push 0x60
push eax
push esi
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x408], eax
call ebx
mov edi, eax
test edi, edi
jne 0x4238da
push 2
push eax
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x4238da
call fcn.00422cf9
mov esi, eax
jmp 0x42397b
push dword [ebp - 0x40c]
push dword [ebp - 0x410]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4238fa
call fcn.00422cf9
jmp 0x42396e
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4238f3
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x423920
mov esi, 0x8007000e
jmp 0x423970
push eax
lea ecx, [ebp - 0x408]
call fcn.00422b1b
cmp dword [ebp - 0x408], 0
je 0x423919
push esi
push dword [ebp - 0x408]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x4238f3
mov eax, dword [ebp - 0x408]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x418]
push dword [ebp - 0x408]
call fcn.00423736
mov esi, eax
test edi, edi
je 0x42397b
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x423994
lea ecx, [ebp - 0x408]
call fcn.00422fbf
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d2b3
mov esp, ebp
pop ebp
ret 0x10
Function at 0x423ff3
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
test edx, edx
jne 0x424006
push 0xd
pop eax
jmp 0x42404a
push esi
xor eax, eax
push edi
mov dword [ebp + 0xc], eax
mov esi, eax
mov edi, edx
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 4], eax
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp + 0xc]
jne 0x424019
sub ecx, dword [ebp - 4]
sar ecx, 1
inc ecx
lea edi, [edi + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x424011
push esi
push edx
push 7
xor eax, eax
push eax
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x424051
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x424063
push 0xd
pop eax
jmp 0x424095
mov ecx, edx
push ebx
push edi
xor ebx, ebx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x42406c
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc
Function at 0x425195
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0042d2d0
mov eax, dword [0x46a264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x100c]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push edx
lea edx, [ebp - 0x804]
mov dword [ebp - 0x100c], 0x800
push edx
lea edx, [ebp - 0x1008]
inc ebx
push edx
push 0
push eax
push dword [ecx]
mov dword [ebp - 0x1008], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x425267
cmp dword [ebp - 0x1008], ebx
jne 0x425214
lea eax, [ebp - 0x804]
push eax
call fcn.004011e0
pop ecx
push eax
lea eax, [ebp - 0x804]
push eax
mov ecx, edi
call fcn.00405e00
jmp 0x425267
cmp dword [ebp - 0x1008], 2
jne 0x425262
mov ebx, 0x400
lea eax, [ebp - 0x1004]
push ebx
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x100c], eax
test eax, eax
je 0x42525b
cmp eax, ebx
ja 0x42525b
lea eax, [ebp - 0x1004]
push eax
call fcn.004011e0
pop ecx
push eax
lea eax, [ebp - 0x1004]
jmp 0x42520a
mov esi, 0xea
jmp 0x425267
mov esi, 0x3f4
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d2b3
mov esp, ebp
pop ebp
ret 8

Function at 0x42527c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, di
jne 0x425289
sub edx, esi
sar edx, 1
lea eax, [edx*2 + 2]
push eax
push dword [ebp + 0xc]
push 1
push edi
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 8

Function at 0x425396
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4253c1
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0x4253c1
mov ecx, dword [ecx + eax + 0x98]
test ecx, ecx
je 0x4253c1
add eax, ecx
jmp 0x4253c3
xor eax, eax
pop ebp
ret 4
Function at 0x42544a
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
mov esi, ecx
call fcn.00425305
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x4254dd
push edi
push edi
push edi
push 2
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 8], eax
test eax, eax
je 0x4254d6
push edi
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, eax
mov dword [esi + 0xc], edx
test edx, edx
je 0x4254cd
push 6
pop ecx
mov dword [ebp - 0x1c], edi
xor eax, eax
lea edi, [ebp - 0x18]
rep stosd dword es:[edi], eax
push 0x1c
lea ecx, [ebp - 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4254cd
mov ecx, dword [ebp - 0x10]
mov al, 1
mov dword [esi + 0x10], ecx
jmp 0x4254df
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.00425305
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x429836
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x1505
jmp 0x429849
imul eax, eax, 0x21
add eax, edx
inc ecx
movsx edx, byte [ecx]
test edx, edx
jne 0x429843
pop ebp
ret

Function at 0x42a3aa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push dword [ebp + 0x10]
xor eax, eax
push dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
push dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x42a3e7
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0040de00
lea ecx, [ebp - 0xc]
call fcn.0040de50
jmp 0x42a43e
push edi
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x42a429
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42a429
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x42a429
push edi
lea ecx, [ebp - 0xc]
call fcn.0042a914
push edi
push esi
push dword [ebp - 0xc]
call fcn.00430020
add esp, 0xc
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0040de00
lea ecx, [ebp - 0xc]
call fcn.0040de50
pop edi
mov eax, dword [ebp + 8]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42b535
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x46a264]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [ecx + 4]
push esi
xor ebx, ebx
push ebx
push ebx
push 0x8004
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x42b5b7
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x20], ax
mov byte [ebp - 8], bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Failed_to_initialize_hash_object__error:
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.00412aa6
push esi
mov ecx, eax
call fcn.004138bc
lea eax, [ebp - 0x20]
push eax
push eax
push 0x35
push str.SignatureVerifier::HashData
push 1
call fcn.00424aa4
add esp, 0x14
lea ecx, [ebp - 0x20]
push ebx
push 1
call fcn.00401e60
xor al, al
jmp 0x42b601
push ebx
push dword [ebp + 0xc]
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x42b5ff
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x20], ax
mov byte [ebp - 8], bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Failed_to_hash_data__error:
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.00412aa6
push esi
mov ecx, eax
call fcn.004138bc
lea eax, [ebp - 0x20]
push eax
push eax
push 0x3a
jmp 0x42b599
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d2b3
mov esp, ebp
pop ebp
ret 8

Function at 0x4480b4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00447f33

Function at 0x44ae44
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044ab04

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

Disassembly:
pushal
nop
nop
mov eax, section..rsrc
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x13076744
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
mov eax, str._71
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4320d2
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x37dc0f2d
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x100b4b58
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test eax, eax
pushal
mov byte [esp], ch
lea esp, [esp + 0x24]
je 0x100a9e9b
push 0xeeb38e4d
pop esi
mov esi, dword [eax + 0x3c]
neg dl
add dh, al
rol dx, cl
add esi, eax
shrd dx, bp, 6
btc dx, dx
test cl, 0x10
mov edx, dword [esi + 0x78]
stc
bt ebx, edi
test edx, edx
call fcn.100a49d2
Function at 0x40aab0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46c11b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00460f34
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40ab32
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045e724
mov eax, dword [eax]
push 0x4831c4
push eax
call fcn.00451494
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004611bf
test bl, bl
je 0x40ab32
push 0x4831c4
lea ecx, [esp + 0xc]
call fcn.0046154f
push 0x486d20
lea ecx, [esp + 0xc]
call fcn.0046154f
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40ab6e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004611bf
jmp 0x40ac39
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40abf2
lea edx, [esp + 0x7c]
push 0x486d1c
push edx
call fcn.00451494
add esp, 8
test eax, eax
je 0x40abf2
lea eax, [esp + 0x7c]
push 0x486d18
push eax
call fcn.00451494
add esp, 8
test eax, eax
je 0x40abf2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40ab82
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004611bf
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40b430
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40b492
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x40b4a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46c19b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x48d1e4]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40b5d8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40b506
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004611bf
xor eax, eax
jmp 0x40b64f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004612fc
push esi
lea ecx, [esp + 0xc]
call fcn.0046158b
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40b62d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040b430
test eax, eax
jne 0x40b62d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.0040b430
test eax, eax
jne 0x40b62d
lea eax, [esp + 0x14]
push 0x486d34
push eax
call fcn.004524d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b60c
lea ecx, [esp + 0x14]
push 0x486d30
push ecx
call fcn.00452450
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b60c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40b60f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004612ac
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40b51e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004611bf
xor eax, eax
jmp 0x40b64f
mov byte [esi], 0
push 0x486d2c
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004611bf
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x41d380
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x41d3ee
cmp si, 0x69
ja 0x41d3ee
add esi, 0xffd0
cmp si, 0x11
je 0x41d3be
push 0x11
call edi
test ax, ax
jge 0x41d3be
or esi, 0x2000
cmp si, 0x10
je 0x41d3d3
push 0x10
call edi
test ax, ax
jge 0x41d3d3
or esi, 0x4000
cmp si, 0x12
je 0x41d3e8
push 0x12
call edi
test ax, ax
jge 0x41d3e8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41d3fb
mov esi, 0xbd
jmp 0x41d3af
cmp si, 0x6e
jne 0x41d408
mov esi, 0xbe
jmp 0x41d3af
cmp si, 0x6f
jne 0x41d3a9
mov esi, 0xbf
jmp 0x41d3af

Function at 0x41ebc0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x49d8c0]
xor edx, edx
cmp eax, edx
jne 0x41ebe6
xor eax, eax
mov byte [eax + 0x49d7c0], al
inc eax
cmp eax, 0x100
jl 0x41ebce
mov dword [0x49d8c0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x49d7c0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41ec77
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x41ec4a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x41ec18
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41ecf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x41ed43
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x41ed2a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret