joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448d58
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcb8
push ebx
xor eax, eax
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x344], eax
mov dword [ebp - 0x348], eax
mov dword [ebp - 0x338], eax
mov dword [ebp - 0x33c], eax
mov dword [ebp - 0x334], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x448f28
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.00425124
mov ebx, eax
mov dword [ebp - 0x330], 0x128
lea edx, [ebp - 0x330]
mov eax, ebx
call fcn.00425144
test eax, eax
je 0x448ef7
jmp 0x448ee2
lea ecx, [ebp - 8]
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x328]
call fcn.00447e28
test al, al
je 0x448ee2
lea eax, [ebp - 0x334]
call fcn.00447fd8
mov edx, dword [ebp - 0x334]
mov eax, dword [ebp - 4]
call fcn.004050a8
jne 0x448ee2
push 0xff
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 0x328]
call fcn.0044807c
push eax
call sub.user32.dll_GetWindowTextA
push 0xff
lea eax, [ebp - 0x208]
push eax
mov eax, dword [ebp - 0x328]
call fcn.0044807c
push eax
call sub.user32.dll_GetClassNameA
lea eax, [ebp - 0x33c]
lea edx, [ebp - 0x208]
mov ecx, pe_nt_image_headers32
call fcn.00404ef0
mov eax, dword [ebp - 0x33c]
lea edx, [ebp - 0x338]
call fcn.0040ad50
mov edx, dword [ebp - 0x338]
mov eax, 0x448f3c
call fcn.0040525c
test eax, eax
jne 0x448ee2
push 0x448f4c
lea eax, [ebp - 0x344]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.00404ef0
push dword [ebp - 0x344]
push 0x448f58
lea eax, [ebp - 0x348]
lea edx, [ebp - 0x208]
mov ecx, pe_nt_image_headers32
call fcn.00404ef0
push dword [ebp - 0x348]
push 0x448f64
lea eax, [ebp - 0x340]
mov edx, 5
call fcn.00405014
mov edx, dword [ebp - 0x340]
mov eax, dword [0x47168c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x330]
mov eax, ebx
call fcn.00425164
test eax, eax
jne 0x448dce
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448f2f
lea eax, [ebp - 0x348]
mov edx, 6
call fcn.00404ca4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ca4
ret
Function at 0x448f68
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4490dc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, ebx
call fcn.00405110
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4490b9
mov eax, dword [ebp - 0xc]
call fcn.0040304c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4490b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x448fe5
call fcn.00404618
jmp 0x4490b9
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4490ec
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x449009
call fcn.00404618
jmp 0x4490b9
lea eax, [ebp - 4]
push eax
mov ebx, dword [ebp - 0x14]
movzx eax, word [ebx]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
movzx eax, word [ebx + 2]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x449110
call fcn.0040bf40
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x449124
push dword [ebp - 4]
push 0x449140
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00405014
mov eax, dword [ebp - 0x28]
call fcn.00405110
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x449095
push 0x44915c
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x14]
call fcn.00404e78
push dword [ebp - 0x2c]
push 0x44916c
mov eax, edi
mov edx, 3
call fcn.00405014
jmp 0x44909c
mov eax, edi
call fcn.00404c80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4490b9
mov eax, dword [ebp - 0x10]
call fcn.00403068
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4490e3
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00404ca4
lea eax, [ebp - 4]
call fcn.00404c80
ret
Function at 0x449174
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x6a
push 0
push 0
dec ecx
jne 0x44917c
push ecx
push ebx
push esi
lea esi, [ebp - 0x334]
xor eax, eax
push ebp
push 0x449346
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.00425124
mov ebx, eax
mov dword [esi], 0x128
mov edx, esi
mov eax, ebx
call fcn.00425144
test eax, eax
je 0x449304
lea edx, [ebp - 4]
mov eax, dword [esi + 8]
call fcn.00448d0c
jmp 0x449304
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
mov eax, dword [esi + 8]
call fcn.00447e28
test al, al
je 0x449304
lea eax, [ebp - 0x338]
call fcn.00447fd8
mov edx, dword [ebp - 0x338]
mov eax, dword [ebp - 8]
call fcn.004050a8
jne 0x449304
lea edx, [ebp - 4]
mov eax, dword [esi + 8]
call fcn.00448d0c
push 0xff
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [esi + 8]
call fcn.0044807c
push eax
call sub.user32.dll_GetWindowTextA
push 0xff
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [esi + 8]
call fcn.0044807c
push eax
call sub.user32.dll_GetClassNameA
lea edx, [ebp - 0x340]
mov eax, dword [0x46898c]
call fcn.0040b0e8
push dword [ebp - 0x340]
push 0x44935c
lea edx, [ebp - 0x344]
mov eax, dword [ebp - 4]
call fcn.0040b7e4
push dword [ebp - 0x344]
push 0x449368
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x34c]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.00404ef0
mov eax, dword [ebp - 0x34c]
mov ecx, 0x449378
mov edx, 0x449384
call fcn.0041becc
push dword [ebp - 0x348]
lea edx, [ebp - 0x350]
mov eax, dword [ebp - 4]
call fcn.00448f68
push dword [ebp - 0x350]
push 0x449390
lea edx, [ebp - 0x354]
mov eax, dword [0x471688]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push dword [ebp - 0x354]
lea eax, [ebp - 0x33c]
mov edx, 8
call fcn.00405014
mov edx, dword [ebp - 0x33c]
mov eax, dword [0x471688]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
inc dword [0x46898c]
mov edx, esi
mov eax, ebx
call fcn.00425164
test eax, eax
jne 0x4491cf
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44934d
lea eax, [ebp - 0x354]
mov edx, 8
call fcn.00404ca4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404ca4
ret
Function at 0x44b784
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00405100
xor eax, eax
push ebp
push 0x44b8f8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00449880
mov edi, eax
test edi, edi
je 0x44b8e2
movzx eax, byte [ebp + 0xc]
or al, bl
jne 0x44b7e3
cmp byte [ebp + 8], 0
jne 0x44b7e3
push 0
push edi
push pe_nt_image_headers32
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_PostMessageA
jmp 0x44b8e2
push 5
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_SetForegroundWindow
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, 0x80
setg byte [ebp - 5]
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, 0x80
setg byte [ebp - 6]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, 0x80
setg byte [ebp - 7]
cmp bl, byte [ebp - 5]
je 0x44b844
push 0
movzx eax, byte [ebp - 5]
add eax, eax
push eax
push 0
push 0x11
call sub.user32.dll_keybd_event
movzx eax, byte [ebp + 0xc]
cmp al, byte [ebp - 6]
je 0x44b85f
push 0
movzx eax, byte [ebp - 6]
add eax, eax
push eax
push 0
push 0x12
call sub.user32.dll_keybd_event
movzx eax, byte [ebp + 8]
cmp al, byte [ebp - 7]
je 0x44b87a
push 0
movzx eax, byte [ebp - 7]
add eax, eax
push eax
push 0
push 0x10
call sub.user32.dll_keybd_event
push 0
push 0
push 0
mov eax, edi
push eax
call sub.user32.dll_keybd_event
push 0
push 2
push 0
mov eax, edi
push eax
call sub.user32.dll_keybd_event
cmp bl, byte [ebp - 5]
je 0x44b8ac
push 0
movzx eax, bl
add eax, eax
push eax
push 0
push 0x11
call sub.user32.dll_keybd_event
movzx eax, byte [ebp + 0xc]
cmp al, byte [ebp - 6]
je 0x44b8c7
push 0
movzx eax, byte [ebp + 0xc]
add eax, eax
push eax
push 0
push 0x12
call sub.user32.dll_keybd_event
movzx eax, byte [ebp + 8]
cmp al, byte [ebp - 7]
je 0x44b8e2
push 0
movzx eax, byte [ebp + 8]
add eax, eax
push eax
push 0
push 0x10
call sub.user32.dll_keybd_event
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b8ff
lea eax, [ebp - 4]
call fcn.00404c80
ret

Function at 0x44badc
Capabilities:
Get token membership

Disassembly:
add esp, 0xfffffff8
lea eax, [esp + 4]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push 0x468c60
call sub.advapi32.dll_AllocateAndInitializeSid
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp], al
cmp byte [esp], 0
je 0x44bb31
push esp
mov eax, dword [esp + 8]
push eax
push 0
call sub.advapi32.dll_CheckTokenMembership
test al, al
jne 0x44bb27
mov byte [esp], 0
mov eax, dword [esp + 4]
push eax
call sub.advapi32.dll_FreeSid
movzx eax, byte [esp]
pop ecx
pop edx
ret

Function at 0x44bcfc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, eax
mov esi, edx
mov edi, ebx
sub esi, edi
sub esi, 5
push esp
push 0x40
push 5
push ebx
call sub.kernel32.dll_VirtualProtect
mov byte [ebx], 0xe9
inc edi
mov dword [edi], esi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x44bd24
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405100
xor eax, eax
push ebp
push 0x44bea5
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
xor edx, edx
mov eax, 2
call fcn.00425124
mov esi, eax
mov dword [ebp - 0x12c], 0x128
lea edx, [ebp - 0x12c]
mov eax, esi
call fcn.00425144
mov ebx, eax
jmp 0x44be71
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.00404ef0
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040b7e4
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.0040acc8
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.0040acc8
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.004050a8
je 0x44be48
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.00404ef0
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.0040acc8
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.0040acc8
mov edx, dword [ebp - 0x148]
pop eax
call fcn.004050a8
jne 0x44be62
push 0
mov eax, dword [ebp - 0x124]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edi, eax
lea edx, [ebp - 0x12c]
mov eax, esi
call fcn.00425164
mov ebx, eax
test ebx, ebx
jne 0x44bda3
push esi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44beac
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404ca4
lea eax, [ebp - 4]
call fcn.00404c80
ret

Function at 0x44beb8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x44bed1
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x44beca
mov edx, esp
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
lea eax, [ebp - 8]
push eax
push 0x40
lea edi, [esi + 1]
push edi
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x44bf0d
mov ecx, edi
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004032ac
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push edi
push ebx
call sub.kernel32.dll_VirtualProtect
mov al, 1
jmp 0x44bf0f
xor eax, eax
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x44c254
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x44c30f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov ecx, 0x44c324
mov edx, dword [0x4736e8]
call fcn.00404f98
mov eax, dword [ebp - 4]
call fcn.0040b668
test al, al
je 0x44c2f4
lea edx, [ebp - 8]
mov eax, 0x44c33c
call fcn.0041d440
mov eax, dword [ebp - 8]
call fcn.0044bd24
push 0x1f4
call sub.kernel32.dll_Sleep_2
push 0
lea edx, [ebp - 0x10]
mov eax, 0x44c33c
call fcn.0041d440
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, dword [0x4736e8]
call fcn.00404f98
mov eax, dword [ebp - 0xc]
call fcn.00405110
push eax
lea eax, [ebp - 0x14]
mov ecx, 0x44c324
mov edx, dword [0x4736e8]
call fcn.00404f98
mov eax, dword [ebp - 0x14]
call fcn.00405110
push eax
call sub.kernel32.dll_CopyFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c316
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404ca4
ret

Function at 0x44c34c
Capabilities:
Create process on windows
Create process suspended
Resume thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd88
xor edx, edx
mov dword [ebp - 0x278], edx
mov dword [ebp - 0x26c], edx
mov dword [ebp - 0x270], edx
mov dword [ebp - 0x274], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405100
xor eax, eax
push ebp
push 0x44c4bb
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0040cbc0
fstp qword [ebp - 0x10]
wait
push dword [ebp - 0xc]
push dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 0x44c4d0
call fcn.0040d7f4
lea edx, [ebp - 0x274]
xor eax, eax
call fcn.004034a8
mov eax, dword [ebp - 0x274]
lea edx, [ebp - 0x270]
call fcn.0040b75c
push dword [ebp - 0x270]
push dword [ebp - 4]
push 0x44c4dc
push dword [ebp - 8]
push 0x44c4e8
lea eax, [ebp - 0x26c]
mov edx, 5
call fcn.00405014
mov edx, dword [ebp - 0x26c]
lea eax, [ebp - 0x211]
call fcn.0040b9d8
lea eax, [ebp - 0x258]
xor ecx, ecx
mov edx, 0x44
call fcn.00403730
mov dword [ebp - 0x258], 0x44
mov dword [ebp - 0x22c], 1
mov word [ebp - 0x228], 5
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x278]
call fcn.0044bf1c
mov eax, dword [ebp - 0x278]
call fcn.00405110
push eax
push 0
push 4
push 0
push 0
push 0
lea eax, [ebp - 0x211]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x44c490
mov eax, dword [ebp - 0x264]
push eax
call sub.kernel32.dll_ResumeThread
mov eax, dword [ebp - 0x268]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x264]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c4c2
lea eax, [ebp - 0x278]
mov edx, 4
call fcn.00404ca4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ca4
ret
Function at 0x44da7c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x44da85
mov eax, dword [ebp - 4]
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405100
xor eax, eax
push ebp
push 0x44db76
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404c80
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0044da24
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x44db60
xor ecx, ecx
push ebp
push 0x44db59
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea edx, [ebp - 0x800c]
mov ecx, 0x8000
mov eax, dword [ebp - 0xc]
call fcn.0040b580
mov esi, eax
test si, si
jbe 0x44db2c
mov edx, esi
dec edx
test dx, dx
jb 0x44db2c
inc edx
lea eax, [ebp - 0x800c]
mov ecx, ebx
xor cl, byte [eax]
movzx ecx, cl
mov ecx, dword [ecx*4 + 0x468c80]
shr ebx, 8
and ebx, 0xffffff
xor ecx, ebx
mov ebx, ecx
inc eax
dec dx
jne 0x44db0b
test si, si
jne 0x44dae2
mov ecx, dword [ebp - 8]
mov eax, ebx
not eax
mov edx, 8
call fcn.0040b1fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44db60
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44db7d
lea eax, [ebp - 4]
call fcn.00404c80
ret
Function at 0x44e474
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405100
xor eax, eax
push ebp
push 0x44e5dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404c80
mov eax, dword [ebp - 4]
test eax, eax
je 0x44e4b0
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov eax, esi
shr eax, 0x1d
mov dword [ebp - 8], eax
mov eax, esi
add eax, eax
add eax, eax
add eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
mov edx, 0x44e5f4
call fcn.00404f4c
inc esi
mov eax, esi
and eax, 0x3f
mov ebx, 0x40
sub ebx, eax
dec ebx
test ebx, ebx
jb 0x44e4f5
inc ebx
lea eax, [ebp - 4]
mov edx, 0x44e600
call fcn.00404f4c
dec ebx
jne 0x44e4e5
and esi, 0x3f
cmp esi, 0x38
jbe 0x44e512
mov esi, 0x40
lea eax, [ebp - 4]
mov edx, 0x44e600
call fcn.00404f4c
dec esi
jne 0x44e502
mov edx, dword [ebp - 4]
mov eax, edx
test eax, eax
je 0x44e520
sub eax, 4
mov eax, dword [eax]
test eax, eax
jns 0x44e527
add eax, 3
sar eax, 2
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov dword [ecx + eax*4 - 4], ebx
mov eax, edx
test eax, eax
je 0x44e53f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jns 0x44e546
add eax, 3
sar eax, 2
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
mov dword [ecx + eax*4 - 8], ebx
mov dword [ebp - 0x1c], 0x67452301
mov dword [ebp - 0x18], 0xefcdab89
mov dword [ebp - 0x14], 0x98badcfe
mov dword [ebp - 0x10], 0x10325476
mov eax, edx
test eax, eax
je 0x44e57a
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
test ebx, ebx
jns 0x44e583
add ebx, 0x3f
sar ebx, 6
dec ebx
test ebx, ebx
jb 0x44e5a9
inc ebx
xor esi, esi
mov eax, dword [ebp - 4]
call fcn.00405110
mov edx, eax
mov ecx, esi
shl ecx, 6
lea eax, [ebp - 0x1c]
call fcn.0044dba0
inc esi
dec ebx
jne 0x44e58e
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.0044e408
mov eax, dword [ebp - 0x20]
mov edx, edi
call fcn.0040acc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e5e3
lea eax, [ebp - 0x20]
call fcn.00404c80
lea eax, [ebp - 4]
call fcn.00404c80
ret

Function at 0x452d14
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov byte [ebp - 5], cl
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405100
xor eax, eax
push ebp
push 0x452dbc
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 6], 0
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00452c10
mov ebx, eax
test ebx, ebx
je 0x452da6
push ebx
call sub.user32.dll_GetAsyncKeyState
shr ax, 8
cmp ax, 0x80
jb 0x452da6
push 0x11
call sub.user32.dll_GetAsyncKeyState
shr ax, 8
cmp ax, 0x7f
seta al
xor al, byte [ebp - 5]
jne 0x452da6
push 0x12
call sub.user32.dll_GetAsyncKeyState
shr ax, 8
cmp ax, 0x7f
seta al
xor al, byte [ebp + 0xc]
jne 0x452da6
push 0x10
call sub.user32.dll_GetAsyncKeyState
shr ax, 8
cmp ax, 0x7f
seta al
xor al, byte [ebp + 8]
jne 0x452da6
mov byte [ebp - 6], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452dc3
lea eax, [ebp - 4]
call fcn.00404c80
ret
Function at 0x452dd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00405100
mov eax, dword [ebp - 8]
call fcn.00405100
xor eax, eax
push ebp
push 0x452e9b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x44], 0x3c
mov dword [ebp - 0x40], 0x240
xor eax, eax
mov dword [ebp - 0x3c], eax
mov eax, 0x452eac
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
call fcn.00405110
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 8]
call fcn.00405110
mov dword [ebp - 0x30], eax
mov eax, 0x452eb4
mov dword [ebp - 0x2c], eax
mov eax, ebx
xor al, 1
movzx eax, al
xor eax, eax
movzx edx, bl
lea edx, [edx + edx*4]
add eax, edx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x44]
push eax
call sub.shell32.dll_ShellExecuteExA
cmp dword [ebp - 0x24], 0x20
seta bl
test bl, bl
je 0x452e80
test esi, esi
jbe 0x452e77
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0xffffffff
setne bl
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452ea2
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ca4
ret

Function at 0x452eb8
Capabilities:
Shutdown system

Disassembly:
push ebx
add esp, 0xffffffcc
mov ebx, edx
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
lea eax, [esp + 8]
push eax
push 0x452f40
push 0x452f54
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [esp + 0x14], 1
mov eax, dword [esp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 2
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x28]
push eax
push 0x10
lea eax, [esp + 0x20]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
mov eax, dword [esp]
push eax
call sub.kernel32.dll_CloseHandle
push 0
movzx eax, bl
add eax, eax
add eax, eax
add eax, 8
inc eax
push eax
call sub.user32.dll_ExitWindowsEx
add esp, 0x34
pop ebx
ret
Function at 0x45d678
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp esi, dword [ebx + 0xc]
je 0x45d744
mov eax, esi
sub eax, 1
je 0x45d697
add eax, 0xfffffffe
sub eax, 3
jae 0x45d709
mov edi, dword [ebx + 0x18]
mov eax, dword [edi + 0x2f64]
xor edx, edx
call fcn.00451a28
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
je 0x45d744
cmp dword [ebx + 0xc], 0
jne 0x45d6cb
cmp byte [edi + 0x2f7a], 0
je 0x45d6cb
mov eax, dword [ebx + 0x18]
call fcn.00454708
mov byte [edi + 0x2f78], 0
mov byte [edi + 0x2f79], 0
mov eax, dword [edi + 0x2f64]
call fcn.004517a8
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x2f64]
mov eax, dword [eax + 0x14]
mov dword [ebx + 0x14], eax
cmp dword [ebx + 0x10], 0
jne 0x45d709
cmp dword [ebx + 0x14], 0
jne 0x45d709
cmp esi, 5
jne 0x45d709
mov esi, 4
mov eax, esi
sub eax, 2
jne 0x45d720
cmp dword [ebx + 0xc], 0
je 0x45d744
mov eax, dword [ebx + 0x18]
mov byte [eax + 0x2f79], 1
mov eax, esi
test eax, eax
jne 0x45d741
mov eax, dword [ebx + 0x18]
mov byte [eax + 0x2f78], 1
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
push eax
push 0x45d468
call sub.user32.dll_EnumWindows
mov dword [ebx + 0xc], esi
pop edi
pop esi
pop ebx
ret

Function at 0x45ebac
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
xor eax, eax
push ebp
push 0x45ec57
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4696b8]
push eax
push 2
lea eax, [ebp - 2]
push eax
push 0x5be34c
mov eax, dword [0x469944]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_ReadProcessMemory
lea edx, [ebp - 8]
movzx eax, word [ebp - 2]
call fcn.0040b0e8
cmp word [ebp - 2], 0
jne 0x45ec04
xor eax, eax
mov dword [0x469598], eax
xor eax, eax
mov dword [0x46959c], eax
jmp 0x45ec3c
cmp dword [0x469598], 0
jne 0x45ec3c
push 3
push 0
lea edx, [ebp - 0xc]
mov eax, 0x45ec6c
call fcn.0041d440
mov eax, dword [ebp - 0xc]
call fcn.00405110
push eax
call sub.user32.dll_FindWindowA
push eax
call sub.user32.dll_ShowWindow
mov dword [0x469598], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ec5e
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404ca4
ret