Function at 0x100014bf
Capabilities:
Create pipe
Get file size
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb8
lea eax, [esp + 0xa0]
mov ecx, esp
lea edx, [esp + 0xa8]
mov dword [ecx], edx
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov dword [esp + 0x84], eax
call ecx
sub esp, 4
xor eax, eax
lea ecx, [esp + 0x88]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x7c], eax
jmp 0x100015a5
mov eax, esp
mov dword [eax], 0xee5bb8
mov eax, dword [sym.imp.KERNEL32.dll_PulseEvent]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx + 4], 0x58
mov dword [ecx], 0x3de416
mov ecx, dword [sym.imp.KERNEL32.dll_TransmitCommChar]
mov dword [esp + 0x78], eax
call ecx
sub esp, 8
mov dword [esp + 0x74], eax
jmp 0x10001778
mov eax, dword [esp + 0x70]
add eax, 1
cmp eax, 0x32
mov dword [esp + 0x7c], eax
je 0x1000178a
jmp 0x100015a5
mov eax, dword [sym.imp.KERNEL32.dll_AllocConsole]
call eax
mov dword [esp + 0x6c], eax
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x70]
sub edx, 1
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], edx
je 0x10001778
jmp 0x10001587
mov eax, dword [esp + 0x70]
sub eax, 0x22
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ecx
je 0x1000150a
jmp 0x100016a0
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx]
mov esi, dword [ecx + 4]
mov edi, esp
mov dword [edi + 4], esi
mov dword [edi], edx
mov edx, dword [sym.imp.USER32.dll_WindowFromPoint]
mov dword [esp + 0x70], eax
call edx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0xab5
mov dword [ecx], 0x30291e
mov ecx, dword [sym.imp.KERNEL32.dll_SetThreadIdealProcessor]
mov dword [esp + 0x54], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x8dd7a9
mov ecx, dword [sym.imp.KERNEL32.dll_UnregisterWait]
mov dword [esp + 0x50], eax
call ecx
sub esp, 4
mov ecx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esp + 0x4c], eax
call ecx
xor ecx, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x44]
mov ecx, 0x88888889
mov dword [esp + 0x40], eax
mul ecx
shr edx, 3
imul eax, edx, 0xf
mov ecx, dword [esp + 0x40]
sub ecx, eax
mov eax, ecx
sub eax, 3
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
je 0x10001651
jmp 0x10001642
mov eax, dword [esp + 0x3c]
sub eax, 8
mov dword [esp + 0x34], eax
jne 0x1000166e
jmp 0x10001651
mov eax, esp
mov dword [eax + 4], 0xad4
mov dword [eax], 0x47c8f0
mov eax, dword [sym.imp.GDI32.dll_SetBkMode]
call eax
sub esp, 8
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x40]
add eax, 1
cmp eax, 0x236
sete cl
mov dword [esp + 0x2c], eax
mov byte [esp + 0x2b], cl
mov al, byte [esp + 0x2b]
test al, 1
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x44], ecx
jne 0x1000155d
jmp 0x10001616
mov eax, dword [esp + 0x58]
mov dword [esp + 0x9c], 0xf28
mov ecx, esp
lea edx, [esp + 0x9c]
mov dword [ecx + 4], edx
mov dword [ecx], 0xca0882
mov ecx, dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x24], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x476
mov dword [ecx], 0xcc3
mov ecx, dword [sym.imp.KERNEL32.dll_IsValidLocale]
mov dword [esp + 0x20], eax
call ecx
sub esp, 8
xor ecx, ecx
mov edx, 0xc
mov esi, 0xb76f18
mov dword [esp + 0x98], esi
mov esi, dword [esp + 0x80]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0xc
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
call fcn.10112af0
mov eax, esp
lea ecx, [esp + 0x88]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x98]
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 0x315
mov eax, dword [sym.imp.KERNEL32.dll_CreatePipe]
call eax
sub esp, 0x10
mov ecx, dword [esp + 0x24]
add ecx, 1
cmp ecx, 0xa
mov dword [esp + 0x10], eax
mov dword [esp + 0x58], ecx
je 0x10001543
jmp 0x100016a0
mov eax, dword [esp + 0x70]
add eax, 1
mov dword [esp + 0x7c], eax
jmp 0x100015a5
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret