joyce8/EMBER2024-capa huggingface dataset:
Function at 0x522500
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
xor eax, eax
push ebp
push 0x5225cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 4]
mov ecx, dword [ecx]
mov eax, ecx
test eax, eax
je 0x522527
sub eax, 4
mov eax, dword [eax]
mov edx, eax
test edx, edx
jns 0x522532
call fcn.00408644
mov eax, ecx
mov ecx, edx
add ecx, ecx
add ecx, eax
cmp ecx, eax
jbe 0x522550
movzx ebx, word [eax]
xor edx, ebx
imul edx, edx, 0x1000193
add eax, 2
cmp ecx, eax
ja 0x52253e
mov ebx, edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x20]
mov edx, ebx
call fcn.00527668
test al, al
je 0x52259b
lea ecx, [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x20]
mov edx, ebx
call fcn.00526ac4
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx]
call fcn.0040b7dc
jne 0x5225b3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 4]
call fcn.0040ac50
jmp 0x5225b3
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 4]
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x20]
mov edx, ebx
call fcn.00527230
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5225d2
lea eax, [ebp - 4]
call fcn.0040a870
pop eax
jmp eax

Function at 0x53a76c
Capabilities:
Initialize winsock library

Disassembly:
add esp, 0xfffffe70
push esp
push 0x202
call sub.wsock32.dll_WSAStartup
test eax, eax
je 0x53a78b
call sub.wsock32.dll_WSAGetLastError
call fcn.00536bb4
add esp, 0x190
ret
Function at 0x53a79c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x53a8c7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov esi, 1
test edx, edx
je 0x53a7da
inc esi
push 0x4bf
push edi
push 0
lea eax, [ebp - 0x10]
push eax
push esi
call sub.user32.dll_MsgWaitForMultipleObjects
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x53a802
call sub.wsock32.dll_WSAGetLastError
call fcn.00536bb4
jmp 0x53a8a3
cmp ebx, 0x102
jne 0x53a824
lea edx, [ebp - 0x30]
mov eax, dword [0x69a444]
call fcn.004107f8
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00536c10
jmp 0x53a8a3
cmp ebx, esi
jne 0x53a8a3
jmp 0x53a865
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_DispatchMessageW
cmp edi, 0xffffffff
je 0x53a865
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [ebp - 8]
cmp edi, eax
jge 0x53a865
lea edx, [ebp - 0x34]
mov eax, dword [0x69a444]
call fcn.004107f8
mov eax, dword [ebp - 0x34]
or edx, 0xffffffff
call fcn.00536c10
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_PeekMessageW
test eax, eax
jne 0x53a82a
cmp edi, 0xffffffff
je 0x53a8a3
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [ebp - 8]
cmp edi, eax
jge 0x53a8a3
lea edx, [ebp - 0x38]
mov eax, dword [0x69a444]
call fcn.004107f8
mov eax, dword [ebp - 0x38]
or edx, 0xffffffff
call fcn.00536c10
test ebx, ebx
sete al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53a8ce
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.0040a8d0
pop eax
jmp eax
Function at 0x53baa8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
lea edi, [ebp - 0x24]
mov eax, esi
call fcn.0053bb8c
cmp dword [eax + 0xc], 0
jle 0x53bb85
mov eax, esi
call fcn.0053bb8c
push dword [eax + 0xc]
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
imul eax, eax, 0x3e8
pop edx
mov ecx, edx
cdq
idiv ecx
mov ebx, eax
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x53bb7e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [esi + 8]
mov dword [ebp - 4], eax
call sub.KERNEL32.DLL_GetTickCount
mov esi, eax
push 0x4bf
push ebx
push 0
lea eax, [ebp - 4]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
sub eax, 1
jb 0x53bb65
je 0x53bb46
sub eax, 0x101
jne 0x53bb0c
jmp 0x53bb65
push edi
call sub.user32.dll_TranslateMessage
push edi
call sub.user32.dll_DispatchMessageW
call sub.KERNEL32.DLL_GetTickCount
sub eax, esi
cmp ebx, eax
jl 0x53bb58
push 1
push 0
push 0
push 0
push edi
call sub.user32.dll_PeekMessageW
test eax, eax
jne 0x53bb2f
call sub.KERNEL32.DLL_GetTickCount
sub eax, esi
cmp ebx, eax
jl 0x53bb65
jmp 0x53bb0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53bb85
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_SetLastError
pop eax
jmp eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5565d4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov ebx, ecx
mov esi, edx
xor eax, eax
push ebp
push 0x556674
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jg 0x556607
mov ecx, 0xc6
mov edx, 0x556690
mov eax, 0x55676c
call fcn.0040a6bc
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x404b1c]
call fcn.0040d73c
add esp, 4
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, esi
mov esi, dword [eax]
call dword [esi + 0xc]
push ebx
push 0x55679c
lea eax, [ebp - 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x530928]
call fcn.00531c78
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x30]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55667b
lea eax, [ebp - 8]
call fcn.0040a870
lea eax, [ebp - 4]
mov edx, dword [0x404b1c]
call fcn.0040d860
pop eax
jmp eax
Function at 0x57d23c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x57d55a
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x404b1c]
call fcn.0040d73c
add esp, 4
mov eax, dword [ebp - 4]
mov byte [eax], 0xd
mov eax, dword [ebp - 4]
mov byte [eax + 1], 0xa
mov eax, dword [ebp - 4]
mov byte [eax + 2], 0xd
mov eax, dword [ebp - 4]
mov byte [eax + 3], 0xa
push 2
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x404b1c]
call fcn.0040d73c
add esp, 4
mov eax, dword [ebp - 8]
mov byte [eax], 0xa
mov eax, dword [ebp - 8]
mov byte [eax + 1], 0xa
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.004c5270
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0xbc], edx
mov eax, dword [ebp - 0x10]
add eax, 0xc0
call fcn.0040a870
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0xb0]
mov edx, dword [ebp - 0x10]
mov byte [edx + 0xf0], al
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x50]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov byte [eax + 0x79], 0
mov eax, dword [ebp - 0x34]
mov byte [eax + 0x78], 0
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x30], edx
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x2c], edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x34]
call fcn.0053abec
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x44]
cdq
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], edx
xor eax, eax
push ebp
push 0x57d383
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57d38a
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0x34], edx
pop eax
jmp eax
Function at 0x581cd0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x581e8f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040ac98
mov eax, dword [ebp - 4]
call fcn.0058161c
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x581d22
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.0040b85c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00582924
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x581e03
xor eax, eax
push ebp
push 0x581dfc
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.005818bc
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00581ec4
test al, al
je 0x581dd8
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.0040a9f8
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x581dd8
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.0040b43c
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0058181c
test al, al
je 0x581dd2
mov eax, dword [ebp - 8]
call fcn.0040b43c
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040b4a0
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.00581cd0
dec ebx
cmp ebx, 0xffffffff
jne 0x581d81
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x581e03
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.005818bc
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
cmp byte [0x6a1b18], 0
je 0x581e43
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.0040b43c
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.005818a8
push eax
call sub.advapi32.dll_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0058181c
mov ebx, eax
jmp 0x581e6a
mov eax, dword [ebp - 4]
call fcn.0040b43c
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.005818a8
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0058181c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x581e96
lea eax, [ebp - 0x3c]
call fcn.0040a870
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a8d0
pop eax
jmp eax
Function at 0x582800
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.00581634
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.0040b43c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.0058181c
test al, al
jne 0x582868
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x69a218]
mov dl, 1
mov eax, dword [0x580400]
call fcn.0042c5e8
call fcn.00409f2c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x582874
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0040b43c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.0058181c
test al, al
jne 0x5828d5
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x69a5e0]
mov dl, 1
mov eax, dword [0x580400]
call fcn.0042c5e8
call fcn.00409f2c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00581664
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x582eec
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x583018
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.005818bc
xor eax, eax
push ebp
push 0x582ff1
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00581ec4
test al, al
je 0x582fd3
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00582dc4
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040a9f8
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x582fd3
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b43c
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0058181c
test al, al
je 0x582fcf
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b43c
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.0040b4a0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00582dc4
pop ecx
inc edi
dec ebx
jne 0x582f77
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x582ff8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.005818bc
pop eax
jmp eax
Function at 0x583028
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x583280
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.005818bc
xor eax, eax
push ebp
push 0x583254
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00581ec4
test al, al
je 0x583236
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040a9f8
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x583236
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b43c
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0058181c
test al, al
je 0x58322a
mov eax, dword [ebp - 4]
call fcn.0040b43c
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.0040b4a0
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00582924
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x58322a
xor eax, eax
push ebp
push 0x583223
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0xc]
call fcn.005818bc
xor eax, eax
push ebp
push 0x583203
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040b43c
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.0040b4a0
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005818c0
mov eax, dword [ebp - 4]
call fcn.0040b43c
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.0040b4a0
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00582924
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x5831de
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00582eec
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00583028
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5831e5
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x5830b3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x58325b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.005818bc
pop eax
jmp eax
Function at 0x58c4bc
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x58c4c2
ret

Function at 0x5932b4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, esi
call fcn.00593144
lea edx, [ebp - 0x22]
mov ecx, 0x16
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0x22], 0x9ac6cdd7
jne 0x5932f6
lea eax, [ebp - 0x22]
call fcn.0059017c
cmp ax, word [ebp - 0xe]
je 0x5932fb
call fcn.0058f114
sub dword [ebp - 8], 0x16
mov eax, dword [ebp - 8]
call fcn.00406ed8
mov dword [ebp - 0xc], eax
mov ebx, dword [esi + 0x30]
xor eax, eax
push ebp
push 0x593425
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [esi + 0x30]
movzx edx, word [ebp - 0x14]
mov word [eax + 0x18], dx
cmp word [ebp - 0x14], 0
jne 0x593341
mov word [ebp - 0x14], 0x60
movzx eax, word [ebp - 0x14]
push eax
push 0x9ec
movsx eax, word [ebp - 0x18]
movsx edx, word [ebp - 0x1c]
sub eax, edx
push eax
call sub.KERNEL32.DLL_MulDiv
mov dword [ebx + 0xc], eax
movzx eax, word [ebp - 0x14]
push eax
push 0x9ec
movsx eax, word [ebp - 0x16]
movsx edx, word [ebp - 0x1a]
sub eax, edx
push eax
call sub.KERNEL32.DLL_MulDiv
mov dword [ebx + 0x10], eax
mov dword [ebp - 0x34], 8
xor eax, eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SetWinMetaFileBits
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x5933b2
call fcn.0058f114
lea eax, [ebp - 0xa0]
push eax
push 0x6c
mov eax, dword [ebx + 8]
push eax
call sub.gdi32.dll_GetEnhMetaFileHeader
mov dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 8]
push eax
call sub.gdi32.dll_DeleteEnhMetaFile
lea eax, [ebp - 0x34]
push eax
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SetWinMetaFileBits
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x593406
call fcn.0058f114
mov byte [esi + 0x34], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x59342c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.00406ef4
pop eax
jmp eax
Function at 0x5c007c
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
cmp dword [0x6a1cf8], 0
je 0x5c01bd
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x69a308]
mov edx, dword [edx]
xor al, byte [edx + 0xd4]
je 0x5c01bd
mov eax, dword [0x6a1cfc]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x6a1cf8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x5c018c
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x6a1cf8]
call fcn.004bfdc4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x5c0184
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x21d], 0
je 0x5c0184
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x78]
test al, al
je 0x5c0184
mov eax, dword [ebp - 0x14]
call fcn.005cc950
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5c0184
push ebp
call fcn.005c0038
pop ecx
test al, al
jne 0x5c0184
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb8
call fcn.00408e50
test al, al
je 0x5c0184
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 si, 0xffb9
call fcn.00408e50
cmp byte [ebp - 1], 0
je 0x5c0184
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.00413d30
test al, al
je 0x5c0184
mov edx, dword [ebp - 0x14]
mov eax, dword [0x6a1cfc]
call fcn.005bf7b8
inc edi
dec ebx
jne 0x5c00e1
mov eax, dword [0x6a1cfc]
cmp dword [eax + 8], 0
jle 0x5c01a4
mov eax, dword [0x6a1cfc]
call fcn.005bf86c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x5c01bd
push ebp
mov eax, dword [ebp - 0x18]
call fcn.005bfea0
pop ecx
test al, al
jne 0x5c01bd
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 0x5c8dec
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.00414220
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.005c2714
test ebx, ebx
jne 0x5c8e3f
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.005c8d0c
mov ebx, eax
test ebx, ebx
je 0x5c8f35
cmp esi, ebx
je 0x5c8e68
mov eax, dword [esp]
sub eax, dword [ebx + 0x50]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x54]
mov dword [esp + 0x118], eax
jmp 0x5c8e7d
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 0x5c8eb5
add eax, 0xffffff5f
sub eax, 2
jb 0x5c8ecd
dec eax
sub eax, 2
jb 0x5c8ee1
dec eax
sub eax, 2
jb 0x5c8ed7
jmp 0x5c8eeb
add eax, 0xfffffdff
sub eax, 2
jb 0x5c8ecd
dec eax
sub eax, 2
jb 0x5c8ee1
dec eax
sub eax, 2
jb 0x5c8ed7
jmp 0x5c8eeb
mov byte [esp + 0x120], 0
jmp 0x5c8ef3
mov byte [esp + 0x120], 2
jmp 0x5c8ef3
mov byte [esp + 0x120], 1
jmp 0x5c8ef3
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0066d3a4
mov esi, eax
call fcn.005bee3c
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.005c4298
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x5c8f37
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret