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

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00406508
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00435a48
test ebx, ebx
jne 0x43ab33
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0043aa1c
mov ebx, eax
test ebx, ebx
je 0x43ac1e
cmp esi, ebx
je 0x43ab5c
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x43ab71
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x43aba9
add eax, 0xffffff5f
sub eax, 2
jb 0x43abc1
dec eax
sub eax, 2
jb 0x43abd5
dec eax
sub eax, 2
jb 0x43abcb
jmp 0x43abdf
add eax, 0xfffffdff
sub eax, 2
jb 0x43abc1
dec eax
sub eax, 2
jb 0x43abd5
dec eax
sub eax, 2
jb 0x43abcb
jmp 0x43abdf
mov byte [esp + 0x120], 0
jmp 0x43abe7
mov byte [esp + 0x120], 2
jmp 0x43abe7
mov byte [esp + 0x120], 1
jmp 0x43abe7
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00448214
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00437188
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x43ac20
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x43b88c
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 + 0x240], 0
je 0x43b8a8
cmp dword [esi + 4], 0
je 0x43b8d5
test byte [ebx + 0x55], 1
jne 0x43b8c7
mov eax, ebx
call fcn.00439ce0
test eax, eax
jne 0x43b8c7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43b9e5
mov edx, esi
mov eax, ebx
call fcn.0043b294
jmp 0x43b9e5
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 0x43b9de
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0043d8e4
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.00437188
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043b88c
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.0043d8e4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b9e5
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 0x4429c8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4da2b4]
cmp byte [eax + 0xc], 0
je 0x442b35
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x442b2e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4de544], 0
jne 0x442a1c
push 0x442b3c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x442b44
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4de544], eax
cmp dword [0x46e57c], 0
jne 0x442b17
push 0x442b54
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46e57c], eax
cmp dword [0x46e57c], 0
je 0x442b17
push 0x442b60
mov eax, dword [0x46e57c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4de548], eax
push 0x442b70
mov eax, dword [0x46e57c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4de54c], eax
push 0x442b84
mov eax, dword [0x46e57c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4de550], eax
push 0x442b9c
mov eax, dword [0x46e57c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4de554], eax
push 0x442bb4
mov eax, dword [0x46e57c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4de558], eax
push 0x442bc8
mov eax, dword [0x46e57c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4de55c], eax
push 0x442be0
mov eax, dword [0x46e57c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4de560], eax
push 0x442bf8
mov eax, dword [0x46e57c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4de564], eax
push 0x442c14
mov eax, dword [0x46e57c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4de568], eax
push 0x442c20
mov eax, dword [0x46e57c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4de56c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442b35
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44817c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4481d0]
test si, 4
je 0x448191
or bl, 1
test si, 8
je 0x44819b
or bl, 4
test si, 1
je 0x4481a5
or bl, 8
test si, 2
je 0x4481af
or bl, 0x10
test si, 0x10
je 0x4481b9
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4481c8
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4481d4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x448210]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4481ee
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4481fd
or bl, 4
test esi, 0x20000000
je 0x448208
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44f8c4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44f8d6
add esp, 0xfffffff0
call fcn.00403b98
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a030
mov eax, dword [0x4d9f60]
mov dword [eax + 4], ebx
mov dword [eax], 0x44fc68
mov eax, dword [0x4d9f6c]
mov dword [eax + 4], ebx
mov dword [eax], 0x44fc74
mov eax, ebx
call fcn.0044fc80
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411e2c]
call fcn.00403844
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411e2c]
call fcn.00403844
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411e2c]
call fcn.00403844
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411e2c]
call fcn.00403844
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411e2c]
call fcn.00403844
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, 0x44b718
push eax
push 0
push 0
mov eax, dword [0x4da0c8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41dbac]
call fcn.0041f328
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41dbac]
call fcn.0041f328
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41dbac]
call fcn.0041f328
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004500b0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44ff80
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44ff80
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44ff80
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44fa13
call fcn.00403bf0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44fd64
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 0x44ff0f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44fef0
mov dl, 1
mov eax, dword [0x412250]
call fcn.00403844
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004046a0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44fedf
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.00442d24
test al, al
je 0x44fed2
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, 0x44ff20
lea eax, [ebp - 0x254]
call fcn.00409244
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44fed2
xor eax, eax
push ebp
push 0x44fecb
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 0x44ff58
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44feb4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404910
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 0x44feb4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404910
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fed2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44fdd5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00415f30
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 0x44ff16
lea eax, [ebp - 0x260]
call fcn.004046a0
ret

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

Disassembly:
push ecx
mov eax, dword [0x4de57c]
cmp byte [eax + 0xad], 0
jne 0x4508f9
cmp dword [0x4de594], 0
jne 0x4508ba
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x450844
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4de594], eax
cmp dword [0x4de590], 0
jne 0x4508d5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4de590], eax
cmp dword [0x4de598], 0
jne 0x4508f9
push esp
push 0
push 0
push 0x4507e8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4de598], eax
pop edx
ret
Function at 0x450acc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x450ae3
add esp, 0xfffffff0
call fcn.00403b98
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a030
mov eax, dword [0x4da0b0]
cmp word [eax + 2], 0
jne 0x450b0b
mov eax, dword [0x4da0b0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045257c
mov eax, dword [0x4da160]
cmp word [eax + 2], 0
jne 0x450b25
mov eax, dword [0x4da160]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00452788
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411e2c]
call fcn.00403844
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411e2c]
call fcn.00403844
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x411e2c]
call fcn.00403844
mov dword [ebx + 0xb0], 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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41e5e4]
call fcn.00425ce8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x450cdc
mov eax, dword [0x4d9fd0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004260bc
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x452e48
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4d9fd0]
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.0040c9e8
test eax, eax
je 0x450c2c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408bfc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ca1c
test eax, eax
je 0x450c40
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404910
mov byte [ebx + 0xd4], 0
push ebx
push 0x4520dc
call fcn.0041b1ac
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4d9eb0]
cmp byte [eax], 0
jne 0x450c91
mov eax, ebx
call fcn.00450e20
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00453024
mov eax, ebx
call fcn.00453b84
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x450cd1
call fcn.00403bf0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4510a0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4de57c]
cmp dword [eax + 0x30], 0
je 0x45114a
cmp dword [ebx + 0x94], 0
jne 0x451144
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x451030
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x451144
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 0x45110a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x451144
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.004141d8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x451119
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x451e64
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x451e99
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.00404790
jmp 0x451ea6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046f4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x453208
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x453276
mov eax, esi
call fcn.0043dbe0
test al, al
je 0x453276
mov eax, dword [ebx + 0x84]
call fcn.0043d8e4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x453276
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45326a
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043d8e4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00435e28
jmp 0x453276
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00453044
pop esi
pop ebx
ret
Function at 0x456b7c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x456baa
mov eax, ebx
call fcn.00457630
cmp dword [ebx + 0x40], 0
je 0x456ba3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x456c1b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x456c0d
cmp dword [ebx + 8], 0
je 0x456bcc
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 0x456bde
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x456c0d
cmp dword [ebx + 8], 0
je 0x456bbf
cmp eax, 3
je 0x456bf1
dec eax
jne 0x456bbf
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 0x456bbf
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x456bbf
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x456c39
cmp dword [ebx + 0x14], 0xcc
je 0x456c39
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.00456c44
pop ebx
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44a004]
jne 0x40100a
repz ret
jmp fcn.0040130d

Function at 0x403f8b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44a004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00402540
and dword [ebp - 0x14], 0
cmp dword [0x44cadc], 0
mov dword [ebp - 0x18], eax
jne 0x40403e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4040e6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4040e6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x44cadc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x44cae0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44cae4], eax
call edi
push eax
call esi
mov dword [0x44caec], eax
test eax, eax
je 0x40403e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x44cae8], eax
mov eax, dword [0x44cae8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404097
cmp dword [0x44caec], ecx
je 0x404097
push eax
call esi
push dword [0x44caec]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404097
test ebx, ebx
je 0x404097
call edi
test eax, eax
je 0x40408e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40408e
test byte [ebp - 8], 1
jne 0x404097
or dword [ebp + 0x10], 0x200000
jmp 0x4040ca
mov eax, dword [0x44cae0]
cmp eax, dword [ebp - 0x18]
je 0x4040ca
push eax
call esi
test eax, eax
je 0x4040ca
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4040ca
mov eax, dword [0x44cae4]
cmp eax, dword [ebp - 0x18]
je 0x4040ca
push eax
call esi
test eax, eax
je 0x4040ca
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44cadc]
call esi
test eax, eax
je 0x4040e6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4040e8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret

Function at 0x409ce0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x44af60]
sub esp, 0x10
push esi
mov esi, dword [0x491ea8]
push edi
mov edi, dword [0x492184]
push eax
call fcn.00409bd0
add esp, 4
cmp dword [0x492184], 0x2f
jne 0x409d40
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.Bihux_nivew_zuziduzaz_winojego_roli
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
push esi
call fcn.00409c20
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x409fd0
Capabilities:
Get file size

Disassembly:
mov eax, dword [0x492184]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileSize]
xor esi, esi
nop
cmp eax, 0x8cf
jne 0x409ff2
push 0
push 0
call edi
mov eax, dword [0x492184]
cmp esi, 0x845013
jne 0x40a009
mov eax, dword [0x44bd80]
add eax, 0xa231
mov dword [0x492184], eax
cmp eax, 0x141
jne 0x40a024
mov dword [0x44d020], 0xec58acac
mov dword [0x44d024], 0xffffffff
inc esi
cmp esi, 0xbbe2a98
jl 0x409fe0
call fcn.00409d50
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x401b60
Capabilities:
Read file on windows

Disassembly:
xor eax, eax
cmp dword [0x476388], 0
je 0x401b6c
ret
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push dword [0x47671c]
call fcn.0040b5f0
add esp, 0x10
test edx, edx
js 0x401ba2
push dword [esp + 0x10]
push dword [esp + 8]
push dword [0x47671c]
call sub.api_ms_win_crt_stdio_l1_1_0.dll__read
add esp, 0xc
sar eax, 0x1f
ret
mov eax, 0xffffffff
ret
Function at 0x403be0
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
push dword [esp + 0x14]
call fcn.0040b8e0
add esp, 4
cmp dword [esp + 0x18], 0
je 0x403c58
test esi, esi
je 0x403c58
mov ebp, eax
push 0x104
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
test eax, eax
je 0x403c45
mov ebx, eax
mov eax, dword [ebp + 4]
push 0x104
push ebx
push esi
push edi
push ebp
call dword [eax]
add esp, 0x14
test eax, eax
js 0x403c4f
mov ecx, ebx
mov edx, eax
call fcn.00403c70
mov esi, eax
push ebx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov eax, esi
jmp 0x403c4a
mov eax, 0xfffffff4
pop esi
pop edi
pop ebx
pop ebp
ret
push ebx
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov ecx, edi
mov edx, esi
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00403c70