joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a6ed0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100d4cb3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.100c803f
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.100cd6f2
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.100ced08
test eax, eax
je 0x100a6fec
mov ecx, dword [esp + 0x3c]
call fcn.100cd71f
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x100a6fb0
push edi
mov ecx, esi
call fcn.100cad6c
mov ecx, esi
call fcn.100a7150
cmp dword [esp + 0x38], 1
jne 0x100a6fe5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.100caea7
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x100a9a10
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x100a9a43
push esi
call fcn.100acb00
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x100a9a3c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x100a9ac9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x100a9ab2
mov eax, dword [esi + 8]
test eax, eax
je 0x100a9a67
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x100a9aae
cmp eax, 2
je 0x100a9ab2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x100a9a5a
cmp eax, 3
je 0x100a9a8d
cmp eax, 1
jne 0x100a9a5a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x100a9a5a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x100a9a5a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.100a9af0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x100a9ad8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.100a9af0
add esp, 4
pop esi
ret

Function at 0x100c8e35
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100c8e6d
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.100c6eec
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.100c6ec4
jmp 0x100c8e79
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x100ca526
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x100ca568
call fcn.100d00f9
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x100ca568
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x100ca55f
xor eax, eax
jmp 0x100ca570
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.100ca576
pop edi
pop esi
pop ebx
ret 4
Function at 0x41716c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x53a038]
jne 0x417176
repz ret
jmp fcn.00419b7c

Function at 0x41cac9
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00419563
and dword [ebp - 4], 0
cmp dword [0x56d880], 0
mov ebx, eax
jne 0x41cb7a
push 0x50e448
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x41cc2b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push edi
call esi
test eax, eax
je 0x41cc2b
push eax
call fcn.004194f1
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x56d880], eax
call esi
push eax
call fcn.004194f1
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x56d884], eax
call esi
push eax
call fcn.004194f1
mov dword [esp], str.GetUserObjectInformationW
push edi
mov dword [0x56d888], eax
call esi
push eax
call fcn.004194f1
pop ecx
mov dword [0x56d890], eax
test eax, eax
je 0x41cb7a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004194f1
pop ecx
mov dword [0x56d88c], eax
mov eax, dword [0x56d88c]
cmp eax, ebx
je 0x41cbd2
cmp dword [0x56d890], ebx
je 0x41cbd2
push eax
call fcn.0041956c
push dword [0x56d890]
mov esi, eax
call fcn.0041956c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41cbd2
test edi, edi
je 0x41cbd2
call esi
test eax, eax
je 0x41cbc9
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41cbc9
test byte [ebp - 0xc], 1
jne 0x41cbd2
or dword [ebp + 0x10], 0x200000
jmp 0x41cc0b
mov eax, dword [0x56d884]
cmp eax, ebx
je 0x41cc0b
push eax
call fcn.0041956c
pop ecx
test eax, eax
je 0x41cc0b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41cc0b
mov eax, dword [0x56d888]
cmp eax, ebx
je 0x41cc0b
push eax
call fcn.0041956c
pop ecx
test eax, eax
je 0x41cc0b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x56d880]
call fcn.0041956c
pop ecx
test eax, eax
je 0x41cc2b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41cc2d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4265d9
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00419563
and dword [ebp - 4], 0
cmp dword [0x56df90], 0
mov ebx, eax
jne 0x42668a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42673b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x42673b
push eax
call fcn.004194f1
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x56df90], eax
call esi
push eax
call fcn.004194f1
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x56df94], eax
call esi
push eax
call fcn.004194f1
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x56df98], eax
call esi
push eax
call fcn.004194f1
pop ecx
mov dword [0x56dfa0], eax
test eax, eax
je 0x42668a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004194f1
pop ecx
mov dword [0x56df9c], eax
mov eax, dword [0x56df9c]
cmp eax, ebx
je 0x4266e2
cmp dword [0x56dfa0], ebx
je 0x4266e2
push eax
call fcn.0041956c
push dword [0x56dfa0]
mov esi, eax
call fcn.0041956c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4266e2
test edi, edi
je 0x4266e2
call esi
test eax, eax
je 0x4266d9
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4266d9
test byte [ebp - 0xc], 1
jne 0x4266e2
or dword [ebp + 0x10], 0x200000
jmp 0x42671b
mov eax, dword [0x56df94]
cmp eax, ebx
je 0x42671b
push eax
call fcn.0041956c
pop ecx
test eax, eax
je 0x42671b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42671b
mov eax, dword [0x56df98]
cmp eax, ebx
je 0x42671b
push eax
call fcn.0041956c
pop ecx
test eax, eax
je 0x42671b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x56df90]
call fcn.0041956c
pop ecx
test eax, eax
je 0x42673b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42673d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x436530
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x436563
push str.Failed_to_initialise_sockets_n
push 1
push 0x32c8
call fcn.00442f20
add esp, 0xc
add esp, 0x190
ret
mov dword [0x56e4c4], 1
xor eax, eax
add esp, 0x190
ret

Function at 0x436580
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x10
cmp dword [0x56e4c4], 0
jne 0x43659c
call fcn.00436530
cmp eax, 0xffffffff
jne 0x43659c
or eax, eax
add esp, 0x10
ret
cmp dword [0x56e474], 2
jne 0x4365bf
mov eax, dword [0x53bba4]
cmp eax, 0xffffffff
je 0x4365bf
push eax
call sub.WSOCK32.dll_closesocket
mov dword [0x53bba4], 0xffffffff
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x20]
push edi
push esi
push str.Connecting_to_server___s__on_port__d_n
call fcn.00442db0
add esp, 0xc
push 0
push 1
push 2
call sub.WSOCK32.dll_socket
cmp eax, 0xffffffff
mov dword [0x53bba4], eax
jne 0x436607
push 0x53bc24
push 1
push 0x32c9
call fcn.00442f20
add esp, 0xc
pop edi
pop esi
add esp, 0x10
ret
push ebx
push esi
call sub.WSOCK32.dll_gethostbyname
mov ebx, eax
xor eax, eax
mov dword [esp + 0xc], eax
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov word [esp + 0x10], 2
call sub.WSOCK32.dll_htons
test ebx, ebx
mov word [esp + 0xe], ax
jne 0x436644
push esi
call sub.WSOCK32.dll_inet_addr
mov dword [esp + 0x10], eax
jmp 0x43665c
movsx eax, word [ebx + 0xa]
mov ecx, dword [ebx + 0xc]
mov edx, dword [ecx]
push eax
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00424270
add esp, 0xc
mov edx, dword [0x53bba4]
push 0x10
lea ecx, [esp + 0x10]
push ecx
push edx
call sub.WSOCK32.dll_connect
test eax, eax
pop ebx
jne 0x436693
push str.Connection_established_n
mov dword [0x56e474], 2
call fcn.00442db0
add esp, 4
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret
mov eax, dword [0x53bba4]
push eax
call sub.WSOCK32.dll_closesocket
call fcn.0041d95a
mov ecx, dword [eax]
push ecx
push edi
push esi
push str.Failed_to_connect_to__s:_d___d__n
push 1
push 0x32ca
call fcn.00442f20
add esp, 0x18
pop edi
pop esi
add esp, 0x10
ret
Function at 0x4368a0
Capabilities:
Send data
Send data on socket
Write file on windows

Disassembly:
mov eax, 0x1000
call fcn.004180f0
mov eax, dword [0x56e7b8]
mov edx, dword [0x53f4e4]
push ebx
mov ebx, dword [esp + 0x1008]
push ebp
mov ebp, dword [esp + 0x1010]
lea ecx, [eax*8]
sub ecx, eax
test byte [edx + ecx*4 + 0xc], 1
push esi
lea esi, [edx + ecx*4]
je 0x43692b
cmp ebp, 0x1000
push edi
mov edi, 0xfff
jge 0x4368e9
mov edi, ebp
push edi
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.00424270
add esp, 0xc
mov byte [esp + edi + 0x10], 0
test byte [esi + 0xc], 1
pop edi
je 0x43692b
mov ecx, dword [esi]
mov edx, dword [str._unknown_program_]
push ecx
push edx
push str._s_MONITOR:_s:
call fcn.00442db0
lea eax, [esp + 0x18]
push eax
push ebp
push str.dvconChildWrite__d___s__n
call fcn.00442cd0
add esp, 0x18
cmp dword [0x56e474], 2
jne 0x436975
mov ecx, dword [0x53bba4]
push 0
push ebp
push ebx
push ecx
mov dword [0x56e4a8], 1
call sub.WSOCK32.dll_send
test eax, eax
je 0x436954
jge 0x436961
push str.Lost_connection_to_Parent_n
call fcn.00443520
add esp, 4
pop esi
pop ebp
mov dword [0x56e4a8], 0
pop ebx
add esp, 0x1000
ret
mov eax, dword [0x53bba0]
cmp eax, 0xffffffff
jne 0x43698c
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [0x53bba0], eax
push 0
push 0x56dfd8
push ebp
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebp
pop ebx
add esp, 0x1000
ret
Function at 0x4369b0
Capabilities:
Read file on windows
Receive data
Receive data on socket

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, dword [esp + 0x18]
mov ebx, 1
cmp dword [0x56e474], 2
jne 0x4369ed
mov eax, dword [0x53bba4]
push 0
push edi
push ebp
push eax
mov dword [0x56e4a8], ebx
call sub.WSOCK32.dll_recv
mov esi, eax
mov dword [0x56e4a8], 0
jmp 0x436a1a
mov eax, dword [0x53bb9c]
cmp eax, 0xffffffff
jne 0x436a04
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [0x53bb9c], eax
push 0
push 0x56e45c
push edi
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, dword [0x56e45c]
test esi, esi
jg 0x436adb
cmp dword [0x56e474], 2
mov eax, dword [0x56e7b8]
jne 0x436a6d
mov edx, dword [0x53f4e4]
lea ecx, [eax*8]
sub ecx, eax
test byte [edx + ecx*4 + 0xc], bl
lea eax, [edx + ecx*4]
je 0x436ab9
mov eax, dword [eax]
mov ecx, dword [str._unknown_program_]
push eax
push ecx
push str._s_MONITOR:_s:
call fcn.00442db0
add esp, 0xc
call sub.WSOCK32.dll_WSAGetLastError
push eax
push esi
push 0x53c170
jmp 0x436aa8
lea edx, [eax*8]
sub edx, eax
mov eax, dword [0x53f4e4]
test byte [eax + edx*4 + 0xc], bl
lea eax, [eax + edx*4]
je 0x436ab0
mov ecx, dword [eax]
mov edx, dword [str._unknown_program_]
push ecx
push edx
push str._s_MONITOR:_s:
call fcn.00442db0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.dvconChildRead___read_bailed_out__d__d_n
call fcn.00442cd0
add esp, 0xc
cmp dword [0x56e474], 2
jne 0x436abd
test esi, esi
je 0x436ac5
test esi, esi
jge 0x4369c1
push str.Child_lost_connection_to_Parent_n
push ebx
call fcn.004431d0
add esp, 8
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x438900
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ecx
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x20]
sub eax, dword [ecx + 0x24]
test eax, eax
mov dword [esp + 8], eax
jg 0x438952
cmp dword [ecx + 0x1c], 0
je 0x43892d
mov ecx, dword [ecx + 0xc]
push 2
push 1
lea eax, [esp + 8]
push eax
push ecx
call sub.WSOCK32.dll_recv
pop ecx
ret
mov eax, dword [ecx + 0xc]
push 0
lea edx, [esp + 0xc]
push edx
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
cmp eax, 1
je 0x43894e
or eax, 0xffffffff
pop ecx
ret
mov eax, dword [esp + 8]
pop ecx
ret

Function at 0x438960
Capabilities:
Read file on windows
Receive data
Receive data on socket

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea esp, [esp]
cmp dword [esi + 0x1c], 0
push 0
je 0x438991
mov ecx, dword [esi + 0xc]
push 0x800
lea eax, [esi + 0x28]
push eax
push ecx
call sub.WSOCK32.dll_recv
mov dword [esi + 0x20], eax
test eax, eax
jmp 0x4389b5
mov eax, dword [esi + 0xc]
push 0x56e45c
push 0x800
lea edx, [esi + 0x28]
push edx
push eax
call edi
mov ecx, dword [0x56e45c]
mov dword [esi + 0x20], ecx
cmp dword [0x56e45c], 0
jle 0x4389c3
cmp dword [esi + 0x20], 0
jg 0x4389e1
cmp dword [esi + 8], 0
jge 0x438970
push str.Lost_connection_or_program_aborted_n
push 3
push 0x32db
mov dword [esi + 8], 0xfffffffc
call fcn.00442f20
add esp, 0xc
pop edi
pop esi
ret
pop edi
xor eax, eax
pop esi
ret

Function at 0x43a790
Capabilities:
Enumerate gui resources
Send data
Send data on socket
Terminate process
Write file on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
cmp dword [esi + 8], 0
push edi
mov ebx, 0x56e4c0
jle 0x43a805
cmp dword [esi + 0x1c], 0
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [esp + 0x10], 0x58
push 0
je 0x43a7c7
mov ecx, dword [esi + 0x10]
push 1
lea eax, [esp + 0x18]
push eax
push ecx
call sub.WSOCK32.dll_send
jmp 0x43a7d9
mov eax, dword [esi + 0x10]
push 0x56dfd8
push 1
lea edx, [esp + 0x1c]
push edx
push eax
call edi
cmp dword [esi + 0x1c], 0
push 0
je 0x43a7f3
mov ecx, dword [esi + 0x10]
push 1
push 0x53dbf8
push ecx
call sub.WSOCK32.dll_send
jmp 0x43a805
mov edx, dword [esi + 0x10]
push 0x56dfd8
push 1
push 0x53dbf8
push edx
call edi
cmp dword [0x56e4c0], esi
je 0x43a816
lea ecx, [ecx]
mov ebx, dword [ebx]
cmp dword [ebx], esi
jne 0x43a810
mov eax, dword [esi]
mov dword [ebx], eax
cmp dword [esi + 8], 0
jle 0x43a847
cmp dword [esi + 0x18], 0
je 0x43a832
push esi
push 0x4388b0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esi + 8], 0
jl 0x43a847
mov ecx, dword [esi + 0x14]
push 0x3e7
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [esi + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
cmp dword [esi + 0x1c], 0
je 0x43a864
mov eax, dword [esi + 0x10]
push eax
call sub.WSOCK32.dll_closesocket
jmp 0x43a870
mov ecx, dword [esi + 0x10]
push ecx
call edi
mov edx, dword [esi + 0xc]
push edx
call edi
mov eax, dword [esi + 4]
push eax
call fcn.00418550
push esi
call fcn.00418550
add esp, 8
pop edi
pop esi
pop ebx
ret
Function at 0x442cd0
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x1000
call fcn.004180f0
cmp dword [0x53f498], 0
je 0x442da2
push edi
mov edi, dword [0x56e59c]
test edi, edi
je 0x442d0e
push edi
lea eax, [esp + 8]
push 8
push eax
mov dword [0x56e59c], 0
call fcn.00418060
add esp, 0xc
jmp 0x442d10
xor edi, edi
cmp dword [0x56e584], 0
push esi
je 0x442d30
mov dword [0x56e584], 0
mov byte [esp + edi + 8], 0xa
mov esi, 1
jmp 0x442d32
xor esi, esi
mov edx, dword [esp + 0x100c]
lea ecx, [esp + 0x1010]
push ecx
lea eax, [edi + esi]
push edx
lea ecx, [esp + eax + 0x10]
push ecx
call fcn.00500a18
add esi, eax
mov eax, dword [0x53f498]
add esp, 0xc
test eax, eax
jle 0x442d6f
lea edx, [edi + esi]
push edx
lea ecx, [esp + 0xc]
push ecx
push eax
call fcn.00423edf
add esp, 0xc
mov eax, dword [0x56e578]
test eax, eax
je 0x442da0
push eax
push esi
lea edx, [esp + edi + 0x10]
push 1
push edx
call fcn.00500e5f
add esp, 0x10
cmp dword [0x56e580], 0
jle 0x442da0
mov eax, dword [0x56e578]
push eax
call fcn.0041c125
add esp, 4
pop esi
pop edi
add esp, 0x1000
ret

Function at 0x442db0
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x1000
call fcn.004180f0
cmp dword [0x53f498], 0
je 0x442e9b
push ebx
mov ebx, dword [0x56e59c]
test ebx, ebx
je 0x442dee
push ebx
lea eax, [esp + 8]
push 8
push eax
mov dword [0x56e59c], 0
call fcn.00418060
add esp, 0xc
jmp 0x442df0
xor ebx, ebx
cmp dword [0x56e584], 0
push edi
je 0x442e10
mov dword [0x56e584], 0
mov byte [esp + ebx + 8], 0xa
mov edi, 1
jmp 0x442e12
xor edi, edi
cmp dword [0x56e58c], 0
je 0x442e2b
push esi
lea esi, [ebx + edi]
lea esi, [esp + esi + 0xc]
call fcn.00442c00
add edi, eax
pop esi
mov edx, dword [esp + 0x100c]
lea ecx, [esp + 0x1010]
push ecx
lea eax, [ebx + edi]
push edx
lea ecx, [esp + eax + 0x10]
push ecx
call fcn.00500a18
add edi, eax
mov eax, dword [0x53f498]
add esp, 0xc
test eax, eax
jle 0x442e68
lea edx, [ebx + edi]
push edx
lea ecx, [esp + 0xc]
push ecx
push eax
call fcn.00423edf
add esp, 0xc
mov eax, dword [0x56e578]
test eax, eax
je 0x442e99
push eax
push edi
lea edx, [esp + ebx + 0x10]
push 1
push edx
call fcn.00500e5f
add esp, 0x10
cmp dword [0x56e580], 0
jle 0x442e99
mov eax, dword [0x56e578]
push eax
call fcn.0041c125
add esp, 4
pop edi
pop ebx
add esp, 0x1000
ret
Function at 0x4431d0
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x1000
call fcn.004180f0
mov eax, dword [esp + 0x1004]
cmp eax, dword [0x53f4a0]
jle 0x4431f2
xor eax, eax
add esp, 0x1000
ret
cmp dword [0x53f498], 0
je 0x4432f6
push ebx
mov ebx, dword [0x56e59c]
test ebx, ebx
push edi
je 0x443227
push ebx
lea ecx, [esp + 0xc]
push 8
push ecx
mov dword [0x56e59c], 0
call fcn.00418060
add esp, 0xc
jmp 0x443229
xor ebx, ebx
cmp dword [0x56e584], 0
je 0x443248
mov dword [0x56e584], 0
mov byte [esp + ebx + 8], 0xa
mov edi, 1
jmp 0x44324a
xor edi, edi
cmp dword [0x56e58c], 0
je 0x443263
push esi
lea esi, [edi + ebx]
lea esi, [esp + esi + 0xc]
call fcn.00442c00
add edi, eax
pop esi
mov edx, dword [str._unknown_program_]
push edx
lea eax, [edi + ebx]
lea ecx, [esp + eax + 0xc]
push str._s_Warning:
push ecx
call fcn.00500a32
add edi, eax
mov eax, dword [esp + 0x101c]
lea edx, [esp + 0x1020]
push edx
lea ecx, [edi + ebx]
push eax
lea edx, [esp + ecx + 0x1c]
push edx
call fcn.00500a18
add edi, eax
mov eax, dword [0x53f498]
add esp, 0x18
test eax, eax
jle 0x4432bb
lea ecx, [edi + ebx]
push ecx
lea edx, [esp + 0xc]
push edx
push eax
call fcn.00423edf
add esp, 0xc
mov eax, dword [0x56e578]
test eax, eax
je 0x4432ed
push eax
push edi
lea eax, [esp + ebx + 0x10]
push 1
push eax
call fcn.00500e5f
add esp, 0x10
cmp dword [0x56e580], 0
jle 0x4432ed
mov ecx, dword [0x56e578]
push ecx
call fcn.0041c125
add esp, 4
add dword [0x56e598], 1
pop edi
pop ebx
mov eax, 1
add esp, 0x1000
ret
Function at 0x443520
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x1000
call fcn.004180f0
mov ecx, dword [esp + 0x1004]
push esi
push edi
lea eax, [esp + 0x1010]
push eax
push ecx
push 0x571100
call fcn.00500a18
add esp, 0xc
cmp dword [0x56e58c], 0
mov edi, eax
mov esi, 1
mov byte [esp + 8], 0xa
je 0x44356c
lea esi, [esp + 9]
call fcn.00442c00
mov esi, eax
add esi, 1
mov edx, dword [str._unknown_program_]
push edx
lea eax, [esp + esi + 0xc]
push str._s_Fatal:
push eax
call fcn.00500a32
add esi, eax
mov eax, 0x571100
lea edx, [esp + esi + 0x14]
add esp, 0xc
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x443592
mov eax, dword [0x53f498]
add esi, edi
test eax, eax
jg 0x4435b3
mov eax, 2
mov dword [0x53f498], eax
push esi
lea ecx, [esp + 0xc]
push ecx
push eax
call fcn.00423edf
mov eax, dword [0x56e578]
add esp, 0xc
test eax, eax
je 0x4435f3
push eax
push esi
lea edx, [esp + 0x10]
push 1
push edx
call fcn.00500e5f
add esp, 0x10
cmp dword [0x56e580], 0
jle 0x4435f3
mov eax, dword [0x56e578]
push eax
call fcn.0041c125
add esp, 4
mov eax, dword [0x56e5b0]
test eax, eax
je 0x4435fe
call eax
push str.PVIEW_FATAL_PROMPT
call fcn.0042d8c2
add esp, 4
test eax, eax
je 0x443660
mov esi, dword [0x53f498]
test esi, esi
jg 0x44361e
mov esi, 2
push 1
push 0x53f65c
push esi
call fcn.00423edf
mov eax, str.Press_key_to_continue..._n
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x443636
sub eax, edx
push eax
push str.Press_key_to_continue..._n
push esi
call fcn.00423edf
call fcn.0041c313
push eax
call fcn.0041c125
add esp, 0x10
call fcn.00501168
push str.PVIEW_FATAL_SPIN
call fcn.0042d8c2
add esp, 4
test eax, eax
pop edi
pop esi
je 0x443675
jmp 0x443673
push 0xffffffffffffffff
call fcn.0041ad7b
int3