joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432807
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x4729fc
call fcn.0044d0a5
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x44], ebx
je 0x4328fe
cmp byte [esi + 0x4a], bl
je 0x4328fe
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
jne 0x432843
xor al, al
jmp 0x432900
push ebx
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.004147c0
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4328a1
lea eax, [ebp - 0x2c]
mov edx, eax
mov ecx, dword [esi + 0x44]
mov edi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
mov ebx, dword [ebp - 0x1c]
add eax, ebx
push eax
push edx
lea eax, [esi + 0x4c]
push eax
call dword [edi + 0x18]
sub eax, 0
je 0x4328a6
dec eax
je 0x4328aa
dec eax
dec eax
je 0x4328fa
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00404f10
mov al, bl
jmp 0x432900
mov edx, dword [ebp - 0x2c]
jmp 0x43286c
mov byte [esi + 0x4a], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4328b6
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x4328dc
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4328c9
lea eax, [ebp - 0x2c]
push dword [esi + 0x54]
push edi
push 1
push eax
call fcn.0045005d
add esp, 0x10
cmp edi, eax
jne 0x43288f
cmp byte [esi + 0x4a], 0
je 0x4328fa
test edi, edi
jne 0x43285e
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00407bc0
jmp 0x43285e
mov bl, 1
jmp 0x432891
mov al, 1
call fcn.0044d0ef
ret
Function at 0x442f50
Capabilities:
Inspect section memory permissions

Disassembly:
rol dword [ebx], 0x40
add al, 0xeb
test eax, 0xeb0c5d89
push es

Function at 0x445d60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x474d58
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x493f58]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x493f58]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc], eax
cmp esi, edi
je 0x445df4
push esi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x58]
call fcn.00445be0
mov ecx, dword [esp + 0x4c]
push eax
mov dword [esp + 0x3c], 0
call fcn.00418090
cmp dword [esp + 0x24], 8
mov dword [esp + 0x38], 0xffffffff
jb 0x445de1
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0044bc75
add esp, 4
add esi, 0x1c
cmp esi, edi
jne 0x445da4
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0xc]
mov dword [eax], edx
jmp 0x445dfa
mov ecx, dword [esp + 0x4c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0044bab6
add esp, 0x30
ret

Function at 0x4478d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4750c0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x493f58]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi + 4], 0
push 0x47b29c
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0
mov dword [esi], vtable.std::codecvt_wchar_t__char__int_.0
call fcn.00401060
mov byte [esp + 0x38], 1
call fcn.00431b3f
lea ecx, [esp + 0xc]
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov byte [esp + 0x38], 0
call fcn.00401110
mov dword [esi], vtable.windows_file_codecvt.0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret
Function at 0x44a340
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4756d0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x493f58]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x493f58]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, dword [esp + 0x54]
cmp dword [edi + 0x14], 8
mov esi, dword [esp + 0x58]
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x1c], esi
jb 0x44a38c
mov eax, dword [edi]
jmp 0x44a38e
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44a3ac
push esi
push edi
push ebp
call fcn.0044a220
add esp, 0xc
jmp 0x44a4ff
test ebx, 0x400
je 0x44a4bb
cmp dword [edi + 0x14], 8
jb 0x44a3c2
mov edx, dword [edi]
jmp 0x44a3c4
mov edx, edi
xor eax, eax
mov word [esp + 0x20], ax
mov eax, edx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44a3e0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x28]
call fcn.00406a30
cmp dword [esp + 0x34], 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], 0
jae 0x44a411
lea eax, [esp + 0x20]
push 0
push 0x2000000
push 3
push 0
push 7
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [esp + 0x14], esi
cmp dword [esp + 0x34], 8
mov byte [esp + 0x48], 2
jb 0x44a446
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0044bc75
add esp, 4
xor edx, edx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], dx
cmp esi, 0xffffffff
jne 0x44a476
mov eax, dword [esp + 0x1c]
push eax
push edi
push ebp
call fcn.0044a220
add esp, 0xc
jmp 0x44a4ff
push edi
call fcn.00449470
add esp, 4
test al, al
jne 0x44a4a8
push ebx
push edi
call fcn.00449950
add esp, 8
push esi
mov dword [ebp], 9
mov dword [ebp + 4], eax
mov dword [esp + 0x4c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44a4ff
push esi
mov dword [esp + 0x4c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x44a4cd
mov dword [esi], 0
call fcn.0044acb0
mov dword [esi + 4], eax
push ebx
push edi
mov dword [esp + 0x1c], 3
test bl, 0x10
jne 0x44a4e4
mov dword [esp + 0x1c], 2
call fcn.00449950
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
add esp, 8
mov dword [ebp], ecx
mov dword [ebp + 4], edx
mov eax, ebp
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0044bab6
add esp, 0x38
ret
Function at 0x44a520
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x475708
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x493f58]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x493f58]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x8c]
cmp dword [edi + 0x14], 8
mov esi, dword [esp + 0x90]
jb 0x44a56a
mov eax, dword [edi]
jmp 0x44a56c
mov eax, edi
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x44a58f
cmp esi, ebx
je 0x44a588
mov dword [esi], ebx
call fcn.0044acb0
mov dword [esi + 4], eax
mov al, 1
jmp 0x44a636
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov dword [esp + 0x14], ebx
call fcn.0044acb0
mov dword [esp + 0x18], eax
cmp ebp, 0xb7
jne 0x44a5da
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push edi
push ecx
call fcn.0044a340
mov ecx, dword [eax]
mov edx, dword [eax + 4]
add esp, 0xc
mov dword [esp + 0x20], edx
cmp ecx, 3
jne 0x44a5da
cmp esi, ebx
je 0x44a634
mov dword [esi], ebx
call fcn.0044acb0
jmp 0x44a631
cmp esi, ebx
jne 0x44a62a
push 0x23
push str.boost::filesystem::create_directory
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.00406300
mov dword [esp + 0x84], ebx
call fcn.0044acb0
push eax
push ebp
push edi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x50]
call fcn.00449ff0
push 0x48b320
lea ecx, [esp + 0x44]
push ecx
call fcn.0044f02b
call fcn.0044acb0
mov dword [esi], ebp
mov dword [esi + 4], eax
xor al, al
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0044bab6
add esp, 0x74
ret

Function at 0x44bab6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x493f58]
jne 0x44bac0
repz ret
jmp fcn.00451a5b

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x44c1e9
call fcn.0044ed46
mov dword [eax], esi
call fcn.0044ed33
push 0x16
pop esi
mov dword [eax], esi
call fcn.004528ca
mov eax, esi
jmp 0x44c23e
test dword [ebp + 0xc], 0xfffffff9
jne 0x44c1cf
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44c216
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0044ed59
pop ecx
call fcn.0044ed33
mov eax, dword [eax]
jmp 0x44c23e
test al, 0x10
jne 0x44c23c
test al, 1
je 0x44c23c
test byte [ebp + 0xc], 2
je 0x44c23c
call fcn.0044ed46
mov dword [eax], 5
call fcn.0044ed33
mov dword [eax], 0xd
jmp 0x44c20d
xor eax, eax
pop esi
pop ebp
ret
Function at 0x45c255
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x493f58]
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.00452131
and dword [ebp - 0x14], 0
cmp dword [0x498750], 0
mov dword [ebp - 0x18], eax
jne 0x45c308
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x45c3b0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x45c3b0
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x498750], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x498754], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x498758], eax
call edi
push eax
call esi
mov dword [0x498760], eax
test eax, eax
je 0x45c308
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x49875c], eax
mov eax, dword [0x49875c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x45c361
cmp dword [0x498760], ecx
je 0x45c361
push eax
call esi
push dword [0x498760]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x45c361
test ebx, ebx
je 0x45c361
call edi
test eax, eax
je 0x45c358
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x45c358
test byte [ebp - 8], 1
jne 0x45c361
or dword [ebp + 0x10], 0x200000
jmp 0x45c394
mov eax, dword [0x498754]
cmp eax, dword [ebp - 0x18]
je 0x45c394
push eax
call esi
test eax, eax
je 0x45c394
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x45c394
mov eax, dword [0x498758]
cmp eax, dword [ebp - 0x18]
je 0x45c394
push eax
call esi
test eax, eax
je 0x45c394
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x498750]
call esi
test eax, eax
je 0x45c3b0
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x45c3b2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044bab6
leave
ret
Function at 0x40f5c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10020
call fcn.00422240
xor eax, eax
nop
mov cl, byte [eax + 0x4921a0]
mov dl, byte [eax + 0x492198]
mov byte [ebp + eax - 0x20], cl
mov byte [ebp + eax - 0x18], dl
inc eax
cmp eax, 8
jl 0x40f5d0
lea eax, [ebp - 8]
push str.AU3_
push eax
call fcn.00413650
push 4
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.00410e60
add esp, 0x14
push ebx
push esi
mov dword [ebp - 0xc], 0
push edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push 0x10000
lea edx, [ebp - 0x10020]
push 1
push edx
call fcn.00414d04
add esp, 0x10
cmp eax, 0x18
jl 0x40f691
mov edi, eax
lea esi, [edi - 0x14]
test esi, esi
jle 0x40f660
xor edx, edx
xor ecx, ecx
mov bl, byte [ebp + ecx - 0x20]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x10020]
je 0x40f67e
cmp ecx, 0x14
je 0x425d1e
inc edx
cmp edx, esi
jl 0x40f640
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
lea edx, [ecx + edi - 0x14]
mov ecx, dword [eax]
push 1
push 0xffffffffffffffec
push ecx
mov dword [ebp - 0xc], edx
call fcn.004150d1
add esp, 0xc
jmp 0x40f614
mov bl, byte [ebp + ecx - 0x1f]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001f]
je 0x40f69f
inc ecx
jmp 0x40f652
mov eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov bl, byte [ebp + ecx - 0x1e]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001e]
je 0x40f6b4
add ecx, 2
jmp 0x40f652
mov bl, byte [ebp + ecx - 0x1d]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001d]
jne 0x425d16
mov bl, byte [ebp + ecx - 0x1c]
lea eax, [ecx + edx]
cmp bl, byte [ebp + eax - 0x1001c]
je 0x425d05
add ecx, 4
jmp 0x40f652
add ecx, 5
cmp ecx, 0x14
jl 0x40f642
jmp 0x40f652
add ecx, 3
jmp 0x40f652
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
lea ecx, [eax + edx + 0x14]
mov edx, dword [esi]
push 0
push ecx
push edx
call fcn.004150d1
mov eax, dword [esi]
push eax
push 4
lea ecx, [ebp - 8]
push 1
push ecx
call fcn.00414d04
lea edx, [ebp - 8]
push str.EA06
push edx
mov byte [ebp - 4], 0
call fcn.00414d30
add esp, 0x24
neg eax
sbb eax, eax
and eax, 4
jmp 0x40f696

Function at 0x410570
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x497520]
push esi
push 0
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
push 0
push 0
push 0x64
push 0x12c
push accept
push accept
push 0xcf0000
push str.AutoIt_v3
push str.AutoIt_v3
push 0
call esi
mov ecx, dword [0x497520]
push 0
push ecx
push 1
push eax
push 0
push 0
push 0
push 0
push 0x50b008c4
push 0
push str.edit
push 0
mov dword [0x497518], eax
call esi
mov edx, dword [0x497518]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
mov dword [0x497514], eax
call esi
mov eax, dword [0x497518]
push 0
push eax
call esi
pop esi
ret

Function at 0x413e46
Capabilities:
Contain obfuscated stackstrings

Disassembly:
je 0x413e77
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x413e7c
jmp fcn.004137cf
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
invalid
Function at 0x431a86
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [esp + 0x10]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
xor bl, bl
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x431b19
lea ecx, [ecx]
lea edx, [esp + 0x3c]
push 0x487ca4
push edx
call fcn.0041313c
add esp, 8
test eax, eax
je 0x431b09
lea eax, [esp + 0x3c]
push 0x48ab30
push eax
call fcn.0041313c
add esp, 8
test eax, eax
je 0x431b09
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
not edx
and eax, edx
push eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x431b33
mov bl, 1
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x431ab6
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
call esi
cmp byte [ebp + 0x14], 0
jne 0x431b45
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, [esp + 0x10]
push edx
push 0x48ab28
call edi
mov edi, eax
cmp edi, 0xffffffff
je 0x431bcc
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test byte [esp + 0x10], 0x10
je 0x431bbc
lea eax, [esp + 0x3c]
push 0x487ca4
push eax
call fcn.0041313c
add esp, 8
test eax, eax
je 0x431bbc
lea ecx, [esp + 0x3c]
push 0x48ab30
push ecx
call fcn.0041313c
add esp, 8
test eax, eax
je 0x431bbc
lea edx, [esp + 0x3c]
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 [esp + 0x14]
push edx
push eax
call fcn.00431a86
test al, al
je 0x431bda
push 0x48ab30
call ebx
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x431b5e
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 0x432017
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x464]
test eax, eax
je 0x43202f
cmp eax, 0x10000
jne 0x432053
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x45c]
push eax
push 0x10000
push 1
push ecx
call fcn.00414d04
add esp, 0x10
mov dword [esi + 0x464], 0
mov ecx, dword [esi + 0x464]
mov edx, dword [esi + 0x45c]
mov al, byte [ecx + edx]
inc ecx
mov dword [esi + 0x464], ecx
pop esi
pop ebp
ret 4

Function at 0x43206e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x460]
test eax, eax
je 0x43209f
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x458]
push ecx
push eax
push 1
push edx
call fcn.004142b6
add esp, 0x10
mov dword [esi + 0x460], 0
pop esi
pop ebp
ret 4
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 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
Function at 0x445e52
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push edi
push 1
push eax
call fcn.00445aa7
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 0
push 0x25
call ebx
shl eax, 0x10
or eax, 1
cmp dword [ebp + 0xc], 0
push eax
jge 0x445eb3
mov ecx, dword [esi]
push 0x25
push 0x100
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call edi
push 0
push 0x25
call ebx
mov edx, dword [esi]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x25
push 0x101
push edx
jmp 0x445ee6
mov eax, dword [esi]
push 0x27
push 0x100
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call edi
push 0
push 0x25
call ebx
mov ecx, dword [esi]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x27
push 0x101
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
call edi
mov edx, dword [esi]
push 0
push edx
call fcn.00445aa7
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret 8

Function at 0x4478ac
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push esi
push 0x4a8630
call fcn.00430c09
mov ecx, dword [0x4a8690]
mov edx, dword [ecx + eax*4]
mov edi, dword [edx]
cmp ebx, esi
jne 0x44792c
cmp dword [edi + 0x1a4], 0
je 0x44790b
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edi + 0x1a4]
push 0
push esi
push ecx
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
movzx eax, word [ebp + 0x14]
movzx ecx, word [ebp + 0x10]
shl eax, 0x10
or eax, ecx
push eax
push ebx
push 0x7b
push esi
call dword [sym.imp.USER32.dll_DefDlgProcW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push ebx
push 0x4a8630
call fcn.00441b7c
mov dword [ebp + 0xc], eax
cmp eax, 0xffffffff
je 0x44790b
mov ecx, dword [0x4a86a4]
mov edx, dword [ecx + eax*4]
mov ecx, dword [edx]
mov al, byte [ecx + 0x88]
cmp al, 0xe
je 0x44790b
cmp al, 0xf
je 0x44790b
cmp al, 0x13
je 0x44790b
cmp al, 0x10
je 0x44790b
cmp dword [ecx + 8], 0
je 0x44790b
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [edi]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
push 0
push ecx
mov ecx, dword [0x4a86a4]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push 0
push edx
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10