joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a99e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a9c47
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4a9a4a
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004a94b0
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040c3cc
cmp al, 1
jne 0x4a9a4a
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004a97c8
test al, al
je 0x4a9bd6
cmp dword [ebp - 8], 0
jge 0x4a9a68
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004a94b0
mov eax, dword [ebp - 0x210]
call fcn.00403f14
cmp ebx, eax
jge 0x4a9ab2
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004a94b0
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x519be0]
and eax, 0xff
bt dword [edx], eax
jae 0x4a9ab2
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
cmp eax, dword [ebp - 8]
jg 0x4a9ac6
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004a99c4
cmp ebx, dword [ebp - 8]
je 0x4a9bc8
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4a9af2
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.00403124
and eax, 0x7f
movzx eax, word [eax*2 + 0x519600]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 1
xor eax, eax
push ebp
push 0x4a9bb5
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.00403124
and eax, 0x7f
movzx eax, word [eax*2 + 0x519600]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00437324
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.00403124
and eax, 0x7f
movzx eax, word [eax*2 + 0x519600]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00437324
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9bbc
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x218], edx
jmp 0x4a9c29
cmp dword [ebp - 8], 0
jge 0x4a9be1
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004a94b0
mov eax, dword [ebp - 0x218]
call fcn.00403f14
cmp eax, dword [ebp - 8]
jg 0x4a9c1b
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004a94b0
mov eax, dword [ebp - 0x21c]
call fcn.00403f14
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004a99c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9c4e
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00403cb8
ret
Function at 0x4acb78
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x4acbb0]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4acb8e
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4acb9d
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4acbac
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x4ad47c
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
mov edx, dword [0x42d5f8]
call fcn.004030c0
test al, al
je 0x4ad4be
mov eax, dword [0x519a44]
mov eax, dword [eax]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x4ad4be
mov edx, dword [0x519a44]
xor edx, edx
call fcn.00449000
push 0
mov eax, dword [0x519a44]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x4ba074
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004040c8
xor eax, eax
push ebp
push 0x4ba191
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x328]
test eax, eax
je 0x4ba17b
cmp dword [eax + 0x3d8], 0
je 0x4ba17b
cmp byte [ebx + 0x2cc], 0
je 0x4ba0fc
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x2c4]
cmp eax, 0x1f4
jb 0x4ba0d5
lea eax, [ebx + 0x2c8]
call fcn.00403c94
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x2c4], eax
lea eax, [ebx + 0x2c8]
mov edx, dword [ebp - 4]
call fcn.00403f1c
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x2c8]
call fcn.00403d2c
mov eax, dword [ebp - 4]
call fcn.00403f14
test eax, eax
jle 0x4ba16b
mov eax, dword [ebp - 4]
call fcn.00403f14
dec eax
jne 0x4ba142
mov eax, dword [ebp - 4]
call fcn.004040d8
push eax
mov eax, ebx
call fcn.004baafc
push eax
push 0x18f
mov eax, dword [ebx + 0x328]
mov eax, dword [eax + 0x3d8]
call fcn.00437324
push eax
call sub.user32.dll_SendMessageA
jmp 0x4ba16e
mov eax, dword [ebp - 4]
call fcn.004040d8
push eax
push 0xffffffffffffffff
push 0x18f
mov eax, dword [ebx + 0x328]
mov eax, dword [eax + 0x3d8]
call fcn.00437324
push eax
call sub.user32.dll_SendMessageA
jmp 0x4ba16e
or eax, 0xffffffff
test eax, eax
jl 0x4ba17b
mov edx, eax
mov eax, ebx
call fcn.004bab08
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba198
lea eax, [ebp - 4]
call fcn.00403c94
ret
Function at 0x4ba19c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4ba2ec
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x328]
test eax, eax
je 0x4ba2c4
cmp dword [eax + 0x3d8], 0
je 0x4ba2c4
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x2c4]
cmp eax, 0xc8
jbe 0x4ba2c4
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x2c4], eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0043116c
mov eax, dword [ebp - 0xc]
call fcn.00403f14
dec eax
jne 0x4ba244
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.0043116c
mov eax, dword [ebp - 0x10]
call fcn.004040d8
push eax
mov eax, ebx
call fcn.004baafc
push eax
push 0x18f
mov eax, dword [ebx + 0x328]
mov eax, dword [eax + 0x3d8]
call fcn.00437324
push eax
call sub.user32.dll_SendMessageA
mov esi, eax
jmp 0x4ba277
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.0043116c
mov eax, dword [ebp - 0x14]
call fcn.004040d8
push eax
push 0xffffffffffffffff
push 0x18f
mov eax, dword [ebx + 0x328]
mov eax, dword [eax + 0x3d8]
call fcn.00437324
push eax
call sub.user32.dll_SendMessageA
mov esi, eax
test esi, esi
jl 0x4ba2c4
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0043116c
mov edx, esi
mov eax, ebx
call fcn.004bab08
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0043116c
mov eax, dword [ebp - 4]
call fcn.00403f14
mov edx, eax
mov eax, ebx
call fcn.004ba354
mov eax, dword [ebp - 8]
call fcn.00403f14
push eax
mov eax, dword [ebp - 4]
call fcn.00403f14
pop edx
sub edx, eax
mov eax, ebx
call fcn.004ba370
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ba2f3
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00403cb8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403cb8
ret
Function at 0x513480
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5136d1
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3cc]
call fcn.00469228
test eax, eax
jle 0x51369d
lea eax, [ebp - 0xc]
xor ecx, ecx
mov dl, byte [0x5136e0]
call fcn.00474dbc
test al, al
je 0x51369d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3cc]
call fcn.00469228
imul eax, eax, 0x105
push eax
lea eax, [ebp - 0x14]
mov ecx, 1
mov edx, dword [0x51346c]
call fcn.004054b8
add esp, 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3cc]
call fcn.00469228
imul edx, eax, 0x105
mov eax, dword [ebp - 0x14]
call fcn.0040739c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3cc]
mov eax, dword [eax + 0x20c]
call fcn.004671f4
dec eax
test eax, eax
jl 0x5135fc
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3cc]
mov eax, dword [eax + 0x20c]
mov edx, dword [ebp - 8]
call fcn.00467224
mov edx, 3
call fcn.00466d54
test al, al
je 0x5135f0
lea eax, [ebp - 0x11d]
xor ecx, ecx
mov edx, 0x105
call fcn.00402c48
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3cc]
mov eax, dword [eax + 0x20c]
mov edx, dword [ebp - 8]
call fcn.00467224
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x140]
mov edx, 4
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x10]
call fcn.0040876c
mov eax, dword [ebp - 0x10]
call fcn.004040d8
mov edx, eax
lea eax, [ebp - 0x11d]
call fcn.00408f48
xor edi, edi
jmp 0x5135dd
mov eax, dword [ebp - 0x14]
mov byte [eax + esi], bl
inc esi
inc edi
mov bl, byte [ebp + edi - 0x11d]
test bl, bl
jne 0x5135d5
mov eax, dword [ebp - 0x14]
mov byte [eax + esi], 0
inc esi
inc dword [ebp - 8]
dec dword [ebp - 0x18]
jne 0x51354d
mov eax, dword [ebp - 0x14]
mov byte [eax + esi], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3cc]
call fcn.00469228
test eax, eax
jle 0x51369d
mov eax, dword [ebp - 4]
call fcn.00437324
mov dword [ebp - 0x13b], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x133], eax
mov eax, dword [ebp - 0xc]
call fcn.004040d8
mov dword [ebp - 0x12f], eax
mov dword [ebp - 0x137], 2
mov word [ebp - 0x12b], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x5c]
lea eax, [ebp - 0x13b]
push eax
call sub.shell32.dll_SHFileOperationA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5136d8
lea eax, [ebp - 0x140]
call fcn.00403c94
lea eax, [ebp - 0x14]
mov edx, dword [0x51346c]
call fcn.004054c4
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00403cb8
ret
Function at 0x515748
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004040c8
xor eax, eax
push ebp
push 0x5157d5
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00408adc
test al, al
je 0x5157bf
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.004040d8
push eax
call sub.kernel32.dll_CreateFileA_1
mov edi, eax
cmp edi, 0xffffffff
je 0x5157bf
push 0
push edi
call sub.kernel32.dll_GetFileSize_1
cmp eax, 0x19000
ja 0x5157b7
cmp byte [esi + 0x105d], 0
je 0x5157b9
mov bl, 1
push edi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5157dc
lea eax, [ebp - 4]
call fcn.00403c94
ret
Function at 0x515c78
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x515dba
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
push 0
mov eax, 0x51ba60
mov ecx, 1
mov edx, dword [0x515c64]
call fcn.004054b8
add esp, 4
call sub.kernel32.dll_GetLogicalDrives
mov edi, eax
xor esi, esi
mov ecx, esi
mov eax, 1
shl eax, cl
cmp edi, eax
jb 0x515d94
test eax, edi
je 0x515d8a
lea ebx, [esi + 0x41]
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.00403e3c
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 8]
mov ecx, 0x515dd4
call fcn.00403f60
mov eax, dword [ebp - 8]
call fcn.004040d8
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
je 0x515d15
cmp eax, 2
je 0x515d15
cmp eax, 4
jne 0x515d8a
cmp bl, 0x41
je 0x515d8a
cmp bl, 0x42
je 0x515d8a
lea eax, [ebp - 0x36]
xor ecx, ecx
mov edx, 0x1e
call fcn.00402c48
push 0x1e
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x1e
lea eax, [ebp - 0x36]
push eax
mov eax, dword [ebp - 8]
call fcn.004040d8
push eax
call sub.kernel32.dll_GetVolumeInformationA
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x36]
call fcn.004090e4
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
push eax
mov eax, 0x51ba60
mov ecx, 1
mov edx, dword [0x515c64]
call fcn.004054b8
add esp, 4
mov eax, dword [0x51ba60]
mov edx, dword [ebp - 4]
mov byte [eax + edx - 1], bl
inc esi
cmp esi, 0x1a
jne 0x515cc2
mov ebx, dword [ebp - 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x515dc1
lea eax, [ebp - 0x58]
call fcn.00403c94
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403cb8
ret
Function at 0x5166b0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe5c
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x1a4], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004040c8
xor eax, eax
push ebp
push 0x5167ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00403c94
mov eax, dword [ebp - 4]
call fcn.00403f14
test eax, eax
je 0x5167ce
mov eax, dword [ebp - 4]
call fcn.00403f14
cmp eax, 0x101
jge 0x5167ce
lea edx, [ebp - 0x1a4]
mov eax, dword [ebp - 4]
call fcn.0040876c
mov edx, dword [ebp - 0x1a4]
lea eax, [ebp - 0x109]
call fcn.00408fa4
mov eax, dword [ebp - 4]
call fcn.005165dc
test al, al
je 0x516742
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0040876c
jmp 0x5167ce
lea eax, [ebp - 0x109]
push eax
call sub.wsock32.dll_gethostbyname
mov esi, eax
test esi, esi
jne 0x516760
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00403ce8
jmp 0x5167ce
lea eax, [ebp - 0x189]
xor ecx, ecx
mov edx, 0x80
call fcn.00402c48
mov eax, dword [esi + 0xc]
mov edx, dword [eax]
lea eax, [ebp - 0x189]
mov ecx, 4
call fcn.00407394
lea edx, [ebp - 0x189]
lea eax, [ebp - 8]
mov ecx, 4
call fcn.00407394
lea eax, [ebp - 0x19d]
xor ecx, ecx
mov edx, 0x14
call fcn.00402c48
push dword [ebp - 8]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0x19d]
call fcn.00408f48
mov edx, ebx
lea eax, [ebp - 0x19d]
call fcn.004090e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5167f6
lea eax, [ebp - 0x1a4]
call fcn.00403c94
lea eax, [ebp - 4]
call fcn.00403c94
ret
Function at 0x45d920
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cec0b
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.004c315e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x45d9a2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004c07bd
mov eax, dword [eax]
push 0x4f5214
push eax
call fcn.004b3594
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c33e9
test bl, bl
je 0x45d9a2
push 0x4f5214
lea ecx, [esp + 0xc]
call fcn.004c3779
push 0x4f8d8c
lea ecx, [esp + 0xc]
call fcn.004c3779
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 0x45d9de
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c33e9
jmp 0x45daa9
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 0x45da62
lea edx, [esp + 0x7c]
push 0x4f8d88
push edx
call fcn.004b3594
add esp, 8
test eax, eax
je 0x45da62
lea eax, [esp + 0x7c]
push 0x4f8d84
push eax
call fcn.004b3594
add esp, 8
test eax, eax
je 0x45da62
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 0x45d9f2
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.004c33e9
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 0x45e2c0
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 0x45e322
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 0x45e330
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cec8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4ff3bc]
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 0x45e468
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x45e396
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c33e9
xor eax, eax
jmp 0x45e4df
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004c3526
push esi
lea ecx, [esp + 0xc]
call fcn.004c37b5
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 0x45e4bd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.0045e2c0
test eax, eax
jne 0x45e4bd
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 SysReAllocString
mov ecx, edi
call fcn.0045e2c0
test eax, eax
jne 0x45e4bd
lea eax, [esp + 0x14]
push 0x4f8da0
push eax
call fcn.004b46a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x45e49c
lea ecx, [esp + 0x14]
push 0x4f8d9c
push ecx
call fcn.004b4620
mov esi, eax
add esp, 8
test esi, esi
jne 0x45e49c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x45e49f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004c34d6
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x45e3ae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c33e9
xor eax, eax
jmp 0x45e4df
mov byte [esi], 0
push 0x4f8d98
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.004c33e9
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 0x475570
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 0x4755de
cmp si, 0x69
ja 0x4755de
add esi, 0xffd0
cmp si, 0x11
je 0x4755ae
push 0x11
call edi
test ax, ax
jge 0x4755ae
or esi, 0x2000
cmp si, 0x10
je 0x4755c3
push 0x10
call edi
test ax, ax
jge 0x4755c3
or esi, 0x4000
cmp si, 0x12
je 0x4755d8
push 0x12
call edi
test ax, ax
jge 0x4755d8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4755eb
mov esi, 0xbd
jmp 0x47559f
cmp si, 0x6e
jne 0x4755f8
mov esi, 0xbe
jmp 0x47559f
cmp si, 0x6f
jne 0x475599
mov esi, 0xbf
jmp 0x47559f

Function at 0x476e30
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x50fc60]
xor edx, edx
cmp eax, edx
jne 0x476e56
xor eax, eax
mov byte [eax + 0x50fb60], al
inc eax
cmp eax, 0x100
jl 0x476e3e
mov dword [0x50fc60], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x50fb60
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x476ee7
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 0x476eba
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 0x476e88
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x476f60
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 0x476fb3
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 0x476f9a
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