joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1010b860
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10178419
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
mov dword [ebp - 0x124], ecx
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x124]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax + 0x18]
push ecx
push 0
call fcn.100c0edb
add esp, 0x18
mov edx, dword [ebp - 0x124]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x124]
cmp dword [edx + 0xc], 0
jne 0x1010b979
lea eax, [ebp - 0xb1]
mov dword [ebp - 0xb0], eax
push 0
push 0
lea ecx, [ebp - 0x5c]
call fcn.10002cf0
mov dword [ebp - 0x128], str.cannot_create_thread
mov ecx, dword [ebp - 0x128]
add ecx, 1
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x128]
mov al, byte [edx]
mov byte [ebp - 0x12d], al
add dword [ebp - 0x128], 1
cmp byte [ebp - 0x12d], 0
jne 0x1010b8ff
mov ecx, dword [ebp - 0x128]
sub ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x134], ecx
mov edx, dword [ebp - 0x134]
push edx
push str.cannot_create_thread
lea ecx, [ebp - 0x5c]
call fcn.10003590
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x40]
call fcn.100fcbd0
push 0x101aa74c
lea ecx, [ebp - 0x40]
push ecx
call fcn.100bcb39
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x5c]
call fcn.10002cf0
mov edx, dword [ebp - 0x124]
cmp dword [edx + 0x14], 0
je 0x1010ba68
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x124]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
jne 0x1010ba68
lea ecx, [ebp - 0xed]
mov dword [ebp - 0xec], ecx
push 0
push 0
lea ecx, [ebp - 0xa8]
call fcn.10002cf0
mov dword [ebp - 0x138], str.cannot_set_thread_priority
mov edx, dword [ebp - 0x138]
add edx, 1
mov dword [ebp - 0x13c], edx
mov eax, dword [ebp - 0x138]
mov cl, byte [eax]
mov byte [ebp - 0x13d], cl
add dword [ebp - 0x138], 1
cmp byte [ebp - 0x13d], 0
jne 0x1010b9df
mov edx, dword [ebp - 0x138]
sub edx, dword [ebp - 0x13c]
mov dword [ebp - 0x144], edx
mov eax, dword [ebp - 0x144]
push eax
push str.cannot_set_thread_priority
lea ecx, [ebp - 0xa8]
call fcn.10003590
mov dword [ebp - 4], 1
push 0
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0x8c]
call fcn.100fcbd0
push 0x101aa74c
lea edx, [ebp - 0x8c]
push edx
call fcn.100bcb39
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0xa8]
call fcn.10002cf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x1010c490
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10178528
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
mov dword [ebp - 0xb8], ecx
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, dword [ebp - 0xb8]
mov dword [ecx], eax
mov edx, dword [ebp - 0xb8]
cmp dword [edx], 0xffffffff
jne 0x1010c576
lea eax, [ebp - 0x61]
mov dword [ebp - 0x60], eax
push 0
push 0
lea ecx, [ebp - 0x58]
call fcn.10002cf0
mov dword [ebp - 0xbc], str.cannot_allocate_thread_context_key
mov ecx, dword [ebp - 0xbc]
add ecx, 1
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xbc]
mov al, byte [edx]
mov byte [ebp - 0xc1], al
add dword [ebp - 0xbc], 1
cmp byte [ebp - 0xc1], 0
jne 0x1010c4fc
mov ecx, dword [ebp - 0xbc]
sub ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebp - 0xc8]
push edx
push str.cannot_allocate_thread_context_key
lea ecx, [ebp - 0x58]
call fcn.10003590
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x3c]
call fcn.100fcbd0
push 0x101aa74c
lea ecx, [ebp - 0x3c]
push ecx
call fcn.100bcb39
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.10002cf0
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1011b7c0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10178f27
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
mov dword [ebp - 0x84], 0
lea eax, [ebp - 0x8d]
mov dword [ebp - 0x8c], eax
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.10002d50
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.100e5e80
add esp, 8
cmp dword [ebp - 0x10], 8
jb 0x1011b828
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xf8], eax
jmp 0x1011b831
lea ecx, [ebp - 0x24]
mov dword [ebp - 0xf8], ecx
push 0
push 0
mov edx, dword [ebp - 0xf8]
push edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x1011b867
push 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x80]
call fcn.100fc5a0
push 0x101b6e74
lea ecx, [ebp - 0x80]
push ecx
call fcn.100bcb39
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x50], edx
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100b9926
add esp, 4
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x98], ecx
cmp dword [ebp - 0x10], 8
jb 0x1011b8b6
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0xfc], edx
jmp 0x1011b8bf
lea eax, [ebp - 0x24]
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x98]
push edx
mov eax, dword [ebp - 0xfc]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [ebp - 0xa1]
mov dword [ebp - 0xa0], ecx
push 0
push 0
lea ecx, [ebp - 0x48]
call fcn.10002cf0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0xb8], edx
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x2c]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0xb8]
push edx
call fcn.100e62d0
add esp, 0xc
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.10002cf0
mov eax, dword [0x1018c500]
push eax
push 0
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp + 8]
call fcn.100034b0
mov edx, dword [ebp - 0x84]
or edx, 1
mov dword [ebp - 0x84], edx
mov byte [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.10002cf0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
push ecx
call fcn.100bcb83
add esp, 4
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.10002d50
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1011b9a0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10178f39
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
lea eax, [ebp - 0x39]
mov dword [ebp - 0x38], eax
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.10002d50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100e5e80
add esp, 8
cmp dword [ebp - 0x10], 8
jb 0x1011b9f2
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x68], eax
jmp 0x1011b9f8
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x68], ecx
push 0
push 0
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x2c], eax
xor eax, eax
cmp eax, dword [ebp - 0x2c]
sbb ecx, ecx
neg ecx
mov byte [ebp - 0x2d], cl
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.10002d50
mov al, byte [ebp - 0x2d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x1011ba40
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10178f5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
lea eax, [ebp - 0x99]
mov dword [ebp - 0x98], eax
push 0
push 0
lea ecx, [ebp - 0x44]
call fcn.10002d50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa5]
mov dword [ebp - 0xa4], ecx
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.10002d50
mov byte [ebp - 4], 1
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.100e5e80
add esp, 8
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.100e5e80
add esp, 8
cmp dword [ebp - 0x10], 8
jb 0x1011baca
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x12c], eax
jmp 0x1011bad3
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x12c], ecx
cmp dword [ebp - 0x2c], 8
jb 0x1011bae4
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x130], edx
jmp 0x1011baed
lea eax, [ebp - 0x40]
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x12c]
push ecx
mov edx, dword [ebp - 0x130]
push edx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x1011bb5c
push str.cannot_set_environment_variable:
lea ecx, [ebp - 0x60]
call fcn.10003910
mov byte [ebp - 4], 2
mov eax, dword [0x1018c500]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x60]
call fcn.10008ce0
push 0
lea edx, [ebp - 0x60]
push edx
lea ecx, [ebp - 0x90]
call fcn.100fcbd0
push 0x101aa74c
lea eax, [ebp - 0x90]
push eax
call fcn.100bcb39
mov byte [ebp - 4], 1
push 0
push 1
lea ecx, [ebp - 0x60]
call fcn.10002cf0
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.10002d50
mov dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.10002d50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1011c620
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10178ff6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x10], 0x10
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x1011c719
lea edx, [ebp - 0xa5]
mov dword [ebp - 0xa4], edx
push 0
push 0
lea ecx, [ebp - 0x98]
call fcn.10002cf0
mov dword [ebp - 0x118], str.Cannot_get_computer_name
mov eax, dword [ebp - 0x118]
add eax, 1
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x118]
mov dl, byte [ecx]
mov byte [ebp - 0x11d], dl
add dword [ebp - 0x118], 1
cmp byte [ebp - 0x11d], 0
jne 0x1011c699
mov eax, dword [ebp - 0x118]
sub eax, dword [ebp - 0x11c]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
push ecx
push str.Cannot_get_computer_name
lea ecx, [ebp - 0x98]
call fcn.10003590
mov dword [ebp - 4], 1
push 0
lea edx, [ebp - 0x98]
push edx
lea ecx, [ebp - 0x7c]
call fcn.100fcbd0
push 0x101aa74c
lea eax, [ebp - 0x7c]
push eax
call fcn.100bcb39
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x98]
call fcn.10002cf0
lea ecx, [ebp - 0xd5]
mov dword [ebp - 0xd4], ecx
push 0
push 0
lea ecx, [ebp - 0x4c]
call fcn.10002cf0
mov dword [ebp - 4], 2
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.100e6380
add esp, 8
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.10002cf0
mov ecx, dword [0x1018c500]
push ecx
push 0
lea edx, [ebp - 0x4c]
push edx
mov ecx, dword [ebp + 8]
call fcn.100034b0
mov eax, dword [ebp - 0x9c]
or eax, 1
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x4c]
call fcn.10002cf0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1011c7a0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov word [ecx + 4], ax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0x288
mov edx, dword [ebp - 0xc]
push edx
call fcn.100b9926
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x6f
jne 0x1011c813
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.100bcb83
add esp, 4
mov edx, dword [ebp - 0xc]
push edx
call fcn.100b9926
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
jmp 0x1011c81e
cmp dword [ebp - 4], 0
je 0x1011c81e
jmp 0x1011c89e
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x1011c88c
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0x11], 0
cmp dword [ebp - 0x10], 0
je 0x1011c88c
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
jne 0x1011c88c
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x1a0], 6
jne 0x1011c882
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x190], 6
jne 0x1011c882
mov byte [ebp - 0x11], 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x190]
push edx
mov eax, dword [ebp - 0x10]
add eax, 0x194
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.100bcf90
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
jmp 0x1011c839
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
push edx
call fcn.100bcb83
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x1011e910
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10179206
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0x60]
call fcn.10101440
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x60]
add ecx, 4
call fcn.1012b1d0
mov eax, dword [ebp - 0x60]
mov dword [eax], vtable.Poco::ActiveRunnableBase.0
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 4], vtable.Poco::ActiveRunnableBase.1.0
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x60]
mov dword [edx], vtable.Poco::ActiveRunnable_class_Poco::Void__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_Poco::ArchiveCompressor_.1.0
mov eax, dword [ebp - 0x60]
mov dword [eax + 4], vtable.Poco::ActiveRunnable_class_Poco::Void__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____class_Poco::ArchiveCompressor_.0
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp + 8]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x60]
add edx, 0x14
mov dword [ebp - 0x54], edx
push 0
push 0
mov ecx, dword [ebp - 0x54]
call fcn.10002cf0
mov eax, dword [0x1018c500]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x54]
call fcn.100034b0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x60]
add edx, 0x30
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
add edx, 4
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov byte [ebp - 4], 3
cmp dword [ebp + 8], 0
jne 0x1011e9fa
push 0x4d
push str..includePoco_ActiveRunnable.h
push str.pOwner
call fcn.1010aa20
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1011f340
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov dword [ebp - 0xa0], ecx
mov eax, dword [ebp - 0xa0]
cmp dword [eax + 0x1c], 0xffffffff
jne 0x1011f366
mov ecx, dword [ebp - 0xa0]
call fcn.1011f5a0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x10
jb 0x1011f389
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xa4], edx
jmp 0x1011f395
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp - 0xa4], eax
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x9c]
push edx
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1011f3e1
push 0
mov eax, dword [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x38]
call fcn.100ffd50
push 0x101b9ecc
lea ecx, [ebp - 0x38]
push ecx
call fcn.100bcb39
push 0
lea edx, [ebp - 8]
push edx
push 2
push 0x10181250
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1011f426
push 0
mov edx, dword [ebp - 0xa0]
push edx
lea ecx, [ebp - 0x68]
call fcn.100ffd50
push 0x101b9ecc
lea eax, [ebp - 0x68]
push eax
call fcn.100bcb39
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1011f464
push 0
mov eax, dword [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x98]
call fcn.100ffd50
push 0x101b9ecc
lea ecx, [ebp - 0x98]
push ecx
call fcn.100bcb39
mov esp, ebp
pop ebp
ret 4
Function at 0x1012b250
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10179c63
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc8
mov dword [ebp - 0xc4], ecx
mov ecx, dword [ebp - 0xc4]
call fcn.1012b1d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc4]
mov dword [eax], vtable.Poco::PipeImpl.0
mov dword [ebp - 0x18], 0xc
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 0
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0xc4]
add edx, 0xc
push edx
mov eax, dword [ebp - 0xc4]
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x1012b36e
lea ecx, [ebp - 0x6d]
mov dword [ebp - 0x6c], ecx
push 0
push 0
lea ecx, [ebp - 0x64]
call fcn.10002cf0
mov dword [ebp - 0xc8], str.anonymous_pipe
mov edx, dword [ebp - 0xc8]
add edx, 1
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0xc8]
mov cl, byte [eax]
mov byte [ebp - 0xcd], cl
add dword [ebp - 0xc8], 1
cmp byte [ebp - 0xcd], 0
jne 0x1012b2fa
mov edx, dword [ebp - 0xc8]
sub edx, dword [ebp - 0xcc]
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0xd4]
push eax
push str.anonymous_pipe
lea ecx, [ebp - 0x64]
call fcn.10003590
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x48]
call fcn.100ff930
push 0x101b9e3c
lea edx, [ebp - 0x48]
push edx
call fcn.100bcb39
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x64]
call fcn.10002cf0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1012e9d0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10179f8a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc8
mov dword [ebp - 0x54], 0
lea eax, [ebp - 0x5d]
mov dword [ebp - 0x5c], eax
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.10002d50
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.100e5e80
add esp, 8
mov dword [ebp - 0x34], 0x7fff
xor ecx, ecx
mov eax, 0x7fff
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100b9926
add esp, 4
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x6c], edx
cmp dword [ebp - 0x10], 8
jb 0x1012ea6d
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xd4], eax
jmp 0x1012ea76
lea ecx, [ebp - 0x24]
mov dword [ebp - 0xd4], ecx
mov edx, dword [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0xd4]
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jbe 0x1012eb74
mov edx, dword [ebp - 0x34]
sub edx, 1
cmp dword [ebp - 0x2c], edx
jae 0x1012eb74
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
cmp ecx, dword [ebp - 0x34]
jb 0x1012eacc
push 0x69
push str..includePoco_Buffer.h
push str.index____size
call fcn.1010a890
add esp, 0xc
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x70]
mov word [edx + eax*2], 0
lea ecx, [ebp - 0x79]
mov dword [ebp - 0x78], ecx
push 0
push 0
lea ecx, [ebp - 0x50]
call fcn.10002cf0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x80], edx
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.100e6380
add esp, 8
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.10002cf0
mov edx, dword [0x1018c500]
push edx
push 0
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp + 8]
call fcn.100034b0
mov ecx, dword [ebp - 0x54]
or ecx, 1
mov dword [ebp - 0x54], ecx
mov byte [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0x50]
call fcn.10002cf0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x84]
push eax
call fcn.100bcb83
add esp, 4
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.10002d50
mov eax, dword [ebp + 8]
jmp 0x1012ebfb
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.10002cf0
mov ecx, dword [0x1018c500]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.100034b0
mov eax, dword [ebp - 0x54]
or eax, 1
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0xa8]
push edx
call fcn.100bcb83
add esp, 4
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.10002d50
mov eax, dword [ebp + 8]
jmp 0x1012ebfb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret