joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434d58
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 0x434da4
mov eax, esi
call fcn.0044a304
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x434da4
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x434da4
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 0x434ee3
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x434de4
cmp eax, 0x108
ja 0x434de4
mov eax, esi
call fcn.0044a304
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x434eda
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x434ee3
jmp 0x434eda
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x434ec3
cmp eax, 0x20a
ja 0x434ec3
test byte [esi + 0x50], 0x80
jne 0x434e16
sub eax, 0x203
je 0x434e13
sub eax, 3
je 0x434e13
sub eax, 3
jne 0x434e16
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x434e2a
dec eax
je 0x434e3f
dec eax
je 0x434e5c
dec eax
je 0x434e3f
jmp 0x434e63
mov ecx, ebx
mov eax, dword [0x485aac]
mov eax, dword [eax]
mov edx, esi
call fcn.00453b40
jmp 0x434eda
cmp byte [esi + 0x5d], 1
jne 0x434e55
mov eax, esi
mov si, 0xffed
call fcn.00403554
jmp 0x434ee3
or word [esi + 0x54], 1
jmp 0x434eda
and word [esi + 0x54], 0xfffe
jmp 0x434eda
mov eax, dword [0x486b14]
cmp byte [eax + 0x20], 0
je 0x434eda
mov eax, dword [0x486b14]
cmp dword [eax + 0x1c], 0
je 0x434eda
mov eax, dword [ebx]
mov edx, dword [0x486b14]
cmp eax, dword [edx + 0x1c]
jne 0x434eda
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.0044a248
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.00403554
jmp 0x434ee3
cmp eax, 0xb00b
jne 0x434eda
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00433678
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 0x438450
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 0x43846c
cmp dword [esi + 4], 0
je 0x438499
test byte [ebx + 0x55], 1
jne 0x43848b
mov eax, ebx
call fcn.00436ff0
test eax, eax
jne 0x43848b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4385a9
mov edx, esi
mov eax, ebx
call fcn.00437f74
jmp 0x4385a9
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 0x4385a2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043a2c0
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.00434c8c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00438450
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.0043a2c0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4385a9
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 0x43ea5c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x485d04]
cmp byte [eax + 0xc], 0
je 0x43ebc9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43ebc2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x486b68], 0
jne 0x43eab0
push 0x43ebd0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43ebd8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486b68], eax
cmp dword [0x484b38], 0
jne 0x43ebab
push 0x43ebe8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x484b38], eax
cmp dword [0x484b38], 0
je 0x43ebab
push 0x43ebf4
mov eax, dword [0x484b38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486b6c], eax
push 0x43ec04
mov eax, dword [0x484b38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486b70], eax
push 0x43ec18
mov eax, dword [0x484b38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486b74], eax
push 0x43ec30
mov eax, dword [0x484b38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486b78], eax
push 0x43ec48
mov eax, dword [0x484b38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486b7c], eax
push 0x43ec5c
mov eax, dword [0x484b38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486b80], eax
push 0x43ec74
mov eax, dword [0x484b38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486b84], eax
push 0x43ec8c
mov eax, dword [0x484b38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486b88], eax
push 0x43eca8
mov eax, dword [0x484b38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486b8c], eax
push 0x43ecb4
mov eax, dword [0x484b38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x486b90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ebc9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x442a54
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.004040a8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x442aa3
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.00404318
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44a1b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44a208]
test si, 4
je 0x44a1cc
or bl, 1
test si, 8
je 0x44a1d6
or bl, 4
test si, 1
je 0x44a1e0
or bl, 8
test si, 2
je 0x44a1ea
or bl, 0x10
test si, 0x10
je 0x44a1f4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a203
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44a20c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44a244]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a225
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a234
or bl, 4
test esi, 0x20000000
je 0x44a23f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4508ec
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4508fe
add esp, 0xfffffff0
call fcn.0040367c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d62c
mov eax, dword [0x4857dc]
mov dword [eax + 4], ebx
mov dword [eax], 0x450c90
mov eax, dword [0x4857e8]
mov dword [eax + 4], ebx
mov dword [eax], 0x450c9c
mov eax, ebx
call fcn.00450ca8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415358]
call fcn.00403328
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415358]
call fcn.00403328
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415358]
call fcn.00403328
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415358]
call fcn.00403328
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415358]
call fcn.00403328
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, 0x44d0c4
push eax
push 0
push 0
mov eax, dword [0x4859f0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41f078]
call fcn.00420714
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41f078]
call fcn.00420714
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41f078]
call fcn.00420714
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00451158
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450fec
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450fec
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450fec
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x450a3b
call fcn.004036d4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x450dd0
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 0x450f7b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x450f5c
mov dl, 1
mov eax, dword [0x41582c]
call fcn.00403328
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004040a8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x450f4b
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.0043edbc
test al, al
je 0x450f3e
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, 0x450f8c
lea eax, [ebp - 0x254]
call fcn.004090f4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x450f3e
xor eax, eax
push ebp
push 0x450f37
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 0x450fc4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x450f20
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404318
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 0x450f20
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404318
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450f3e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x450e41
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041981c
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 0x450f82
lea eax, [ebp - 0x260]
call fcn.004040a8
ret

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

Disassembly:
push ecx
mov eax, dword [0x486bb4]
cmp byte [eax + 0xa5], 0
jne 0x451969
cmp dword [0x486bcc], 0
jne 0x45192a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4518b4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x486bcc], eax
cmp dword [0x486bc8], 0
jne 0x451945
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x486bc8], eax
cmp dword [0x486bd0], 0
jne 0x451969
push esp
push 0
push 0
push 0x451858
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x486bd0], eax
pop edx
ret
Function at 0x451a60
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x451a77
add esp, 0xfffffff0
call fcn.0040367c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d62c
mov eax, dword [0x4859d0]
cmp word [eax + 2], 0
jne 0x451a9f
mov eax, dword [0x4859d0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00453138
mov eax, dword [0x485ae0]
cmp word [eax + 2], 0
jne 0x451ab9
mov eax, dword [0x485ae0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00453330
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415358]
call fcn.00403328
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415358]
call fcn.00403328
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41fa80]
call fcn.00426e58
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x451c40
mov eax, dword [0x48586c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00427228
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4538d0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x48586c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040cc68
test eax, eax
je 0x451bae
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408ad4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cc90
test eax, eax
je 0x451bc2
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404318
mov eax, dword [0x485688]
cmp byte [eax], 0
jne 0x451bf6
mov eax, ebx
call fcn.00451d68
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00453aac
mov eax, ebx
call fcn.00454470
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x451c36
call fcn.004036d4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451fe8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x486bb4]
cmp dword [eax + 0x30], 0
je 0x452092
cmp dword [ebx + 0x94], 0
jne 0x45208c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x451f78
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45208c
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 0x452052
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45208c
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.004177fc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x452061
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x452bf4
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 0x452c29
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.00404198
jmp 0x452c36
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004040fc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x453c88
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x453cc9
mov eax, esi
call fcn.0043a5c4
test al, al
je 0x453cc9
mov eax, dword [ebx + 0x84]
call fcn.0043a2c0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x453cc9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043a2c0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4825f4
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 0x90]
cmp eax, 5
jb 0x482639
cmp dword [ebp - 0x8c], 0
jbe 0x482630
mov byte [0x485644], 8
jmp 0x4826ad
mov byte [0x485644], 7
jmp 0x4826ad
cmp eax, 3
jbe 0x4826ad
cmp dword [ebp - 0x84], 2
jne 0x482650
mov byte [0x485644], 1
jmp 0x4826ad
and dword [ebp - 0x88], 0xffff
mov eax, dword [ebp - 0x8c]
cmp eax, 0x5a
jb 0x48266e
mov byte [0x485644], 6
jmp 0x4826ad
cmp eax, 0xa
jb 0x482691
cmp dword [ebp - 0x88], 0x8ae
jb 0x482688
mov byte [0x485644], 5
jmp 0x4826ad
mov byte [0x485644], 4
jmp 0x4826ad
cmp dword [ebp - 0x88], 0x3e8
jb 0x4826a6
mov byte [0x485644], 3
jmp 0x4826ad
mov byte [0x485644], 2
mov esp, ebp
pop ebp
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.0040bbb3
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.0040bbb3
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.0040bbb3
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.0040bbb3
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.0040bbb3
mov dword [0x41203c], eax
call fcn.0040bbb3
test eax, eax
jge 0x402550
push 8
call fcn.0040bbb3
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.0040bbb3
pop ecx
push 1
call fcn.0040bbb3
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.0040bbb3
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.0040bbb3
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.0040bbb3
jmp 0x402495

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x100027c5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
and ecx, 0xfffffffc
mov esp, ecx
mov ebp, dword [esp + 0x30]
mov ecx, 0xfffffff8
mov eax, 2
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
add ebx, 0xb10
mov esi, dword [edx - 4]
mov dword [edx - 4], 0xfffffffe
mov dword [ebx - 0xa44], 0xffffffff
jmp 0x100026fb
Function at 0x10009040
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10138018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [0x10329250]
push esi
push eax
mov dword [edi + 0x154], 1
lea eax, [edi + 0x15c]
lea ebx, [edi + 0x154]
push eax
call fcn.100d3260
add esp, 0xc
mov dword [edi + 0x158], esi
add esi, 8
je 0x10009112
mov eax, dword [edi]
test eax, eax
je 0x100090c1
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x100090c1
test ebx, ebx
je 0x100090c1
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x100090c1
cmp dword [ebp - 8], esi
je 0x10009112
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x100090e1
mov eax, dword [edi + 4]
cmp eax, 3
je 0x100090d5
cmp eax, 1
jne 0x100090e1
lea eax, [edi + 0x54]
push eax
push dword [edi + 0x50]
call ecx
add esp, 8
mov esi, dword [edi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0xffffffff
xor al, al
mov byte [esi], 0
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008550c
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008550c
mov esp, ebp
pop ebp
ret 8
Function at 0x1000c0f0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x60]
mov dword [esi], vtable.CAntiHack.0
test eax, eax
je 0x1000c11c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x60], 0
test byte [ebp + 8], 1
je 0x1000c12d
push 0x64
push esi
call fcn.100858b9
add esp, 8
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x1000c3a0
Capabilities:
Get disk information
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x10138018]
xor eax, esp
mov dword [esp + 0x38], eax
push esi
push 0
push 0
push 0
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x5045454
push eax
push 0
push 0
push 0x1012a424
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
lea eax, [esp + 8]
push eax
call dword [sym.imp.RPCRT4.dll_UuidCreateSequential]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx ecx, word [esp + 0x3a]
movzx eax, word [esp + 0x38]
shl ecx, 0x10
or ecx, eax
movzx eax, word [esp + 0x16]
xor ecx, 0xb542d8e1
push ecx
movzx ecx, word [esp + 0x1c]
shl ecx, 0x10
or ecx, eax
mov eax, dword [esp + 0x16]
xor eax, 0x5d78a569
xor ecx, 0xf45bc123
push ecx
push eax
mov eax, dword [esp + 0x10]
xor eax, 0x12b586fe
push eax
lea eax, [esi + 4]
push str._08X__08X__08X__08X
push eax
call fcn.1000c4e0
mov ecx, dword [esp + 0x54]
add esp, 0x18
pop esi
xor ecx, esp
call fcn.1008550c
mov esp, ebp
pop ebp
ret