joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4335cd
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x20c
push 0x104
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00433244
lea edx, [ebp - 0x20c]
push edx
call fcn.004111c1
add esp, 0x10
test eax, eax
je 0x433615
cmp word [ebp + eax*2 - 0x20e], 0x5c
lea eax, [ebp + eax*2 - 0x20e]
jne 0x433615
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4336bb
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
jne 0x43364f
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
je 0x433654
mov al, 1
mov esp, ebp
pop ebp
ret
cmp eax, 3
jne 0x4336bf
push esi
push edi
lea edi, [ebp - 0x20c]
call fcn.00410160
mov esi, eax
push 0x5c
push esi
call fcn.00413e8a
add esp, 8
test eax, eax
jne 0x433683
push esi
call fcn.004111dc
add esp, 4
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push ebx
xor ecx, ecx
push esi
mov word [eax], cx
call fcn.004335cd
push esi
mov bl, al
call fcn.004111dc
add esp, 8
test bl, bl
je 0x4336b2
push 0
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
setne bl
mov al, bl
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test al, 0x10
jne 0x433649
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x433998
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4339b2
test al, 0x10
je 0x4339b2
mov al, 1
pop ebp
ret
xor al, al
pop ebp
ret

Function at 0x4339b6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4339f5
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x4339ea
or eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [esp + 8]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x433d9e
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x102c
call fcn.00422240
lea eax, [ebp - 4]
push eax
push 0x800
lea ecx, [ebp - 0x102c]
push ecx
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x433dcb
xor al, al
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push ebx
push edi
mov edi, dword [ebp - 4]
push eax
shr edi, 2
mov byte [edx], 0
call fcn.00433d5f
add esp, 4
xor ebx, ebx
mov dword [ebp - 0xc], eax
test edi, edi
je 0x433ed8
push esi
jmp 0x433dfe
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 0
jne 0x433ed7
mov edx, dword [ebp + ebx*4 - 0x102c]
push edx
push 0
push 0x410
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
lea eax, [ebp - 4]
push eax
push 4
lea ecx, [ebp - 8]
push ecx
push esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
mov eax, dword [ebp - 8]
push 0x104
lea edx, [ebp - 0x424]
push edx
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
test eax, eax
je 0x433ec7
lea ecx, [ebp - 0x628]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x424]
push edx
call fcn.00413a0e
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x218]
push ecx
call fcn.00411536
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x218]
push eax
call fcn.004114ab
add esp, 0x24
test eax, eax
jne 0x433eaa
mov edx, dword [ebp + ebx*4 - 0x102c]
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
jmp 0x433ec1
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x433ec7
mov eax, dword [ebp + ebx*4 - 0x102c]
cmp ecx, eax
jne 0x433ec7
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 1
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
inc ebx
cmp ebx, edi
jb 0x433dfe
pop esi
pop edi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433ee0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x840
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
push 0
push 2
mov dword [ebp - 0x234], 0x22c
call dword [sym.imp.KERNEL32.DLL_CreateToolhelp32Snapshot]
mov edi, eax
lea eax, [ebp - 0x234]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_Process32FirstW]
mov ecx, dword [ebp + 8]
push ecx
mov byte [esi], 0
call fcn.00433d5f
add esp, 4
cmp byte [esi], 0
mov ebx, eax
jne 0x433fbe
lea ecx, [ecx]
lea edx, [ebp - 0x234]
push edx
push edi
call dword [sym.imp.KERNEL32.DLL_Process32NextW]
cmp eax, 1
jne 0x433fbe
lea eax, [ebp - 0x63c]
push eax
lea ecx, [ebp - 0x438]
push ecx
lea edx, [ebp - 0x840]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.00413a0e
lea edx, [ebp - 0x63c]
push edx
lea eax, [ebp - 0x438]
push eax
call fcn.00411536
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x438]
push edx
call fcn.004114ab
add esp, 0x24
test eax, eax
jne 0x433f9f
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x433fb2
test ebx, ebx
je 0x433fb5
mov eax, dword [ebp - 0x22c]
cmp ebx, eax
jne 0x433fb5
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov byte [esi], 1
cmp byte [esi], 0
je 0x433f30
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x433fce
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [ebp - 8]
push eax
push 0x1f4
push 2
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x43402f
lea ecx, [ebp - 4]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [ebp - 4]
push edx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x434418
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, dword [ebp + 8]
mov esi, eax
cmp edi, esi
jne 0x43443c
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
test esi, esi
jne 0x43444e
push esi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x434462
push 9
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
mov dword [ebp - 8], 0
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x43455c
push ebx
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call esi
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov ebx, eax
mov eax, dword [ebp + 8]
push 0
push eax
call esi
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push ebx
mov dword [ebp - 4], eax
call esi
push 1
push edi
push ebx
call esi
mov ecx, dword [ebp - 4]
push 1
push ecx
push edi
call esi
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x434531
push eax
push eax
push eax
push 0x12
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push 0x12
call dword [sym.imp.USER32.dll_keybd_event]
push 0
push 2
push 0
push 0x12
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push 0x12
call dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0
push 0x12
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push 0x12
call dword [sym.imp.USER32.dll_keybd_event]
push 0
push 2
push 0
push 0x12
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push 0x12
call dword [sym.imp.USER32.dll_keybd_event]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x434538
mov dword [ebp - 8], 4
jmp 0x434538
mov dword [ebp - 8], 3
mov ecx, dword [ebp - 4]
push 0
push ecx
push ebx
call esi
push 0
push edi
push ebx
call esi
mov edx, dword [ebp - 4]
push 0
push edx
push edi
call esi
mov eax, dword [ebp - 8]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
pop edi
mov eax, 2
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x434582
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, dword [ebp + 8]
test esi, esi
js 0x43461a
jne 0x4345a5
push 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
pop esi
mov esp, ebp
pop ebp
ret 4
push edi
cmp esi, 0xf
jae 0x434612
mov edi, dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
lea eax, [ebp - 0x10]
push eax
call edi
test eax, eax
je 0x434612
mov dword [ebp + 8], esi
fild dword [ebp + 8]
test esi, esi
jns 0x4345cb
fadd qword [0x48cd18]
fstp qword [ebp - 0x28]
lea esp, [esp]
push 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea ecx, [ebp - 8]
push ecx
call edi
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
sbb eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fstp qword [ebp - 0x20]
call fcn.0040dbd0
fdivr qword [ebp - 0x20]
fcomp qword [ebp - 0x28]
fnstsw ax
test ah, 5
jnp 0x4345d2
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.DLL_Sleep]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
movzx edi, bl
push edi
call dword [sym.imp.USER32.dll_GetKeyState]
and al, 1
mov byte [ebp + 0xf], al
cmp byte [ebp + 0x10], al
je 0x43482a
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push ebx
push esi
call fcn.0043471d
push esi
call fcn.0043477c
push 2
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push ebx
push esi
call fcn.0043471d
push esi
call fcn.004347a9
mov al, byte [ebp + 0xf]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x436399
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0xc], 0
mov eax, dword [ebp + 8]
je 0x4363b6
mov eax, dword [eax]
push 4
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, 1
pop ebp
ret 8
mov ecx, dword [eax]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, 1
pop ebp
ret 8

Function at 0x43646a
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0xc], 1
push esi
mov esi, dword [ebp + 8]
jne 0x436497
lea eax, [ebp + 0xc]
push eax
push 0x1388
push 2
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x4364b0
push 1
jmp 0x436499
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop esi
pop ebp
ret 8
Function at 0x436bc5
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push esi
push 0
push ecx
push 3
push edi
call ebx
test eax, eax
jne 0x436c16
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x436c22
mov edx, dword [esi]
push edx
call fcn.00436b91
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [ecx], eax
test eax, eax
je 0x436c22
mov edx, dword [esi]
push esi
push edx
push eax
push 3
push edi
call ebx
test eax, eax
je 0x436c22
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0xc

Function at 0x436c6e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
call fcn.00436b19
mov edi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push 2
push 0
mov esi, eax
push 0
push esi
call edi
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
push eax
call ebx
push 2
push 0
push 0
lea edx, [esi + 8]
push edx
call edi
push eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call edi
push eax
call ebx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push 0
push 0
push esi
push 0x436c2b
push 0
push 0
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x436cd7
Capabilities:
Impersonate user

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
and eax, 2
or eax, 4
push 0
shr eax, 1
push eax
mov eax, dword [ebp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_LogonUserW]
neg eax
sbb eax, eax
neg eax
pop ebp
ret 0x14
Function at 0x436e94
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x1c]
push edi
xor ecx, ecx
xor edi, edi
mov dword [ebp + 0x14], ecx
test al, 1
je 0x436eb1
lea edi, [ecx + 1]
jmp 0x436eba
test al, 2
je 0x436eba
mov edi, 2
xor bl, bl
test al, 4
je 0x436ef9
lea eax, [ebp + 0x1c]
push eax
push 0xa
mov dword [ebp + 0x1c], ecx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov ecx, dword [ebp + 0x1c]
push 1
push ecx
lea edx, [ebp + 0x14]
push edx
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 4], 0
je 0x436f2e
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
or esi, 0x400
push esi
push edx
mov edx, dword [ebp + 8]
push 0
push edi
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
test eax, eax
setne bl
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x436f3c
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x24
Function at 0x442886
Capabilities:
Enumerate files on windows
Enumerate files recursively
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
lea eax, [ebp - 0x258]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
xor bl, bl
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x442915
jmp 0x4428b6
lea edx, [ebp - 0x22c]
push 0x487ca4
push edx
call fcn.0041313c
add esp, 8
test eax, eax
je 0x442903
lea eax, [ebp - 0x22c]
push 0x48ab30
push eax
call fcn.0041313c
add esp, 8
test eax, eax
je 0x442903
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ecx
push edx
lea eax, [ebp - 0x22c]
push eax
call fcn.00433c08
add esp, 0xc
test al, al
je 0x44292f
mov bl, 1
lea ecx, [ebp - 0x258]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x4428b6
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_FindClose]
call esi
cmp byte [ebp + 0x14], 0
jne 0x442941
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea edx, [ebp - 0x258]
push edx
push 0x48ab28
call edi
mov edi, eax
cmp edi, 0xffffffff
je 0x4429d3
mov ebx, dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
test byte [ebp - 0x258], 0x10
je 0x4429c1
lea eax, [ebp - 0x22c]
push 0x487ca4
push eax
call fcn.0041313c
add esp, 8
test eax, eax
je 0x4429c1
lea ecx, [ebp - 0x22c]
push 0x48ab30
push ecx
call fcn.0041313c
add esp, 8
test eax, eax
je 0x4429c1
lea edx, [ebp - 0x22c]
push edx
call ebx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
push edx
push eax
call fcn.00442886
test al, al
je 0x4429e1
push 0x48ab30
call ebx
lea ecx, [ebp - 0x258]
push ecx
push edi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x44295c
push edi
call esi
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push edi
call esi
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x442e0c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4a7f10], 0
push esi
push edi
mov esi, 0x4a7540
jne 0x442e2c
push 0
call fcn.004148b3
push eax
call fcn.00432281
add esp, 8
mov dword [0x49205c], 0x270
mov dword [0x4a753c], esi
mov edx, 0xe3
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov al, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
xor edi, ecx
and edi, 0x7ffffffe
xor edi, dword [esi]
and eax, 0x9908b0df
shr edi, 1
xor edi, dword [esi + 0x634]
add esi, 4
xor edi, eax
dec edx
mov dword [esi - 4], edi
jne 0x442e41
mov edx, 0x18c
lea esp, [esp]
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov al, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
xor edi, ecx
and edi, 0x7ffffffe
xor edi, dword [esi]
and eax, 0x9908b0df
shr edi, 1
xor edi, dword [esi - 0x38c]
add esi, 4
xor edi, eax
dec edx
mov dword [esi - 4], edi
jne 0x442e7c
mov ecx, dword [0x4a7540]
mov dl, cl
and dl, 1
movzx eax, dl
mov edx, dword [esi]
neg eax
sbb eax, eax
xor edx, ecx
and edx, 0x7ffffffe
xor edx, dword [esi]
and eax, 0x9908b0df
shr edx, 1
xor edx, dword [esi - 0x38c]
pop edi
xor edx, eax
mov dword [esi], edx
pop esi
ret

Function at 0x44334f
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
test al, 0x10
je 0x44342d
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x44339f
push 1
push esi
push eax
call fcn.004325e0
mov eax, dword [esi]
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov dword [esi], 0
mov eax, dword [esi]
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0x10]
push 0
lea ecx, [ebp - 0xc]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
test eax, eax
jne 0x44340a
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 0xc
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov dword [esi], eax
test eax, eax
je 0x4433e0
cmp eax, 0xffffffff
jne 0x44338a
push 0
push 0x80
push 3
lea eax, [ebp - 0xc]
push eax
push 1
push SysReAllocString
push 0x4880b0
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x44339f
test eax, eax
je 0x44339f
mov edx, dword [esi]
push 1
lea ecx, [ebp + 0xc]
push ecx
push edx
call fcn.004325e0
push esi
call fcn.00432614
mov eax, dword [ebp + 0xc]
add esp, 0x10
mov dword [esi], eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
test al, 1
je 0x4433cd
mov eax, dword [esi]
test eax, eax
je 0x4433ae
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x443442
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
test al, 0x10
je 0x443521
push ecx
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x443494
push 1
push esi
push eax
call fcn.004325e0
mov eax, dword [esi]
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov dword [esi], 0
mov eax, dword [esi]
pop esi
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ebp + 0x18]
push 0
lea ecx, [ebp - 0xc]
push ecx
push esi
push edx
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
test eax, eax
jne 0x4434fe
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 0x14
push ecx
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov dword [esi], eax
test eax, eax
je 0x4434d4
cmp eax, 0xffffffff
jne 0x44347f
push 0
push 0x80
push 3
lea eax, [ebp - 0xc]
push eax
push 2
push 0x40000000
push 0x4880b0
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x443494
test eax, eax
je 0x443494
mov edx, dword [esi]
push 1
lea ecx, [ebp + 0x14]
push ecx
push edx
call fcn.004325e0
push esi
call fcn.00432614
mov eax, dword [ebp + 0x14]
add esp, 0x10
mov dword [esi], eax
pop esi
mov esp, ebp
pop ebp
ret 0x14
test dword [ebp + 0xc], eax
je 0x4434c2
mov eax, dword [esi]
test eax, eax
je 0x4434a3
pop esi
mov esp, ebp
pop ebp
ret 0x14

Function at 0x443561
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
xor edx, edx
push ecx
mov dword [ebp + 0x10], edx
call fcn.00432631
test al, al
je 0x4435b1
test ebx, ebx
je 0x4435b1
test edi, edi
je 0x4435b1
push esi
push edx
lea eax, [ebp + 0x10]
push eax
lea esi, [ecx + 0x18]
mov ecx, dword [esi]
push edi
push ebx
push ecx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x4435a7
push esi
call fcn.00432614
add esp, 4
mov eax, dword [ebp + 0x10]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
pop edi
mov eax, edx
pop ebx
pop ebp
ret 0xc

Function at 0x4439c1
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0xc], 1
push esi
mov esi, dword [ebp + 8]
jne 0x4439df
push esi
call fcn.00433396
add esp, 4
test al, al
jne 0x4439f8
push 1
jmp 0x4439e1
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop esi
pop ebp
ret
Function at 0x443c87
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, dword [ebp + 0x18]
xor esi, esi
mov byte [0x4974ee], 0
test edi, edi
je 0x443ccc
mov byte [0x4974ef], 1
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x18]
push eax
push esi
lea ecx, [ebp - 8]
push ecx
push 0x443b61
push esi
push esi
mov dword [ebp - 4], edi
call fcn.00413d7f
add esp, 0x18
mov esi, eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edi, eax
test esi, esi
je 0x443cff
push 0xffffffffffffffff
push esi
mov byte [0x4974ef], 0
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp byte [0x4974ee], 1
jne 0x443d11
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x443e36
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00443e19
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push 0
lea eax, [ebp + 8]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [ebp + 8]
add dword [esi + 0x10], eax
adc dword [esi + 0x14], 0
pop esi
pop ebp
ret 0xc