joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a06f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d9e78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.004a0af0
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x567a2c
call fcn.004a8796
mov ecx, dword [0x51cc40]
mov al, byte [esi]
push ecx
push ebx
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 1
mov byte [esp + 0x30], al
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.0049b5a0
mov esi, 0x51cca0
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x4a0797
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4a078e
cmp al, 0xff
je 0x4a078e
dec al
mov byte [ecx], al
jmp 0x4a0797
push ecx
call fcn.004c9424
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.004c51c0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], esi
je 0x4a07dd
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4a07d4
cmp al, 0xff
je 0x4a07d4
dec al
mov byte [ecx], al
jmp 0x4a07dd
push ecx
call fcn.004c9424
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.004a881d
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4a809d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004aa161
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4a80c0
test byte [esp + 8], 2
je 0x4a80c0
call fcn.004aa1d4
mov dword [eax], 0xd
call fcn.004aa1dd
mov dword [eax], 5
jmp 0x4a8099
xor eax, eax
ret
Function at 0x4bf6d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4daf80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call fcn.004b4442
mov eax, dword [0x51fb20]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call fcn.004b4374
lea edx, [esp + 0x20]
lea eax, [esp + 8]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.004c0170
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], ecx
je 0x4bf777
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4bf76e
cmp al, 0xff
je 0x4bf76e
dec al
mov byte [ecx], al
jmp 0x4bf777
push ecx
call fcn.004c9424
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x4bf7a8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4bf79f
cmp al, 0xff
je 0x4bf79f
dec al
mov byte [ecx], al
jmp 0x4bf7a8
push ecx
call fcn.004c9424
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x4cba8b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4cbac3
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004c9b15
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004c9aed
jmp 0x4cbacf
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4cd182
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4cd1c4
call fcn.004d3339
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4cd1c4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4cd1bb
xor eax, eax
jmp 0x4cd1cc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004cd1d2
pop edi
pop esi
pop ebx
ret 4

Function at 0x4d3869
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4d3897
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4d38b5
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004d37cf
jmp 0x4d38b5
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4d38b5
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004d37cf
test edi, edi
mov eax, edi
jne 0x4d389f
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40d8ee
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4

Function at 0x48a2f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section..rdata
lea edi, [esi - 0x5e000]
push edi
or ebp, 0xffffffff
jmp 0x48a312
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x48a319
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48a308
mov eax, 1
add ebx, ebx
jne 0x48a32b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x48a33c
jne 0x48a34c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48a34c
dec eax
add ebx, ebx
jne 0x48a348
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x48a320
xor ecx, ecx
sub eax, 3
jb 0x48a364
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48a3d6
sar eax, 1
mov ebp, eax
jmp 0x48a36f
add ebx, ebx
jne 0x48a36f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x48a37c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x48a3a0
inc ecx
add ebx, ebx
jne 0x48a38c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48a381
jne 0x48a39d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48a381
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48a3c0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48a3b1
jmp 0x48a30e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48a3c0
add edi, ecx
jmp 0x48a30e
pop esi
mov edi, esi
mov ecx, 0x2ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48a3de
cmp byte [edi], 0x1b
jne 0x48a3de
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 eax, ebx
loop 0x48a3e3
lea edi, [esi + 0x87000]
mov eax, dword [edi]
or eax, eax
je 0x48a452
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8e630]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8e6d0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48a410
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8e6d4]
or eax, eax
je 0x48a44c
mov dword [ebx], eax
add ebx, 4
jmp 0x48a42d
call dword [esi + 0x8e6d8]
popal
jmp 0x45cfe0
Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [0x425634]
push ebx
push ebp
push esi
push edi
push str._JAVA_LAUNCHER_DEBUG
mov dword [0x425638], eax
call fcn.00408d46
xor ebx, ebx
pop ecx
test eax, eax
je 0x401053
push str.Windows_original_main_args:_n
call fcn.00408c02
xor esi, esi
pop ecx
cmp dword [0x425628], ebx
jle 0x401053
mov eax, dword [0x42562c]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call fcn.00408c02
add esp, 0xc
inc esi
cmp esi, dword [0x425628]
jl 0x401034
call dword [sym.imp.kernel32.dll_GetCommandLineA]
push eax
call fcn.00413ab5
call fcn.00403941
mov edi, eax
lea eax, [edi*4 + 4]
push eax
call fcn.004039c3
pop ecx
pop ecx
mov esi, eax
call fcn.00403947
xor ecx, ecx
cmp edi, ebx
jle 0x40108d
mov edx, dword [eax + ecx*8]
mov dword [esi + ecx*4], edx
inc ecx
cmp ecx, edi
jl 0x401082
mov eax, dword [str.java]
mov dword [esi + ecx*4], ebx
mov edx, eax
cmp eax, ebx
jne 0x40109d
mov edx, dword [esi]
mov ebp, dword [0x42400c]
cmp ebp, ebx
jne 0x4010a9
mov ebp, dword [esi]
mov eax, dword [0x425420]
push ebx
xor ecx, ecx
inc ecx
push ecx
push ecx
cmp eax, ebx
setne bl
movzx ebx, bl
push ebx
push edx
push ebp
push 0x41c254
push 0x41c244
push dword [0x425424]
push ecx
push eax
push ecx
push esi
push edi
call fcn.00403485
add esp, 0x38
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
Function at 0x403e42
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x424070]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.advapi32.dll_RegEnumKeyA]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x6c]
push ecx
xor ebx, ebx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xa8]
push ebx
push eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ebx
call edi
test eax, eax
jne 0x403ee5
mov eax, dword [ebp - 0x80]
push dword [eax + 8]
inc dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.00413ab5
pop ecx
pop ecx
test eax, eax
je 0x403ece
test ebx, ebx
je 0x403ec2
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.00413ab5
pop ecx
pop ecx
test eax, eax
jle 0x403ece
push ebx
call fcn.00403a2b
pop ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.00403a0a
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
call edi
test eax, eax
je 0x403e8f
xor edi, edi
cmp ebx, edi
jne 0x403ee9
xor eax, eax
jmp 0x403f55
lea eax, [ebp - 0x70]
push eax
push 0x20019
push edi
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push ebx
test eax, eax
je 0x403f18
call fcn.00403a2b
pop ecx
cmp dword [ebp - 0x70], edi
je 0x403ee5
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x403ee5
call fcn.00403a2b
pop ecx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
push edi
push str.JavaHome
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x403f08
cmp dword [ebp - 0x70], edi
je 0x403f4b
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0x6c]
push eax
call fcn.00403a0a
pop ecx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409908
add ebp, 0x9c
leave
ret
Function at 0x405800
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ebx
push edi
sub eax, 0x14
push 0
sbb ecx, 0
push ecx
push eax
push dword [esp + 0x18]
call fcn.0040b20f
mov edi, edx
add esp, 0x10
mov ebx, eax
test edi, edi
jg 0x40582e
jl 0x40586c
test ebx, ebx
jb 0x40586c
push 0x14
push esi
push dword [esp + 0x14]
call fcn.004174eb
add esp, 0xc
test eax, eax
js 0x40586c
movzx eax, byte [esi + 3]
movzx ecx, byte [esi + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 1]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi]
shl eax, 8
or eax, ecx
cmp eax, 0x7064b50
jne 0x40586c
mov eax, ebx
mov edx, edi
jmp 0x405871
or eax, 0xffffffff
or edx, eax
pop edi
pop ebx
ret
Function at 0x409908
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x424070]
jne 0x409912
repz ret
jmp fcn.0041156c

Function at 0x413ab5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x413ac4
pop dword [ebp - 0x10]
mov eax, 0xe690b1f9
sub eax, 0xe64f7735
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xa909014e
add dword [ebp - 0x20], 0xa54943fd
mov dword [ebp - 0x1c], 0xb494eaef
add dword [ebp - 0x1c], 0x7d9e6156
mov dword [ebp - 0x18], 0xf65ccb69
sub dword [ebp - 0x18], 0xaa10873b
mov dword [ebp - 0x14], 0x2aa4b5c6
sub dword [ebp - 0x14], 0x2aa4b5c6
lea eax, [ebp - 0x20]
push eax
mov eax, 0xe529c28b
add eax, 0x1b17fdc5
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xd224d75
sub dword [ebp - 0x20], 0x98afe41f
mov dword [ebp - 0x1c], 0x34bc9782
add dword [ebp - 0x1c], 0xcafc9f3
mov dword [ebp - 0x18], 0x4eeb2155
add dword [ebp - 0x18], 0x14844b17
mov dword [ebp - 0x14], 0xc2c06522
sub dword [ebp - 0x14], 0xc2c06522
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x3553b24b
sub eax, 0x3511f1ff
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x39f4f
push 0
call eax
mov ecx, 0x192585fd
sub ecx, 0x1925443f
mov ebx, eax
mov esi, 0xbdc69b02
sub esi, 0xbd837102
add esi, dword [ebp - 0x10]
mov edi, 0xf5f21a43
mov edx, dword [esi]
xor dword [ebp - 4], 0x9a50453a
sub edx, edi
sub dword [ebp - 8], edx
mov dword [ebx], edx
sub dword [ebp - 4], ebx
add ebx, 4
add esi, 4
loop 0x413be0
add eax, 0x325b1a5b
sub eax, 0x325a2090
mov ebx, eax
add eax, 0x26ba682c
sub eax, 0x26ba6827
mov ecx, 0x400000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x405040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x40504f
pop dword [ebp - 0x50]
mov eax, 0x674b9b6f
sub eax, 0x670b4b20
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x827b0b77
add dword [ebp - 0x60], 0xcbd739d4
mov dword [ebp - 0x5c], 0xfd77cf1e
add dword [ebp - 0x5c], 0x34bb7d27
mov dword [ebp - 0x58], 0x5431b348
add dword [ebp - 0x58], 0xf81a90e6
mov dword [ebp - 0x54], 0x57045e6
add dword [ebp - 0x54], 0xfa8fba1a
lea eax, [ebp - 0x60]
push eax
mov eax, 0xf90cc8af
add eax, 0x733c76d
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x9751c508
sub dword [ebp - 0x60], 0x22df5bb2
mov dword [ebp - 0x5c], 0x5f3dfc31
sub dword [ebp - 0x5c], 0x1dd19abc
mov dword [ebp - 0x58], 0x9260fc26
sub dword [ebp - 0x58], 0x2ef18fba
mov dword [ebp - 0x54], 0xd234aad1
sub dword [ebp - 0x54], 0xd234aad1
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0xc478bae2
sub eax, 0xc4382aca
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x3af63
push 0
call eax
mov ecx, 0x47f5
xor edi, edi
add edi, eax
mov esi, 0x37a0aee6
add esi, 0xc8a0291a
add esi, dword [ebp - 0x50]
mov ebx, 0x7af246e2
add ebx, 0x5908d591
add dword [ebp - 8], esi
mov edx, dword [esi]
xor dword [ebp - 0x28], 0x299081e8
xor edx, ebx
mov dword [edi], edx
add dword [ebp - 0x24], 0x2a6fa55d
add edi, 0x4a1d0626
sub edi, 0x4a1d0622
add esi, 0xbfcde66b
sub esi, 0xbfcde667
loop 0x40516d
add eax, 0x112a7
mov ebx, eax
add eax, 0xbbf7786
add eax, 0xf440887f
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x40656e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40b018]
jne 0x406578
repz ret
jmp fcn.004069b9
Function at 0x40a520
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4689db
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.0045d4b6
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40a5a2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045b3cd
mov eax, dword [eax]
push 0x47e1c0
push eax
call fcn.0044e244
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045d741
test bl, bl
je 0x40a5a2
push 0x47e1c0
lea ecx, [esp + 0xc]
call fcn.0045dad1
push 0x481d3c
lea ecx, [esp + 0xc]
call fcn.0045dad1
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 0x40a5de
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045d741
jmp 0x40a6a9
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 0x40a662
lea edx, [esp + 0x7c]
push 0x481d38
push edx
call fcn.0044e244
add esp, 8
test eax, eax
je 0x40a662
lea eax, [esp + 0x7c]
push 0x481d34
push eax
call fcn.0044e244
add esp, 8
test eax, eax
je 0x40a662
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 0x40a5f2
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.0045d741
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 0x40aea0
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 0x40af02
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 0x40af10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x468a5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x489de0]
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 0x40b048
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40af76
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045d741
xor eax, eax
jmp 0x40b0bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045d87e
push esi
lea ecx, [esp + 0xc]
call fcn.0045db0d
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 0x40b09d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040aea0
test eax, eax
jne 0x40b09d
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.0040aea0
test eax, eax
jne 0x40b09d
lea eax, [esp + 0x14]
push 0x481d50
push eax
call fcn.0044f280
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b07c
lea ecx, [esp + 0x14]
push 0x481d4c
push ecx
call fcn.0044f200
mov esi, eax
add esp, 8
test esi, esi
jne 0x40b07c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40b07f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045d82e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40af8e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045d741
xor eax, eax
jmp 0x40b0bf
mov byte [esi], 0
push 0x481d48
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.0045d741
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 0x41b5b0
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 0x41b61e
cmp si, 0x69
ja 0x41b61e
add esi, 0xffd0
cmp si, 0x11
je 0x41b5ee
push 0x11
call edi
test ax, ax
jge 0x41b5ee
or esi, 0x2000
cmp si, 0x10
je 0x41b603
push 0x10
call edi
test ax, ax
jge 0x41b603
or esi, 0x4000
cmp si, 0x12
je 0x41b618
push 0x12
call edi
test ax, ax
jge 0x41b618
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41b62b
mov esi, 0xbd
jmp 0x41b5df
cmp si, 0x6e
jne 0x41b638
mov esi, 0xbe
jmp 0x41b5df
cmp si, 0x6f
jne 0x41b5d9
mov esi, 0xbf
jmp 0x41b5df

Function at 0x41cd60
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x49a438]
xor edx, edx
cmp eax, edx
jne 0x41cd86
xor eax, eax
mov byte [eax + 0x49a338], al
inc eax
cmp eax, 0x100
jl 0x41cd6e
mov dword [0x49a438], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x49a338
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41ce17
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 0x41cdea
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 0x41cdb8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41ce90
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 0x41cee3
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 0x41ceca
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