joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44caf4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040555c
mov eax, dword [ebp - 8]
call fcn.0040555c
mov eax, dword [ebp - 0xc]
call fcn.0040555c
xor eax, eax
push ebp
push 0x44ccee
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, 0x44cd08
mov eax, 0x80000000
call fcn.004283c8
lea eax, [ebp - 0x14]
call fcn.0044ad80
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x44
call fcn.00403758
lea eax, [ebp - 0x74]
xor ecx, ecx
mov edx, 0x10
call fcn.00403758
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], 1
mov word [ebp - 0x34], 3
lea eax, [ebp - 0x1c]
mov ecx, dword [0x55c700]
mov edx, 0x44cd2c
call fcn.004053b8
push 0x44cd3c
push dword [ebp - 4]
push 0x44cd4c
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 8]
call fcn.0044ca10
push dword [ebp - 0x78]
push 0x44cd60
lea eax, [ebp - 0x80]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.004053b8
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x7c]
call fcn.0044ca10
push dword [ebp - 0x7c]
lea eax, [ebp - 0x10]
mov edx, 6
call fcn.0040542c
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x44cd70
mov eax, dword [ebp - 0x14]
call fcn.00428184
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0x4000020
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.0040556c
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x44cca6
xor ebx, ebx
mov eax, dword [ebp - 0x74]
mov esi, eax
push 0x2710
push eax
call sub.user32.dll_WaitForInputIdle
push 0x7d0
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 0x6c]
call fcn.0043e518
test eax, eax
je 0x44cc75
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call sub.user32.dll_SetWindowPos
push 0xffffffffffffffff
push esi
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0xffffffff
je 0x44cc92
lea eax, [ebp - 0x20]
push eax
push esi
call sub.kernel32.dll_GetExitCodeProcess
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x44ccc3
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x84]
call fcn.0040e338
mov edx, dword [ebp - 0x84]
mov al, 4
call fcn.0043e248
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ccf5
lea eax, [ebp - 0x84]
mov edx, 4
call fcn.004050b4
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.004050b4
ret
Function at 0x44ddc0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.advapi32.dll_GetUserNameA
mov eax, ebx
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00405300
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44df08
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, ebx
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00405300
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44e738
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44e7ac
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
fild qword [ebp - 0x2c]
fdiv dword [0x44e7b8]
call fcn.00403130
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.0040a314
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov ecx, 0x44e7c4
call fcn.004053b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e7b3
lea eax, [ebp - 0x24]
call fcn.00405090
ret

Function at 0x44e7c8
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44e83c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x20
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
fild qword [ebp - 0x2c]
fdiv dword [0x44e848]
call fcn.00403130
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.0040a314
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov ecx, 0x44e854
call fcn.004053b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e843
lea eax, [ebp - 0x24]
call fcn.00405090
ret
Function at 0x453320
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x45341c
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, pe_nt_image_headers32
push ebx
lea eax, [ebp - 0x104]
push eax
call sub.user32.dll_GetFocus
push eax
call sub.user32.dll_GetWindowTextA
test eax, eax
jle 0x4533ef
mov eax, esi
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00405300
lea eax, [ebp - 0x10c]
call fcn.004532c8
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.00409d08
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 4]
call fcn.00409f80
mov edx, dword [ebp - 4]
mov eax, 0x453434
call fcn.004056b0
test eax, eax
jle 0x4533f6
push 0xfffffffffffffff0
call sub.user32.dll_GetFocus
push eax
call sub.user32.dll_GetWindowLongA
test al, 0x20
je 0x4533f6
mov eax, dword [esi]
call fcn.0040536c
mov edi, eax
test edi, edi
jbe 0x4533f6
mov ebx, 1
mov eax, esi
call fcn.004055c4
mov byte [eax + ebx - 1], 0x2a
inc ebx
dec edi
jne 0x4533dd
jmp 0x4533f6
mov eax, esi
call fcn.00405090
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453423
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.004050b4
lea eax, [ebp - 4]
call fcn.00405090
ret

Function at 0x455fbc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
lea edi, [ebp - 8]
call fcn.0043f394
mov edx, dword [eax]
mov dword [edi], edx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov ebx, dword [edi]
dec ebx
jmp 0x455fdd
dec ebx
test ebx, ebx
jl 0x455fea
mov eax, dword [edi + 4]
cmp dword [eax + ebx*8], 0
je 0x455fdc
mov esi, dword [edi + 4]
mov eax, dword [esi + ebx*8]
test eax, eax
je 0x456029
mov dword [0x55c660], eax
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
lea eax, [esi + ebx*8]
call fcn.00455e6c
push eax
call sub.kernel32.dll_VirtualProtect
lea eax, [esi + ebx*8]
call fcn.00455e6c
mov dword [0x55c6a8], eax
mov eax, 0x455f90
mov edx, dword [0x55c6a8]
mov dword [edx], eax
mov ebx, dword [edi]
dec ebx
jmp 0x45602f
dec ebx
test ebx, ebx
jl 0x45603d
mov eax, dword [edi + 4]
cmp dword [eax + ebx*8 + 4], 0
je 0x45602e
mov esi, dword [edi + 4]
mov eax, dword [esi + ebx*8 + 4]
test eax, eax
je 0x45606d
mov dword [0x55c664], eax
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
lea eax, [esi + ebx*8 + 4]
call fcn.00455e6c
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, 0x455fac
mov dword [esi + ebx*8 + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x458340
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 0x458346
ret
Function at 0x45ab74
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x45abc5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x45abac
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x45ab9c
jmp 0x45abc5
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x45abad
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4757dc
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040555c
xor eax, eax
push ebp
push 0x47590c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4758df
xor eax, eax
push ebp
push 0x4758d8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040536c
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4758ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x47589c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040536c
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.0040556c
mov edx, dword [ebp - 0xc]
pop ecx
call fcn.00402e14
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4758a3
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x559c3c]
mov dl, 1
mov eax, dword [0x408f54]
call fcn.0040ec3c
call fcn.00404a00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475913
lea eax, [ebp - 4]
call fcn.00405090
ret
Function at 0x47591c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x475acd
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.0040575c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x475ae4
call fcn.004053b8
mov eax, ebx
call fcn.0042595c
mov edi, eax
dec edi
test edi, edi
jl 0x4759d4
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00425930
mov edx, dword [0x4690d0]
call fcn.004042f4
test al, al
je 0x4759d0
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00425930
lea edx, [ebp - 0x14]
call fcn.0047cd6c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.0040575c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040542c
inc esi
dec edi
jne 0x475982
mov al, byte [0x475ae8]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x475af4
mov eax, dword [ebp - 0xc]
call fcn.00410134
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00405128
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0047cd6c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x475ae4
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.0047cd6c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x475ae4
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x475ae4
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x475b00
call fcn.0040b98c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475ad4
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004050b4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004050b4
lea eax, [ebp - 0x14]
call fcn.00405090
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004050b4
ret

Function at 0x477114
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x477060
call sub.user32.dll_EnumWindows
ret
Function at 0x477234
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4772b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00476c94
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x477259
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00476894
cmp dword [ebp - 4], 0
je 0x47729b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040556c
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4772b8
lea eax, [ebp - 4]
call fcn.00405090
ret

Function at 0x47a8a8
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 - 9]
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 [0x55d110], 0
je 0x47a9f7
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x55a084]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x47a9f7
mov eax, dword [0x55d114]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x55d110]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x47a9c6
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x55d110]
call fcn.0041c1f8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x47a9be
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x47a9be
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x47a9be
mov eax, dword [ebp - 0x14]
call fcn.004835c4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47a9be
push ebp
call fcn.0047a864
pop ecx
test al, al
jne 0x47a9be
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x47a97a
mov eax, dword [ebp - 0x14]
call fcn.004820f4
dec eax
jle 0x47a9be
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00404364
cmp byte [ebp - 1], 0
je 0x47a9be
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x47a9be
mov edx, dword [ebp - 0x14]
mov eax, dword [0x55d114]
call fcn.0047a030
inc edi
dec ebx
jne 0x47a90d
mov eax, dword [0x55d114]
cmp dword [eax + 8], 0
jle 0x47a9de
mov eax, dword [0x55d114]
call fcn.0047a0c0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x47a9f7
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0047a6cc
pop ecx
test al, al
jne 0x47a9f7
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 0x47e048
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x47e094
mov eax, esi
call fcn.0049497c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x47e094
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x47e094
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x47e1d3
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x47e0d4
cmp eax, 0x108
ja 0x47e0d4
mov eax, esi
call fcn.0049497c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x47e1ca
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x47e1d3
jmp 0x47e1ca
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x47e1b3
cmp eax, 0x20a
ja 0x47e1b3
test byte [esi + 0x50], 0x80
jne 0x47e106
sub eax, 0x203
je 0x47e103
sub eax, 3
je 0x47e103
sub eax, 3
jne 0x47e106
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x47e11a
dec eax
je 0x47e12f
dec eax
je 0x47e14c
dec eax
je 0x47e12f
jmp 0x47e153
mov ecx, ebx
mov eax, dword [0x55a084]
mov eax, dword [eax]
mov edx, esi
call fcn.0049e608
jmp 0x47e1ca
cmp byte [esi + 0x5d], 1
jne 0x47e145
mov eax, esi
mov si, 0xffed
call fcn.00404364
jmp 0x47e1d3
or word [esi + 0x54], 1
jmp 0x47e1ca
and word [esi + 0x54], 0xfffe
jmp 0x47e1ca
mov eax, dword [0x55d0cc]
cmp byte [eax + 0x20], 0
je 0x47e1ca
mov eax, dword [0x55d0cc]
cmp dword [eax + 0x1c], 0
je 0x47e1ca
mov eax, dword [ebx]
mov edx, dword [0x55d0cc]
cmp eax, dword [edx + 0x1c]
jne 0x47e1ca
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.004948a0
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00404364
jmp 0x47e1d3
cmp eax, 0xb00b
jne 0x47e1ca
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0047c90c
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x481754
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x481770
cmp dword [esi + 4], 0
je 0x48179d
test byte [ebx + 0x55], 1
jne 0x48178f
mov eax, ebx
call fcn.004802f4
test eax, eax
jne 0x48178f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4818ad
mov edx, esi
mov eax, ebx
call fcn.00481278
jmp 0x4818ad
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4818a6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004835c4
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0047df7c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00481754
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004835c4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4818ad
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x488094
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x55a33c]
cmp byte [eax + 0xc], 0
je 0x488201
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4881fa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x55d120], 0
jne 0x4880e8
push 0x488208
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x488210
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55d120], eax
cmp dword [0x553328], 0
jne 0x4881e3
push 0x488220
call sub.kernel32.dll_LoadLibraryA
mov dword [0x553328], eax
cmp dword [0x553328], 0
je 0x4881e3
push 0x48822c
mov eax, dword [0x553328]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55d124], eax
push 0x48823c
mov eax, dword [0x553328]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55d128], eax
push 0x488250
mov eax, dword [0x553328]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55d12c], eax
push 0x488268
mov eax, dword [0x553328]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55d130], eax
push 0x488280
mov eax, dword [0x553328]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55d134], eax
push 0x488294
mov eax, dword [0x553328]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55d138], eax
push 0x4882ac
mov eax, dword [0x553328]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55d13c], eax
push 0x4882c4
mov eax, dword [0x553328]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55d140], eax
push 0x4882e0
mov eax, dword [0x553328]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55d144], eax
push 0x4882ec
mov eax, dword [0x553328]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x55d148], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488201
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x48c61c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00405090
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x48c66b
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00405300
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x494810
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x494860]
test si, 4
je 0x494824
or bl, 1
test si, 8
je 0x49482e
or bl, 4
test si, 1
je 0x494838
or bl, 8
test si, 2
je 0x494842
or bl, 0x10
test si, 0x10
je 0x49484c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x49485b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret