Function at 0x100451dd
Capabilities:
Create pipe
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push 0xc
call fcn.10101428
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x48
call fcn.10101428
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x12
rep stosd dword es:[edi], eax
push 0x10
call fcn.10101428
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
push 0x1010b29a
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.1000d383
add esp, 8
cmp eax, 0
je 0x100457f7
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], 0xc
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], 0
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], 1
mov dword [ebp - 0x2c], esp
push 0
push dword [ebp - 4]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x1004530e
push 0xda
push 0x4242b91
push 6
call fcn.1010142e
add esp, 0xc
cmp dword [ebp - 0xc], 0
je 0x10045745
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], 0x44
mov ebx, dword [ebp - 0x10]
add ebx, 0x2c
mov dword [ebp - 0x2c], ebx
push 0x80000301
push 0
push pe_nt_image_headers32
push 0x80000301
push 0
push 1
push 2
mov ebx, 0xc8
call fcn.10102770
add esp, 0x1c
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0x30
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x2c]
mov word [ebx], ax
mov ebx, dword [ebp - 0x10]
add ebx, 0x40
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0x44
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x2c]
mov dword [ebx], eax
push dword [ebp + 8]
call fcn.1000ce6e
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esp
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
push eax
push 0x44
call fcn.10101428
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push 0
push 0
push 0
push 1
push 0
push 0
push dword [ebp - 0x2c]
push 0
call dword [0x102bdaff]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x100454c1
push 0x284
push 0x4242b91
push 6
call fcn.1010142e
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x34]
push ebx
mov edi, dword [ebp - 0x38]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.10008d52
call fcn.10008d52
call fcn.10008d52
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.10101422
add esp, 4
pop eax
test eax, eax
je 0x10045745
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
call fcn.10014235
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x2c], esp
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0
push dword [ebp - 8]
call dword [0x102bdc1b]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x100455dc
push 0x3b5
push 0x4242b91
push 6
call fcn.1010142e
add esp, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x100455ee
jmp 0x10045745
cmp dword [ebp - 0x20], 0
jle 0x100456a4
push 0x80000301
push 0
push dword [ebp - 0x20]
push 1
mov ebx, 0x1bc
call fcn.10102410
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1004562b
push ebx
call fcn.10101422
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.10008331
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esp
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x10045676
push 0x494
push 0x4242b91
push 6
call fcn.1010142e
add esp, 0xc
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov ecx, 2
call fcn.10007af0
add esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x100456a0
push ebx
call fcn.10101422
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
cmp dword [ebp + 0x14], 0
jle 0x100456fc
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
call fcn.10014235
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
fild qword [ebp - 0x3c]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fild qword [ebp - 0x1c]
fstp qword [ebp - 0x44]
fsub qword [ebp - 0x44]
fstp qword [ebp - 0x4c]
fild dword [ebp + 0x14]
fstp qword [ebp - 0x54]
fld qword [ebp - 0x4c]
fsub qword [ebp - 0x54]
fcomp qword [0x1010b31b]
fnstsw ax
test ah, 0x41
jne 0x100456fc
jmp 0x10045745
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], esp
push 1
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
call dword [0x102bdacf]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x10045735
push 0x631
push 0x4242b91
push 6
call fcn.1010142e
add esp, 0xc
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x102
je 0x10045598
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
cmp dword [ebx], 0
je 0x100457d3
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], esp
push 1
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
call dword [0x102bdacf]
nop
nop
nop
nop
cmp dword [ebp - 0x30], esp
je 0x10045790
push 0x711
push 0x4242b91
push 6
call fcn.1010142e
add esp, 0xc
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x102
jne 0x100457b0
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
call fcn.10036f84
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
call fcn.10015d2b
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x2c]
push dword [ebx]
call fcn.10015d2b
cmp dword [ebp - 0xc], 0
je 0x100457e5
push dword [ebp - 0xc]
call fcn.10015d2b
cmp dword [ebp - 8], 0
je 0x100457f7
push dword [ebp - 8]
call fcn.10015d2b
cmp dword [ebp + 0x1c], 0
jne 0x10045837
push htons
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x10045814
mov eax, 0x1010b24e
push eax
push 1
mov ebx, 0x168
call fcn.10102fd0
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
jmp 0x10045890
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
call fcn.10045918
mov dword [ebp - 0x30], eax
push htons
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x10045862
mov eax, 0x1010b24e
push eax
push 1
mov ebx, 0x168
call fcn.10102fd0
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x10045888
push ebx
call fcn.10101422
add esp, 4
mov eax, dword [ebp - 0x34]
jmp 0x10045890
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.10101422
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x100458b4
push ebx
call fcn.10101422
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x100458c8
push ebx
call fcn.10101422
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x100458dc
push ebx
call fcn.10101422
add esp, 4
pop ebx
call fcn.10101422
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.10101422
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10045901
push ebx
call fcn.10101422
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10045911
push ebx
call fcn.10101422
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x1c