joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4472c8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4473fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x41cbd0]
call fcn.0041cca0
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4473d1
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0041cd40
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00404d34
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x447410
call fcn.00404ddc
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0041cecc
lea ecx, [ebp - 4]
mov edx, 0x44744c
mov eax, dword [ebp - 0xc]
call fcn.0041d3dc
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040defc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4473b4
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x447458
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x467bd4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4473bb
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x4474a8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x4474ef
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4474d2
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4474e3
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x4474ef
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x44fab8
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 - 9]
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
cmp dword [0x46dd24], 0
je 0x44fc01
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x46814c]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x44fc01
mov eax, dword [0x46dd28]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x46dd24]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x44fbd0
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x46dd24]
call fcn.00414a5c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44fbc8
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x44fbc8
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44fbc8
mov eax, dword [ebp - 0x14]
call fcn.0045a390
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44fbc8
push ebp
call fcn.0044fa74
pop ecx
test al, al
jne 0x44fbc8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403e0c
test al, al
je 0x44fbc8
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00403e0c
cmp byte [ebp - 1], 0
je 0x44fbc8
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44fbc8
mov edx, dword [ebp - 0x14]
mov eax, dword [0x46dd28]
call fcn.0044f1e4
inc edi
dec ebx
jne 0x44fb1d
mov eax, dword [0x46dd28]
cmp dword [eax + 8], 0
jle 0x44fbe8
mov eax, dword [0x46dd28]
call fcn.0044f29c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44fc01
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044f8d8
pop ecx
test al, al
jne 0x44fc01
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 0x457264
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00406ca4
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00451e40
test ebx, ebx
jne 0x4572b7
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.004571a0
mov ebx, eax
test ebx, ebx
je 0x4573a2
cmp esi, ebx
je 0x4572e0
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x4572f5
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x45732d
add eax, 0xffffff5f
sub eax, 2
jb 0x457345
dec eax
sub eax, 2
jb 0x457359
dec eax
sub eax, 2
jb 0x45734f
jmp 0x457363
add eax, 0xfffffdff
sub eax, 2
jb 0x457345
dec eax
sub eax, 2
jb 0x457359
dec eax
sub eax, 2
jb 0x45734f
jmp 0x457363
mov byte [esp + 0x120], 0
jmp 0x45736b
mov byte [esp + 0x120], 2
jmp 0x45736b
mov byte [esp + 0x120], 1
jmp 0x45736b
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.004347b8
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.004535ec
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x4573a4
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x45f740
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4682d8]
cmp byte [eax + 0xc], 0
je 0x45f8ad
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45f8a6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46dd34], 0
jne 0x45f794
push 0x45f8b4
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
push 0x45f8bc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46dd34], eax
cmp dword [0x467db0], 0
jne 0x45f88f
push 0x45f8cc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x467db0], eax
cmp dword [0x467db0], 0
je 0x45f88f
push 0x45f8d8
mov eax, dword [0x467db0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46dd38], eax
push 0x45f8e8
mov eax, dword [0x467db0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46dd3c], eax
push 0x45f8fc
mov eax, dword [0x467db0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46dd40], eax
push 0x45f914
mov eax, dword [0x467db0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46dd44], eax
push 0x45f92c
mov eax, dword [0x467db0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46dd48], eax
push 0x45f940
mov eax, dword [0x467db0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46dd4c], eax
push 0x45f958
mov eax, dword [0x467db0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46dd50], eax
push 0x45f970
mov eax, dword [0x467db0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46dd54], eax
push 0x45f98c
mov eax, dword [0x467db0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46dd58], eax
push 0x45f998
mov eax, dword [0x467db0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46dd5c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f8ad
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4608d8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x460be4
mov esi, dword [ebp - 0x18]
xor eax, eax
push ebp
push 0x460c52
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 3
lea ecx, [ebp - 0x14]
mov edi, dword [ecx]
cmp edi, 0xffffffff
jle 0x460c1f
mov eax, dword [esi]
xor edx, edx
push edx
push eax
mov eax, edi
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov esi, eax
add ecx, 4
dec ebx
jne 0x460bfd
lea eax, [ebp - 4]
push eax
push 0x40
push 0x3e8
push esi
call sub.kernel32.dll_VirtualProtect
mov eax, dword [ebp - 8]
mov dword [esi], eax
push 0
mov eax, dword [ebp - 4]
push eax
push 0x3e8
push esi
call sub.kernel32.dll_VirtualProtect
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x460c5e
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x460c68
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x460f74
mov esi, dword [ebp - 0x18]
xor eax, eax
push ebp
push 0x460fdd
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 3
lea ecx, [ebp - 0x14]
mov edi, dword [ecx]
cmp edi, 0xffffffff
jle 0x460faf
mov eax, dword [esi]
xor edx, edx
push edx
push eax
mov eax, edi
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov esi, eax
add ecx, 4
dec ebx
jne 0x460f8d
lea eax, [ebp - 4]
push eax
push 0x40
push 0x3e8
push esi
call sub.kernel32.dll_VirtualProtect
mov ebx, dword [esi]
push 0
mov eax, dword [ebp - 4]
push eax
push 0x3e8
push esi
call sub.kernel32.dll_VirtualProtect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x460fea
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x461cf4
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, eax
push esi
call sub.user32.dll_IsIconic
test eax, eax
je 0x461d0d
push 9
push esi
call sub.user32.dll_ShowWindow
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
jne 0x461d1d
mov bl, 1
jmp 0x461e0a
mov eax, dword [0x4682c8]
cmp dword [eax], 2
jne 0x461d31
mov eax, dword [0x467fc0]
cmp dword [eax], 4
jg 0x461d65
mov eax, dword [0x4682c8]
cmp dword [eax], 1
jne 0x461df4
mov eax, dword [0x467fc0]
cmp dword [eax], 4
jg 0x461d65
mov eax, dword [0x467fc0]
cmp dword [eax], 4
jne 0x461df4
mov eax, dword [0x4681a4]
cmp dword [eax], 0
jle 0x461df4
xor ebx, ebx
push 0
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov edi, eax
push 0
push esi
call sub.user32.dll_GetWindowThreadProcessId
mov ebp, eax
push 0xffffffffffffffff
push edi
push ebp
call sub.user32.dll_AttachThreadInput
test eax, eax
je 0x461dac
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
push 0
push edi
push ebp
call sub.user32.dll_AttachThreadInput
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
test bl, bl
jne 0x461e00
push 0
lea eax, [esp + 4]
push eax
push 0
push 0x2000
call sub.user32.dll_SystemParametersInfoA
push 2
push 0
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoA
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
push 2
mov eax, dword [esp + 4]
push eax
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoA
jmp 0x461e00
push esi
call sub.user32.dll_BringWindowToTop
push esi
call sub.user32.dll_SetForegroundWindow
call sub.user32.dll_GetForegroundWindow
cmp esi, eax
sete bl
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x462c9c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffffef4
mov ebx, eax
mov dword [esp + 4], 1
push esp
push 0xf003f
push 0
push 0x462d20
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov dword [esp + 8], pe_nt_image_headers32
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x462d64
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x462d02
mov eax, ebx
lea edx, [esp + 0xc]
mov ecx, pe_nt_image_headers32
call fcn.00404d34
jmp 0x462d0e
mov eax, ebx
mov edx, 0x462d70
call fcn.00404b18
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
add esp, 0x10c
pop ebx
ret

Function at 0x463894
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x46389d
mov eax, dword [ebp - 4]
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46397d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x467e48], 0
je 0x463967
lea eax, [ebp - 4]
mov edx, dword [0x467e48]
call fcn.00404b5c
xor esi, esi
xor eax, eax
push ebp
push 0x4638ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00463a94
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x463910
cmp dword [0x46dde8], 0
je 0x463967
cmp dword [ebp - 4], 0
je 0x463967
test ebx, ebx
jle 0x463967
lea eax, [ebp - 0x8004]
mov edx, dword [ebp - 4]
call fcn.00463b28
xor eax, eax
push ebp
push 0x46395d
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push ebx
lea eax, [ebp - 0x8004]
push eax
mov eax, dword [0x46dde8]
push eax
call sub.wsock32.dll_send
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x463967
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463984
lea eax, [ebp - 4]
call fcn.00404ac4
ret

Function at 0x46398c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x463995
mov eax, dword [ebp - 4]
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x463a75
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x467e44], 0
je 0x463a5f
lea eax, [ebp - 4]
mov edx, dword [0x467e44]
call fcn.00404b5c
xor esi, esi
xor eax, eax
push ebp
push 0x4639f7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00463a94
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x463a08
cmp dword [0x46dde8], 0
je 0x463a5f
cmp dword [ebp - 4], 0
je 0x463a5f
test ebx, ebx
jle 0x463a5f
lea eax, [ebp - 0x8004]
mov edx, dword [ebp - 4]
call fcn.00463b28
xor eax, eax
push ebp
push 0x463a55
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push ebx
lea eax, [ebp - 0x8004]
push eax
mov eax, dword [0x46dde8]
push eax
call sub.wsock32.dll_send
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x463a5f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463a7c
lea eax, [ebp - 4]
call fcn.00404ac4
ret
Function at 0x463dcc
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov byte [esp], al
mov byte [0x467e54], 0
push 0x463f50
call sub.kernel32.dll_LoadLibraryA
mov esi, eax
test esi, esi
je 0x463f48
mov eax, esi
cmp word [eax], 0x5a4d
jne 0x463f48
mov eax, dword [eax + 0x3c]
add eax, esi
cmp dword [eax], 0x4550
jne 0x463f48
mov edx, dword [eax + 0x80]
test edx, edx
je 0x463f48
cmp dword [eax + 0x84], 0
je 0x463f48
add edx, esi
mov dword [esp + 4], edx
jmp 0x463f3a
mov eax, dword [esp + 4]
mov eax, dword [eax + 0xc]
add eax, esi
mov dword [esp + 8], eax
mov edx, 0x463f5c
mov eax, dword [esp + 8]
call fcn.0040937c
test eax, eax
je 0x463e64
mov eax, dword [esp + 4]
add eax, 0x14
mov dword [esp + 4], eax
jmp 0x463f3a
mov eax, dword [esp + 4]
mov ebx, dword [eax]
add ebx, esi
mov dword [esp + 0xc], 1
jmp 0x463f2b
mov edi, ebp
add edi, esi
add edi, 2
mov edx, 0x463f68
mov eax, edi
call fcn.0040937c
test eax, eax
jne 0x463f24
cmp byte [esp], 0
je 0x463ee9
mov eax, 0x463bf4
mov dword [esp + 0x14], eax
mov eax, dword [esp + 4]
add esi, dword [eax + 0x10]
mov eax, dword [esp + 0xc]
dec eax
add eax, eax
add eax, eax
add esi, eax
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [0x46dde4], eax
mov byte [0x467e54], 1
lea eax, [esp + 0x18]
push eax
push 4
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_WriteProcessMemory
jmp 0x463f48
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x10]
add eax, esi
mov edx, dword [esp + 0xc]
dec edx
add edx, edx
add edx, edx
add eax, edx
mov dword [esp + 0x10], eax
mov byte [0x467e54], 0
lea eax, [esp + 0x18]
push eax
push 4
push 0x46dde4
mov eax, dword [esp + 0x1c]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_WriteProcessMemory
inc dword [esp + 0xc]
add ebx, 4
mov ebp, dword [ebx]
test ebp, ebp
jne 0x463e79
add dword [esp + 4], 0x14
mov eax, dword [esp + 4]
cmp dword [eax + 0x10], 0
jne 0x463e35
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ca730
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x478015
lea edi, [esi - 0x77015]
push edi
or ebp, 0xffffffff
jmp 0x4ca752
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4ca759
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ca748
mov eax, 1
add ebx, ebx
jne 0x4ca76b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4ca77c
jne 0x4ca78c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ca78c
dec eax
add ebx, ebx
jne 0x4ca788
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4ca760
xor ecx, ecx
sub eax, 3
jb 0x4ca7a4
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4ca816
sar eax, 1
mov ebp, eax
jmp 0x4ca7af
add ebx, ebx
jne 0x4ca7af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4ca7bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4ca7e0
inc ecx
add ebx, ebx
jne 0x4ca7cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4ca7c1
jne 0x4ca7dd
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4ca7c1
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4ca800
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4ca7f1
jmp 0x4ca74e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4ca800
add edi, ecx
jmp 0x4ca74e
pop esi
mov edi, esi
mov ecx, 0x136f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4ca81e
cmp byte [edi], 0xd
jne 0x4ca81e
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 0x4ca823
lea edi, [esi + 0xc6000]
mov eax, dword [edi]
or eax, eax
je 0x4ca892
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd2b4c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd2bb0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4ca850
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd2bb4]
or eax, eax
je 0x4ca88c
mov dword [ebx], eax
add ebx, 4
jmp 0x4ca86d
call dword [esi + 0xd2bb8]
popal
jmp 0x401220
Function at 0x51d960
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5db6bb
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.005cf707
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x51d9e2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005ccefa
mov eax, dword [eax]
push 0x63e204
push eax
call fcn.005be124
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.005cf992
test bl, bl
je 0x51d9e2
push 0x63e204
lea ecx, [esp + 0xc]
call fcn.005cfd22
push 0x641d84
lea ecx, [esp + 0xc]
call fcn.005cfd22
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 0x51da1e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.005cf992
jmp 0x51dae9
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 0x51daa2
lea edx, [esp + 0x7c]
push 0x641d80
push edx
call fcn.005be124
add esp, 8
test eax, eax
je 0x51daa2
lea eax, [esp + 0x7c]
push 0x641d7c
push eax
call fcn.005be124
add esp, 8
test eax, eax
je 0x51daa2
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 0x51da32
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.005cf992
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 0x51e2e0
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 0x51e342
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