joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4269e0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x426b50
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00424770
mov eax, dword [esp + 4]
test eax, eax
je 0x426b39
mov dword [esp + 0xc], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x7c]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x14], ecx
mov dword [esp], eax
call fcn.004224f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
sub eax, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
movzx ebx, byte [edx + 6]
mov byte [esp + 0xb], bl
lea ebp, [ecx + 0x48]
mov dword [esp + 0x18], ebp
nop
mov dword [esp], ebp
call fcn.00409660
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x4c]
movzx edx, byte [esp + 0xb]
mov ebx, dword [esp + 0x10]
jmp 0x426a77
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x426add
movzx esi, word [ebp + 4]
cmp esi, ebx
jne 0x426a8c
cmp byte [ebp + 6], dl
je 0x426a97
cmp esi, ebx
ja 0x426add
jne 0x426a75
cmp byte [ebp + 6], dl
jbe 0x426a75
jmp 0x426add
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00409860
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x426ad4
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x426ad4
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 0
add esp, 0x1c
ret
mov edx, dword [esp + 0x24]
mov word [edx + 4], bx
mov ebx, dword [ecx]
mov dword [edx], ebx
mov dword [ecx], edx
mov dword [esp], eax
call fcn.004268e0
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00409860
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x426b30
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x426b30
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 1
add esp, 0x1c
ret
lea eax, [0x4f9826]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.00434760
nop
call fcn.0045d2c0
jmp fcn.004269e0
Function at 0x426fd0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4270ec
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x427065
cmp cl, 2
je 0x42700d
cmp cl, 3
jne 0x4270d5
mov byte [eax + 8], 1
jmp 0x4270d1
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042c200
nop
lea eax, [0x5c7d98]
mov dword [esp], eax
call fcn.00409660
nop
mov eax, dword [0x5c7d64]
sub eax, dword [0x5c7d48]
mov dword [0x5c7d64], eax
mov eax, dword [0x5c7d54]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x5c7d54], ecx
nop
lea eax, [0x5c7d98]
mov dword [esp], eax
call fcn.00409860
jmp 0x4270d1
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.004133c0
nop
lea eax, [0x5c7d98]
mov dword [esp], eax
call fcn.00409660
nop
mov eax, dword [0x5c7d3c]
sub eax, dword [0x5c7d20]
mov dword [0x5c7d3c], eax
mov eax, dword [0x5c7d2c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x5c7d2c], ecx
nop
nop
lea eax, [0x5c7d98]
mov dword [esp], eax
call fcn.00409860
add esp, 0x14
ret
lea eax, [0x4f4aac]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00434760
nop
call fcn.0045d2c0
jmp fcn.00426fd0
Function at 0x44e280
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x44e407
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x44e3fd
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x44e2dc
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x44e2dc
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
add esp, 0x10
ret
test ebx, 0x80
je 0x44e2ef
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x44e3d2
mov eax, 1
mov ebp, ebx
and ebx, 1
neg ebx
shr ebp, 1
xor ebx, ebp
mov ebp, dword [esp + 0x24]
add dword [ebp], ebx
cmp ecx, eax
jb 0x44e3c4
sub ecx, eax
mov ebx, dword [esp + 0x1c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea ebx, [edx + eax]
test ecx, ecx
jbe 0x44e3bb
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x44e346
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x44e38f
mov eax, 1
cmp eax, ecx
ja 0x44e37d
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
add ebx, ebp
mov dword [esp + 0x2c], ebx
sub ecx, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.0045e7c0
lea esi, [ecx + 7]
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
cmp eax, ecx
jae 0x44e3b6
movzx edi, byte [eax + ebx]
lea ebp, [eax + 1]
mov eax, edi
and edi, 0x7f
mov ecx, esi
shl edi, cl
or edx, edi
test al, 0x80
jne 0x44e382
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
jmp 0x44e34b
call fcn.0045e760
xor eax, eax
mov ecx, eax
call fcn.0045e750
call fcn.0045e7c0
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
mov eax, edi
cmp ecx, eax
jbe 0x44e3f8
movzx esi, byte [eax + edx]
lea edi, [eax + 1]
mov eax, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
or ebx, esi
test al, 0x80
jne 0x44e3c9
mov ecx, dword [esp + 0x18]
mov eax, edi
jmp 0x44e2f4
call fcn.0045e760
xor eax, eax
mov ecx, eax
call fcn.0045e750
nop
call fcn.0045d2c0
jmp fcn.0044e280
Function at 0x452470
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x452570
sub esp, 0x28
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x8c], 0
mov dword [eax + 0x90], 0
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x58]
mov dword [eax + 0x94], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.00452d00
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
lea ecx, [0x4dc900]
mov dword [esp], ecx
call fcn.0040b700
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [eax], ecx
lea ecx, [0x5c7e30]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.00451cf0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x54]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov byte [esp], 0xd
mov dword [esp + 4], 2
lea eax, [esp + 0x18]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.00451110
add esp, 0x28
ret
call fcn.0045d2c0
jmp fcn.00452470
Function at 0x455ae0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x455b7f
sub esp, 0x30
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.0045e8c7
lea ecx, [0x455b90]
mov dword [esp + 0xc], ecx
lea ecx, [esp + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.0045d1b0
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.0045d2c0
jmp fcn.00455ae0
Function at 0x45e580
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x5e3aa0]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x45cd4b
je 0x45cd9e
cmp ebx, 0x20
jbe 0x45cda4
cmp ebx, 0x40
jbe 0x45cdea
jmp 0x45ce8b
test ebx, ebx
je 0x45cd94
add eax, 0x10
test ax, 0xff0
je 0x45cd80
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x522060]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x522160]
jmp 0x45cd68
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x45cd68
pxor xmm1, xmmword [0x5e3ab0]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x5e3ab0]
pxor xmm2, xmmword [0x5e3ac0]
pxor xmm3, xmmword [0x5e3ad0]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x5e3ab0]
pxor xmm2, xmmword [0x5e3ac0]
pxor xmm3, xmmword [0x5e3ad0]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x45ceea
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0x5e374d], 0
je 0x45e59a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x45cd10
jmp fcn.00408040
Function at 0x45e5a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40293e
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00408040
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
add esp, 0x10
ret
call fcn.0045d2c0
jmp 0x402900
cmp byte [0x5e374d], 0
je 0x45e5bb
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp 0x45cd10
jmp 0x402900
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x401c66
pop dword [ebp - 0x40]
mov eax, 0x401c66
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xaaa42541
add dword [ebp - 0x50], 0xa3ae200a
mov dword [ebp - 0x4c], 0x8d1346ce
add dword [ebp - 0x4c], 0xa5200577
mov dword [ebp - 0x48], 0x476336a6
sub dword [ebp - 0x48], 0xfb16f278
mov dword [ebp - 0x44], 0x16c6917
add dword [ebp - 0x44], 0xfe9396e9
lea eax, [ebp - 0x50]
push eax
mov eax, 0xc71965b6
add eax, 0x3926ca9e
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x84f5cd17
add dword [ebp - 0x50], 0xef7c9c3f
mov dword [ebp - 0x4c], 0x5968767c
add dword [ebp - 0x4c], 0xe803eaf9
mov dword [ebp - 0x48], 0xab7482ec
sub dword [ebp - 0x48], 0x48051680
mov dword [ebp - 0x44], 0x91bbba79
add dword [ebp - 0x44], 0x6e444587
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0xab4d1efc
add eax, 0x54f31130
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x37e86
push 0
call eax
mov ecx, 0x5fea8bee
add ecx, 0xa015c1c7
mov esi, eax
mov edi, 0xef10977f
sub edi, 0xeed0277f
add edi, dword [ebp - 0x40]
mov ebx, 0xd9fc5fe0
add dword [ebp - 0x20], 0x4b67ecd0
mov edx, dword [edi]
xor dword [ebp - 0x10], esi
add edx, ebx
xor dword [ebp - 0x34], 0xf08303da
mov dword [esi], edx
add dword [ebp - 0x24], 0x6efac4de
add esi, 0xd62e0539
sub esi, 0xd62e0535
add edi, 0xf7defca4
sub edi, 0xf7defca0
loop 0x401d7d
add eax, 0x1bd0a6b9
add eax, 0xe43082ee
mov ebx, eax
add eax, 0x9f2ae101
sub eax, 0x9f2ae0fc
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x4028dc
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf4
mov esi, edx
mov ebx, eax
test bl, bl
je 0x402919
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x108]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x402939
lea eax, [esp + 0x108]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x104
call fcn.00404054
add esp, 0x20c
pop esi
pop ebx
ret

Function at 0x402a98
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x402ac7
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f0c
jmp 0x402ae5
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00402a20
mov edi, eax
test ebx, ebx
je 0x402ae5
cmp dword [esi], 0
je 0x402ae5
dec ebx
jmp 0x402ace
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402d40
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x536044], 0x8088405
inc edx
mov dword [0x536044], edx
mul edx
mov eax, edx
ret

Function at 0x402f28
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402fc0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402fa0
xor eax, eax
push ebp
push 0x402f99
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 0x402fdc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402fa0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret

Function at 0x403dd8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004027b4
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x536049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403da0
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4304b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x536788], 0
sete dl
or al, dl
jne 0x4305f4
mov eax, dword [0x53678c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x536788]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x4305c3
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x536788]
call fcn.004113e4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4305bb
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x4305bb
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x4305bb
mov eax, dword [ebp - 0x14]
call fcn.004388a8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4305bb
push ebp
call fcn.00430470
pop ecx
test al, al
jne 0x4305bb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x430577
mov eax, dword [ebp - 0x14]
call fcn.00437150
dec eax
jle 0x4305bb
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.00403298
cmp byte [ebp - 1], 0
je 0x4305bb
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4305bb
mov edx, dword [ebp - 0x14]
mov eax, dword [0x53678c]
call fcn.0042fcbc
inc edi
dec esi
jne 0x43050a
mov eax, dword [0x53678c]
cmp dword [eax + 8], 0
jle 0x4305db
mov eax, dword [0x53678c]
call fcn.0042fd4c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4305f4
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004302d8
pop ecx
test al, al
jne 0x4305f4
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43615c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x43618d
je 0x4361e7
sub eax, 7
je 0x4361ae
dec eax
je 0x4361d8
sub eax, 0x17
je 0x43628c
jmp 0x4362ca
add eax, 0xffffff00
sub eax, 9
jb 0x436278
add eax, 0xffffff09
sub eax, 0xb
jb 0x436240
jmp 0x4362ca
mov eax, ebx
call fcn.004481e8
mov edi, eax
test edi, edi
je 0x43632a
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x436333
jmp 0x43632a
test byte [ebx + 0x44], 0x20
jne 0x436333
jmp 0x43632a
mov edx, esi
mov eax, ebx
call fcn.0043375c
cmp dword [esi + 0xc], 0xffffffff
jne 0x436333
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00407e78
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00432290
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00436034
test eax, eax
je 0x436333
mov dword [esi + 0xc], 1
jmp 0x436333
mov edx, esi
mov eax, ebx
call fcn.004360c8
test al, al
je 0x43632a
cmp dword [esi + 0xc], 0
jne 0x436333
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
mov eax, ebx
call fcn.004388a8
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x436333
mov eax, ebx
call fcn.00432df8
test al, al
jne 0x436333
jmp 0x43632a
mov eax, ebx
call fcn.004388a8
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x43632a
cmp dword [0x51a898], 0
je 0x43632a
mov eax, dword [0x51a898]
cmp ebx, dword [eax + 0x24]
jne 0x43632a
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x51a898]
call fcn.00433690
jmp 0x43632a
mov eax, dword [0x536750]
cmp byte [eax + 0x20], 0
je 0x43632a
mov eax, dword [0x536750]
cmp dword [eax + 0x1c], 0
je 0x43632a
mov eax, dword [esi]
mov edx, dword [0x536750]
cmp eax, dword [edx + 0x1c]
jne 0x43632a
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.0044812c
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb7
call fcn.00403298
jmp 0x436333
mov edx, esi
mov eax, ebx
call fcn.0043375c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x447f04
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x5367e8
cmp dword [edi], 0
jne 0x447f80
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x5367e4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x51aa44
mov ecx, 2
call fcn.004029e0
mov edx, 0x447edc
lea eax, [esi + 5]
call fcn.00447efc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00447efc
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 0x447f55
mov dword [0x5367e4], 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 0x44809c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4480ec]
test si, 4
je 0x4480b0
or bl, 1
test si, 8
je 0x4480ba
or bl, 4
test si, 1
je 0x4480c4
or bl, 8
test si, 2
je 0x4480ce
or bl, 0x10
test si, 0x10
je 0x4480d8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4480e7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4480f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x448128]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448109
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448118
or bl, 4
test esi, 0x20000000
je 0x448123
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret