joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c65ec
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c670d
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetVersion_1
mov edx, dword [0x4e8090]
mov dword [edx], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [0x4e8090]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x4c6724
call fcn.00409b24
mov eax, dword [ebp - 4]
call fcn.004dd138
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x4e7d5c]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, dword [0x4e8050]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x4c6740
call fcn.00409b24
mov eax, dword [ebp - 0x10]
call fcn.004dd138
call sub.kernel32.dll_GetCurrentThreadId_1
mov esi, eax
push esi
push 0
push 0x4c6208
push 5
call sub.user32.dll_SetWindowsHookExA
mov dword [ebx + 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x4c6760
call fcn.00409b24
mov eax, dword [ebp - 0x24]
call fcn.004dd138
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x4c6778
call fcn.00409b24
mov eax, dword [ebp - 0x28]
call fcn.004dd138
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6714
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00404344
lea eax, [ebp - 0x10]
call fcn.00404320
lea eax, [ebp - 4]
call fcn.00404320
ret

Function at 0x4ce2ac
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x4ce2e2
jmp 0x4ce388
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x4ce326
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x144], 0
je 0x4ce326
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x144]
mov eax, dword [eax + 0x14]
jmp 0x4ce336
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x140]
test edx, edx
je 0x4ce336
mov eax, dword [edx + 0x14]
test eax, eax
je 0x4ce34f
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.004cbb18
jmp 0x4ce388
mov dl, 1
mov eax, dword [0x427dbc]
call fcn.00429d20
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.0042a5f4
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xac]
mov eax, dword [esi + 0x10]
call fcn.004298b0
mov edx, esp
mov eax, esi
call fcn.0042a174
mov eax, esi
call fcn.0040342c
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x4cff48
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.0045db34
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x264], 0
pop ebx
ret
Function at 0x4d3780
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebp, eax
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0046e69c
mov ebx, eax
mov dx, word [esi + 4]
mov eax, ebp
call fcn.004d34a8
mov edi, eax
test edi, edi
je 0x4d37cd
mov al, byte [0x4d3810]
cmp al, bl
jne 0x4d37cd
mov edx, edi
mov eax, ebp
call fcn.004d3450
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x4d3803
cmp byte [ebp + 0x165], 2
jne 0x4d37f6
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4e8124]
mov eax, dword [eax]
mov eax, dword [eax + 0x4c]
mov edx, 0xb006
call fcn.00458368
test eax, eax
jne 0x4d3803
xor eax, eax
mov dword [esi + 0xc], eax
mov edx, esi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4d6eb0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4d6f6a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404a2c
mov eax, dword [0x4e7c24]
cmp byte [eax], 0
je 0x4d6f1f
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404dbc
mov eax, dword [ebx]
call fcn.00404be8
push eax
mov eax, dword [ebx]
call fcn.00404bd8
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404be8
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404dbc
jmp 0x4d6f51
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00409634
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404bc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d6f71
lea eax, [ebp - 0x3f0]
call fcn.00404320
ret

Function at 0x4d6f78
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.00409634
add esp, 0x3ec
pop ebx
ret
Function at 0x4d83fc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
call fcn.00469654
mov edi, eax
dec edi
test edi, edi
jl 0x4d84af
inc edi
xor esi, esi
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.00469664
mov eax, dword [eax + 0xc]
sub eax, 1
jb 0x4d8446
je 0x4d8467
dec eax
je 0x4d8488
jmp 0x4d84a7
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.00469664
cmp byte [ebx + 0x168], 0
setne dl
call fcn.00469580
jmp 0x4d84a7
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.00469664
cmp byte [ebx + 0x168], 1
setne dl
call fcn.00469580
jmp 0x4d84a7
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.00469664
cmp byte [ebx + 0x168], 2
setne dl
call fcn.00469580
inc esi
dec edi
jne 0x4d8427
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x88]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x8c]
cdq
cmp edx, dword [esp + 4]
jne 0x4d84d4
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4d8543
jmp 0x4d84d8
pop edx
pop eax
jge 0x4d8543
mov eax, dword [0x4e8124]
mov eax, dword [eax]
mov dword [eax + 0x40], 2
mov esi, 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x13c]
test byte [eax + 0x4c], 4
je 0x4d851f
cmp byte [ebx + 0x165], 2
je 0x4d851f
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov eax, dword [ebx + 0xf8]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4d8568
push 0
mov eax, dword [ebx + 0x130]
push eax
push 0
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
push esi
mov eax, dword [ebx + 0x108]
push eax
call sub.user32.dll_TrackPopupMenu
jmp 0x4d8568
cmp dword [ebx + 0x120], 0
je 0x4d8568
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.00437d60
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x130]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4e2310
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e2481
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x8c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4e2466
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00409634
mov dl, 1
mov eax, dword [0x4c48b4]
call fcn.004c490c
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b5ec]
call fcn.004033fc
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x88]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.004c4988
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4e2463
mov dl, 1
mov eax, dword [0x4c5384]
call fcn.004c53ec
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, 0x4e2498
call fcn.004c4cd4
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040462c
xor eax, eax
push ebp
push 0x4e245c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004c56ec
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004e24a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e2463
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0040342c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.0040342c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0040342c
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e2488
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404344
ret
Function at 0x40111b
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.0041a0b6
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0041a0b6
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.0041a0b6
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x20], esp
mov eax, 0
call fcn.0041a0c2
cmp dword [ebp - 0x20], esp
je 0x4011d8
push 6
call fcn.0041a0bc
add esp, 4
mov dword [ebp - 4], eax
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4011f1
push ebx
call fcn.0041a0c8
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 1
call fcn.0041a0c2
cmp dword [ebp - 0x20], esp
je 0x401220
push 6
call fcn.0041a0bc
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x4a0c58
mov eax, 2
call fcn.0041a0c2
cmp dword [ebp - 0x20], esp
je 0x40124a
push 6
call fcn.0041a0bc
add esp, 4
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 2
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0x1c
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 3
call fcn.0041a0c2
cmp dword [ebp - 0x20], esp
je 0x4012de
push 6
call fcn.0041a0bc
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 4
call fcn.0041a0c2
cmp dword [ebp - 0x20], esp
je 0x401303
push 6
call fcn.0041a0bc
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x40130b
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40131c
push ebx
call fcn.0041a0c8
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0041a0c8
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0041a0c8
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.0041a0c8
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x407725
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.0041a0b6
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0041a0b6
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.0041a0b6
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x20], esp
mov eax, 0x14
call fcn.0041a0c2
cmp dword [ebp - 0x20], esp
je 0x4077e2
push 6
call fcn.0041a0bc
add esp, 4
mov dword [ebp - 4], eax
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4077fb
push ebx
call fcn.0041a0c8
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0x15
call fcn.0041a0c2
cmp dword [ebp - 0x20], esp
je 0x40782a
push 6
call fcn.0041a0bc
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x4a0c58
mov eax, 0x16
call fcn.0041a0c2
cmp dword [ebp - 0x20], esp
je 0x407854
push 6
call fcn.0041a0bc
add esp, 4
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 2
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0x1c
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 0x17
call fcn.0041a0c2
cmp dword [ebp - 0x20], esp
je 0x4078e8
push 6
call fcn.0041a0bc
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 0x18
call fcn.0041a0c2
cmp dword [ebp - 0x20], esp
je 0x40790d
push 6
call fcn.0041a0bc
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x407915
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x407926
push ebx
call fcn.0041a0c8
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0041a0c8
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0041a0c8
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.0041a0c8
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x424840
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49a70b
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.0048f0d9
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4248c2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048cff0
mov eax, dword [eax]
push 0x588234
push eax
call fcn.0047f064
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048f364
test bl, bl
je 0x4248c2
push 0x588234
lea ecx, [esp + 0xc]
call fcn.0048f6f4
push 0x58bdb4
lea ecx, [esp + 0xc]
call fcn.0048f6f4
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 0x4248fe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048f364
jmp 0x4249c9
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 0x424982
lea edx, [esp + 0x7c]
push 0x58bdb0
push edx
call fcn.0047f064
add esp, 8
test eax, eax
je 0x424982
lea eax, [esp + 0x7c]
push 0x58bdac
push eax
call fcn.0047f064
add esp, 8
test eax, eax
je 0x424982
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 0x424912
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.0048f364
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 0x4251c0
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 0x425222
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 0x425230
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49a78b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x599a88]
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 0x425368
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x425296
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048f364
xor eax, eax
jmp 0x4253df
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048f4a1
push esi
lea ecx, [esp + 0xc]
call fcn.0048f730
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 0x4253bd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004251c0
test eax, eax
jne 0x4253bd
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 closesocket
mov ecx, edi
call fcn.004251c0
test eax, eax
jne 0x4253bd
lea eax, [esp + 0x14]
push 0x58bdc8
push eax
call fcn.004800a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42539c
lea ecx, [esp + 0x14]
push 0x58bdc4
push ecx
call fcn.00480020
mov esi, eax
add esp, 8
test esi, esi
jne 0x42539c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42539f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048f451
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4252ae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048f364
xor eax, eax
jmp 0x4253df
mov byte [esi], 0
push 0x58bdc0
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.0048f364
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 0x436e20
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 0x436e8e
cmp si, 0x69
ja 0x436e8e
add esi, 0xffd0
cmp si, 0x11
je 0x436e5e
push 0x11
call edi
test ax, ax
jge 0x436e5e
or esi, 0x2000
cmp si, 0x10
je 0x436e73
push 0x10
call edi
test ax, ax
jge 0x436e73
or esi, 0x4000
cmp si, 0x12
je 0x436e88
push 0x12
call edi
test ax, ax
jge 0x436e88
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x436e9b
mov esi, 0xbd
jmp 0x436e4f
cmp si, 0x6e
jne 0x436ea8
mov esi, 0xbe
jmp 0x436e4f
cmp si, 0x6f
jne 0x436e49
mov esi, 0xbf
jmp 0x436e4f

Function at 0x438650
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5aa128]
xor edx, edx
cmp eax, edx
jne 0x438676
xor eax, eax
mov byte [eax + 0x5aa028], al
inc eax
cmp eax, 0x100
jl 0x43865e
mov dword [0x5aa128], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5aa028
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x438707
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 0x4386da
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 0x4386a8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x438780
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 0x4387d3
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 0x4387ba
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