joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46571c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4154d0]
call fcn.00404a68
xor eax, eax
push ebp
push 0x465860
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d20b4], 0
jne 0x46576f
mov ecx, dword [0x4d2c18]
mov dl, 1
mov eax, dword [0x407590]
call fcn.0040beb4
call fcn.00403950
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402bcc
mov eax, ebx
call fcn.00404820
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x465870
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405b00
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404830
test eax, eax
jle 0x465807
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x465800
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404220
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404208
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004083e8
test eax, eax
jne 0x465800
mov ebx, 0x15
jmp 0x46580c
mov ebx, 0x10
jmp 0x46580c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4d20b4]
call fcn.00465674
mov eax, dword [ebp - 8]
call fcn.00465674
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405b18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465867
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00403fbc
lea eax, [ebp - 0x10]
mov edx, dword [0x4154d0]
call fcn.00404b38
ret
Function at 0x4739e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4739e8
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x473bda
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x473bf0
mov eax, esi
call fcn.00471770
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00403fec
lea ecx, [ebp - 0x10]
mov edx, 0x473c04
mov eax, esi
call fcn.00471770
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00403fec
lea ecx, [ebp - 0x14]
mov edx, 0x473c1c
mov eax, esi
call fcn.00471770
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00403fec
lea ecx, [ebp - 0x18]
mov edx, 0x473c38
mov eax, esi
call fcn.00471770
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00403fec
lea ecx, [ebp - 0x1c]
mov edx, 0x473c54
mov eax, esi
call fcn.00471770
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00403fec
lea ecx, [ebp - 0x24]
mov edx, 0x473c6c
mov eax, esi
call fcn.00471770
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408458
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408838
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x473c84
mov eax, esi
call fcn.00471770
mov eax, dword [ebp - 0x28]
call fcn.00470888
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x473c94
mov eax, esi
call fcn.00471770
mov eax, dword [ebp - 0x2c]
call fcn.00470888
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x473cac
mov eax, esi
call fcn.00471770
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408838
inc eax
je 0x473b7d
lea ecx, [ebp - 0x34]
mov edx, 0x473cac
mov eax, esi
call fcn.00471770
mov eax, dword [ebp - 0x34]
call fcn.004087fc
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.00409d34
fstp qword [ebp - 0x3c]
wait
call fcn.0040a098
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x473b98
lea ecx, [ebp - 0x40]
mov edx, 0x473cac
mov eax, esi
call fcn.00471770
mov eax, dword [ebp - 0x40]
call fcn.00470888
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x473cbc
mov eax, esi
call fcn.00471770
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00403fec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473be1
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00403fbc
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00403fbc
ret
Function at 0x47fe78
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x47fed2
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0047fe68
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0046f4f4
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0046f0f4
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47fed9
lea eax, [ebp - 4]
call fcn.00403f98
ret

Function at 0x48dbf4
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 0x48dcae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004046a4
mov eax, dword [0x4d2ce0]
cmp byte [eax], 0
je 0x48dc63
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404a04
mov eax, dword [ebx]
call fcn.00404830
push eax
mov eax, dword [ebx]
call fcn.00404820
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404830
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404a04
jmp 0x48dc95
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.00408f74
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404810
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48dcb5
lea eax, [ebp - 0x3f0]
call fcn.00403f98
ret

Function at 0x48dcbc
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.00408f74
add esp, 0x3ec
pop ebx
ret

Function at 0x48de7c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebp, eax
mov edx, esi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
cmp dword [esi + 0xc], 0
jne 0x48df42
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0045a770
mov ebx, eax
mov dx, word [esi + 4]
mov eax, ebp
call fcn.0048db38
mov edi, eax
test edi, edi
je 0x48dedb
mov al, byte [0x48df50]
cmp al, bl
jne 0x48dedb
mov edx, edi
mov eax, ebp
call fcn.0048da70
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x48df42
cmp byte [ebp + 0x161], 2
jne 0x48df06
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4d326c]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov edx, 0xb006
call fcn.00444b00
test eax, eax
jne 0x48df42
jmp 0x48df3d
mov edx, dword [0x4d30e8]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0x48df3d
test byte [eax + 0x2f4], 8
jne 0x48df3d
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4d30e8]
mov eax, edx
mov edx, 0xb006
call fcn.00444b00
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x49423c
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 [0x4d326c]
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
jne 0x4942e2
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x494281
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4942bd
jmp 0x494285
pop edx
pop eax
jge 0x4942bd
mov eax, dword [0x4d326c]
mov eax, dword [eax]
mov dword [eax + 0x38], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0048ec70
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x4942e2
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4942e2
cmp dword [ebx + 0x11c], 0
je 0x4942e2
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.004301cc
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x49b170
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 0x49b22a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004046a4
mov eax, dword [0x4d2ce0]
cmp byte [eax], 0
je 0x49b1df
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404a04
mov eax, dword [ebx]
call fcn.00404830
push eax
mov eax, dword [ebx]
call fcn.00404820
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404830
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404a04
jmp 0x49b211
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.00408f74
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404810
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b231
lea eax, [ebp - 0x3f0]
call fcn.00403f98
ret

Function at 0x49e484
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x49e4de
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2cc], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x2bc], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c8]
mov eax, esi
call fcn.0049e4e8
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e4e5
ret
Function at 0x4a4d00
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 0x4a4d36
jmp 0x4a4ddc
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 0x4a4d7a
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x184], 0
je 0x4a4d7a
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x184]
mov eax, dword [eax + 0x14]
jmp 0x4a4d8a
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x180]
test edx, edx
je 0x4a4d8a
mov eax, dword [edx + 0x14]
test eax, eax
je 0x4a4da3
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.004a16a4
jmp 0x4a4ddc
mov dl, 1
mov eax, dword [0x42117c]
call fcn.00423160
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.00423bd0
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xc4]
mov eax, dword [esi + 0x10]
call fcn.00422d10
mov edx, esp
mov eax, esi
call fcn.00423864
mov eax, esi
call fcn.004031c4
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x4a75e0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.0044a280
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.0044386c
pop ebx
ret
Function at 0x4b1c10
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
cmp byte [ebx + 0x98], 0
je 0x4b1c36
push 0
mov eax, dword [ebx + 0x94]
call fcn.0044a280
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x98], 0
pop ebx
ret

Function at 0x4b1cf0
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 0x4b1e61
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xa4], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x4b1e46
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.00408f74
mov dl, 1
mov eax, dword [0x48820c]
call fcn.00488264
mov edx, dword [ebp - 4]
mov dword [edx + 0x9c], eax
mov dl, 1
mov eax, dword [0x4168c0]
call fcn.00403194
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xa0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.004882e0
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x4b1e43
mov dl, 1
mov eax, dword [0x489708]
call fcn.00489770
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 + 0x9c]
mov edx, 0x4b1e78
call fcn.00488a48
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004042a4
xor eax, eax
push ebp
push 0x4b1e3c
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.00489a70
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004b1e80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1e43
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.004031c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.004031c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004031c4
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1e68
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403fbc
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetTickCount
mov ebx, eax
mov eax, dword [0x4d30e8]
mov eax, dword [eax]
call fcn.004633cc
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp esi, eax
jge 0x4b39e3
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetTickCount
mov ebx, eax
mov eax, dword [0x4d30e8]
mov eax, dword [eax]
call fcn.004633cc
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp esi, eax
jge 0x4ba5b7
pop esi
pop ebx
ret
Function at 0x43adc0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x50bfeb
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.004fc2b3
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x43ae42
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004f986f
mov eax, dword [eax]
push 0x56c2f8
push eax
call fcn.004d5304
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004fc53e
test bl, bl
je 0x43ae42
push 0x56c2f8
lea ecx, [esp + 0xc]
call fcn.004fc91a
push 0x56fe90
lea ecx, [esp + 0xc]
call fcn.004fc91a
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 0x43ae7e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004fc53e
jmp 0x43af49
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 0x43af02
lea edx, [esp + 0x7c]
push 0x56fe8c
push edx
call fcn.004d5304
add esp, 8
test eax, eax
je 0x43af02
lea eax, [esp + 0x7c]
push 0x56fe88
push eax
call fcn.004d5304
add esp, 8
test eax, eax
je 0x43af02
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 0x43ae92
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.004fc53e
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 0x43b740
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 0x43b7a2
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 0x43b7b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x50c06b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5b1a48]
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 0x43b8e8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x43b816
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004fc53e
xor eax, eax
jmp 0x43b95f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004fc6c7
push esi
lea ecx, [esp + 0xc]
call fcn.004fc956
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 0x43b93d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0043b740
test eax, eax
jne 0x43b93d
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.0043b740
test eax, eax
jne 0x43b93d
lea eax, [esp + 0x14]
push 0x56fea4
push eax
call fcn.004d6670
mov esi, eax
add esp, 8
test esi, esi
jne 0x43b91c
lea ecx, [esp + 0x14]
push 0x56fea0
push ecx
call fcn.004d65f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x43b91c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43b91f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004fc677
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43b82e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004fc53e
xor eax, eax
jmp 0x43b95f
mov byte [esi], 0
push 0x56fe9c
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.004fc53e
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 0x44fcc0
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 0x44fd2e
cmp si, 0x69
ja 0x44fd2e
add esi, 0xffd0
cmp si, 0x11
je 0x44fcfe
push 0x11
call edi
test ax, ax
jge 0x44fcfe
or esi, 0x2000
cmp si, 0x10
je 0x44fd13
push 0x10
call edi
test ax, ax
jge 0x44fd13
or esi, 0x4000
cmp si, 0x12
je 0x44fd28
push 0x12
call edi
test ax, ax
jge 0x44fd28
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x44fd3b
mov esi, 0xbd
jmp 0x44fcef
cmp si, 0x6e
jne 0x44fd48
mov esi, 0xbe
jmp 0x44fcef
cmp si, 0x6f
jne 0x44fce9
mov esi, 0xbf
jmp 0x44fcef

Function at 0x4514f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5c3bc8]
xor edx, edx
cmp eax, edx
jne 0x451516
xor eax, eax
mov byte [eax + 0x5c3ac8], al
inc eax
cmp eax, 0x100
jl 0x4514fe
mov dword [0x5c3bc8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5c3ac8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4515a7
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 0x45157a
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 0x451548
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x451620
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 0x451673
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 0x45165a
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