joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4575cc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x457604]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4575e5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4575f4
or bl, 4
test esi, 0x20000000
je 0x4575ff
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x457654
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00457608
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret

Function at 0x45dce8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45dcfa
add esp, 0xfffffff0
call fcn.00403ad4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422198
mov eax, dword [0x497b8c]
mov dword [eax + 4], ebx
mov dword [eax], 0x45e08c
mov eax, dword [0x497b98]
mov dword [eax + 4], ebx
mov dword [eax], 0x45e098
mov eax, ebx
call fcn.0045e0a4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416b58]
call fcn.0040372c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416b58]
call fcn.0040372c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416b58]
call fcn.0040372c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416b58]
call fcn.0040372c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416b58]
call fcn.0040372c
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45a4bc
push eax
push 0
push 0
mov eax, dword [0x497d0c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x423c98]
call fcn.00425430
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x423c98]
call fcn.00425430
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x423c98]
call fcn.00425430
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045e4f4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e3bc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e3bc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45e3bc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45de37
call fcn.00403b2c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45e1a0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45e34b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45e32c
mov dl, 1
mov eax, dword [0x4171bc]
call fcn.0040372c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004045c8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45e31b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044bb0c
test al, al
je 0x45e30e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45e35c
lea eax, [ebp - 0x254]
call fcn.0040994c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45e30e
xor eax, eax
push ebp
push 0x45e307
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45e394
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45e2f0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404838
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45e2f0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404838
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e30e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45e211
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041bc20
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e352
lea eax, [ebp - 0x260]
call fcn.004045c8
ret

Function at 0x45ec94
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x498b80]
cmp byte [eax + 0xa5], 0
jne 0x45ed05
cmp dword [0x498b98], 0
jne 0x45ecc6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45ec50
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x498b98], eax
cmp dword [0x498b94], 0
jne 0x45ece1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x498b94], eax
cmp dword [0x498b9c], 0
jne 0x45ed05
push esp
push 0
push 0
push 0x45ebf4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x498b9c], eax
pop edx
ret
Function at 0x45f398
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x498b80]
cmp dword [eax + 0x30], 0
je 0x45f442
cmp dword [ebx + 0x94], 0
jne 0x45f43c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45f328
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45f43c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45f402
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45f43c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419430
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45f411
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45ffa0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45ffd5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004046b8
jmp 0x45ffe2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040461c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4610f4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x461135
mov eax, esi
call fcn.004470a4
test al, al
je 0x461135
mov eax, dword [ebx + 0x84]
call fcn.00446da0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x461135
push 0
mov eax, dword [ebx + 0x84]
call fcn.00446da0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4670d4
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
mov al, byte [ebp + 8]
call fcn.00466e50
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.00404a88
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x467132
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x497d18]
mov dl, 1
mov eax, dword [0x466d74]
call fcn.0040c450
call fcn.00403f3c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x478de0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x478e51
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x497110]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x478e3b
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.00478dd0
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x477550]
call fcn.00479ca8
mov dword [0x497178], eax
mov eax, dword [ebp - 4]
call fcn.00478c50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478e58
lea eax, [ebp - 8]
call fcn.00405fa4
ret

Function at 0x478ef0
Capabilities:
Get file system object information

Disassembly:
push esi
add esp, 0xfffffea0
mov esi, 0x4008
test cl, cl
je 0x478f03
or esi, 2
test dl, dl
je 0x478f0c
or esi, 0
jmp 0x478f0f
or esi, 1
push esi
push 0x160
lea edx, [esp + 8]
push edx
push 0
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [esp + 4]
add esp, 0x160
pop esi
ret
Function at 0x479b30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404a78
xor eax, eax
push ebp
push 0x479c8c
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 1
mov edx, dword [ebx]
mov eax, dword [0x477338]
call fcn.004156d4
test eax, eax
jl 0x479b97
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebx]
call fcn.00478ed4
and eax, 0x7f
mov eax, dword [eax*4 + 0x497110]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
mov esi, eax
jmp 0x479bfe
mov eax, dword [ebx]
call fcn.00404888
test eax, eax
jle 0x479bfe
mov eax, dword [ebx]
call fcn.00404888
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x3a
jne 0x479bbe
mov eax, ebx
mov edx, 0x479ca4
call fcn.00404890
mov eax, dword [ebx]
call fcn.00404888
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
call fcn.004053f4
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x1c]
call fcn.00478dd0
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov esi, eax
test esi, esi
je 0x479c49
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x20]
mov eax, dword [0x497af4]
call fcn.00406468
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebx]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
lea edx, [ebp - 0x28]
xor ecx, ecx
pop eax
call fcn.004099e4
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040461c
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x4079e0]
call fcn.0040c358
call fcn.00403f3c
mov eax, dword [ebp - 0xc]
call fcn.00479aa8
mov ebx, eax
test edi, edi
je 0x479c5e
mov eax, edi
call fcn.0040375c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479c93
lea eax, [ebp - 0x20]
call fcn.004045c8
lea eax, [ebp - 0x1c]
call fcn.00405fa4
lea eax, [ebp - 0x18]
call fcn.004045c8
lea eax, [ebp - 4]
call fcn.004045c8
ret

Function at 0x47a870
Capabilities:
Create process on windows

Disassembly:
push ebx
add esp, 0xffffffc4
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x3c
call fcn.0040316c
mov dword [esp], 0x3c
mov eax, dword [0x497da0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0xc
mov eax, dword [ebx + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 5
push esp
call sub.shell32.dll_ShellExecuteExA
add esp, 0x3c
pop ebx
ret
Function at 0x47b398
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47b504
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x497f38]
mov eax, dword [eax]
mov ax, word [eax + 0x44]
mov word [ebp - 0x16], ax
mov eax, dword [0x497f38]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.0045e464
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.0046bf28
xor edx, edx
push ebp
push 0x47b4e7
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x47b455
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x10]
call fcn.00405fa4
push eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x344]
call fcn.004794f0
push eax
mov eax, dword [0x497da0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
test eax, eax
je 0x47b44b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.00403fe8
jmp 0x47b4ee
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47b493
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.0046baf4
mov ebx, eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0047b228
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x47b46d
push 0
mov edx, 0x47b1c0
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.0046b6ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b4ee
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.0046bf74
mov eax, dword [0x497f38]
mov eax, dword [eax]
mov dx, word [ebp - 0x16]
call fcn.0045e464
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b50b
lea eax, [ebp - 0x10]
call fcn.00405fa4
ret
Function at 0x4817ec
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x48181a
mov eax, ebx
call fcn.004822a0
cmp dword [ebx + 0x40], 0
je 0x481813
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x48188b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x48187d
cmp dword [ebx + 8], 0
je 0x48183c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x48184e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48187d
cmp dword [ebx + 8], 0
je 0x48182f
cmp eax, 3
je 0x481861
dec eax
jne 0x48182f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x48182f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x48182f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4818a9
cmp dword [ebx + 0x14], 0xcc
je 0x4818a9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004818b4
pop ebx
ret
Function at 0x4926f0
Capabilities:
Copy file
Get common file path
Get startup folder
Write file to startup folder

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x28
push 0
push 0
dec ecx
jne 0x4926f8
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4928ca
push dword fs:[eax]
mov dword fs:[eax], esp
nop
nop
nop
nop
nop
nop
nop
push 0xffffffffffffffff
push 7
lea eax, [ebp - 0x108]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
lea edx, [ebp - 0x10c]
xor eax, eax
call fcn.00402eb4
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 8]
call fcn.0040911c
mov eax, ebx
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.00404838
lea ecx, [ebp - 0x13c]
xor edx, edx
mov eax, 0x4928e0
call fcn.004920cc
mov edx, dword [ebp - 0x13c]
lea ecx, [ebp - 0x138]
mov eax, 0x4928ec
call fcn.004920cc
mov edx, dword [ebp - 0x138]
lea ecx, [ebp - 0x134]
mov eax, 0x4928e0
call fcn.004920cc
mov edx, dword [ebp - 0x134]
lea ecx, [ebp - 0x130]
mov eax, 0x4928f8
call fcn.004920cc
mov edx, dword [ebp - 0x130]
lea ecx, [ebp - 0x12c]
mov eax, 0x492904
call fcn.004920cc
mov edx, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
mov eax, 0x492910
call fcn.004920cc
mov edx, dword [ebp - 0x128]
lea ecx, [ebp - 0x124]
mov eax, 0x49291c
call fcn.004920cc
mov edx, dword [ebp - 0x124]
lea ecx, [ebp - 0x120]
mov eax, 0x492928
call fcn.004920cc
mov edx, dword [ebp - 0x120]
lea ecx, [ebp - 0x11c]
mov eax, 0x492934
call fcn.004920cc
mov edx, dword [ebp - 0x11c]
lea ecx, [ebp - 0x118]
mov eax, 0x492940
call fcn.004920cc
mov edx, dword [ebp - 0x118]
lea ecx, [ebp - 0x114]
mov eax, 0x49294c
call fcn.004920cc
mov edx, dword [ebp - 0x114]
lea ecx, [ebp - 0x110]
mov eax, 0x492958
call fcn.004920cc
mov eax, dword [ebp - 0x110]
push eax
lea eax, [ebp - 0x140]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.00404838
mov edx, dword [ebp - 0x140]
lea eax, [ebp - 4]
pop ecx
call fcn.004048d4
push 0
mov eax, dword [ebp - 4]
call fcn.00404a88
push eax
mov eax, dword [ebp - 8]
call fcn.00404a88
push eax
call sub.kernel32.dll_CopyFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4928d1
lea eax, [ebp - 0x140]
mov edx, 0xe
call fcn.004045ec
lea eax, [ebp - 8]
mov edx, 2
call fcn.004045ec
ret

Function at 0x4930dc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a78
xor eax, eax
push ebp
push 0x493145
push dword fs:[eax]
mov dword fs:[eax], esp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404a88
push eax
call sub.kernel32.dll_GetVolumeInformationA
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49314c
lea eax, [ebp - 4]
call fcn.004045c8
ret
Function at 0x4935a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404a78
mov eax, dword [ebp - 8]
call fcn.00404a78
xor eax, eax
push ebp
push 0x4936be
push dword fs:[eax]
mov dword fs:[eax], esp
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 4]
call fcn.00404888
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
call fcn.00404888
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jle 0x493607
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, edi
mov edx, dword [ebp - 0x10]
call fcn.00404c14
mov esi, dword [ebp - 0x14]
test esi, esi
jle 0x49363c
mov ebx, 1
mov eax, edi
call fcn.00404ae0
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
mov ecx, dword [ebp - 8]
mov cl, byte [ecx + ebx - 1]
xor dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x49361d
cmp byte [ebp - 9], 0
je 0x493674
mov ebx, dword [ebp - 0x14]
inc ebx
mov esi, dword [ebp - 0x10]
sub esi, ebx
jl 0x4936a3
inc esi
mov eax, edi
call fcn.00404ae0
mov edx, ebx
sub edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + edx - 1]
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx - 1]
xor dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x49364e
jmp 0x4936a3
mov ebx, dword [ebp - 0x14]
inc ebx
mov esi, dword [ebp - 0x10]
sub esi, ebx
jl 0x4936a3
inc esi
mov eax, edi
call fcn.00404ae0
mov edx, ebx
sub edx, dword [ebp - 0x14]
mov ecx, dword [edi]
mov dl, byte [ecx + edx - 1]
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx - 1]
xor dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x493680
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4936c5
lea eax, [ebp - 8]
mov edx, 2
call fcn.004045ec
ret
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
jmp 0x50a204