Function at 0x440790
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Get local ipv4 addresses
Get mac address on windows
Read file on windows
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x58181f
push eax
mov eax, 0x4fbc
mov dword fs:[0], esp
call fcn.00550870
push ebx
push esi
lea eax, [esp + 0x4c]
push edi
lea ecx, [esp + 0x27c8]
push eax
push ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x58], 0x2800
call sub.iphlpapi.dll_GetAdaptersInfo
mov edi, dword [esp + 0x4fdc]
test eax, eax
jne 0x440931
push edi
call sub.WSOCK32.dll_ntohl
lea edx, [esp + 0x30]
push eax
push edx
call fcn.004413c0
add esp, 8
lea eax, [esp + 0x2978]
mov ebx, 1
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x4fd4], ebx
lea esi, [esp + 0x27cc]
call fcn.0056877a
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
push ecx
push edx
call fcn.005503ed
add esp, 8
test eax, eax
je 0x440872
mov esi, dword [esi]
lea ecx, [esp + 0x24]
mov byte [esp + 0x4fd0], 1
call fcn.0056870c
test esi, esi
je 0x44091e
lea eax, [esi + 0x1b0]
lea ecx, [esp + 0x24]
push eax
call fcn.0056877a
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
push ecx
push edx
call fcn.005503ed
add esp, 8
test eax, eax
jne 0x440831
mov eax, dword [0x5f9f88]
mov dword [esp + 0x14], eax
xor ecx, ecx
xor edx, edx
mov cl, byte [esi + 0x199]
mov dl, byte [esi + 0x198]
xor eax, eax
push ecx
mov al, byte [esi + 0x197]
push edx
xor ecx, ecx
push eax
mov cl, byte [esi + 0x196]
xor edx, edx
mov dl, byte [esi + 0x195]
xor eax, eax
mov al, byte [esi + 0x194]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
push 0x5ea96c
push ecx
mov byte [esp + 0x4ff0], 3
call fcn.00563eb4
add esp, 0x20
lea ecx, [esp + 0x14]
call fcn.00568c0e
mov esi, dword [esp + 0x4fd8]
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.00568481
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x4fd0], 2
call fcn.0056870c
lea ecx, [esp + 0x24]
mov byte [esp + 0x4fd0], 1
call fcn.0056870c
mov byte [esp + 0x4fd0], 0
lea ecx, [esp + 0x30]
jmp 0x440f60
lea ecx, [esp + 0x30]
mov byte [esp + 0x4fd0], 0
call fcn.0056870c
jmp 0x440936
mov ebx, 1
push 0x5fe7d8
lea ecx, [esp + 0x14]
call fcn.0056877a
mov eax, dword [esp + 0x4fe0]
mov dword [esp + 0x4fd0], 4
test eax, eax
jne 0x440a2c
lea eax, [esp + 0x24]
lea ecx, [esp + 0x34]
push eax
push ecx
push edi
push edi
mov dword [esp + 0x34], 6
call sub.iphlpapi.dll_SendARP
test eax, eax
jne 0x440a2c
xor esi, esi
mov bl, 5
mov edx, dword [0x5f9f88]
mov dword [esp + 0x14], edx
xor eax, eax
lea ecx, [esp + 0x14]
mov al, byte [esp + esi + 0x34]
mov byte [esp + 0x4fd0], bl
push eax
push 0x5ea964
push ecx
call fcn.00563eb4
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.00568c0e
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
call fcn.00568b24
lea ecx, [esp + 0x14]
mov byte [esp + 0x4fd0], 4
call fcn.0056870c
inc esi
cmp esi, 6
jl 0x440983
mov eax, dword [esp + 0x10]
push 0x5ea954
push eax
call fcn.005503ed
add esp, 8
test eax, eax
je 0x440a27
mov ecx, dword [esp + 0x10]
push 0x5ea944
push ecx
call fcn.005503ed
add esp, 8
test eax, eax
je 0x440a27
mov esi, dword [esp + 0x4fd8]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.00568481
mov dword [esp + 0x20], 1
jmp 0x440f54
mov ebx, 1
push edi
call sub.WSOCK32.dll_ntohl
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.004413c0
add esp, 8
push 0x5fe7d8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4fd4], 6
call fcn.0056877a
xor eax, eax
mov byte [esp + 0x4fd0], 7
xor ecx, ecx
mov edx, edi
shr edx, cl
add ecx, 8
inc eax
cmp ecx, 0x20
mov byte [esp + eax + 0x33], dl
jl 0x440a62
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x35]
mov edx, dword [esp + 0x36]
and eax, 0xff
push eax
mov eax, dword [esp + 0x3b]
and ecx, 0xff
and edx, 0xff
push ecx
and eax, 0xff
push edx
push eax
lea ecx, [esp + 0x28]
push 0x5ea930
push ecx
call fcn.00563eb4
mov edx, dword [0x5ea920]
mov ecx, dword [0x5ea928]
mov eax, dword [0x5ea924]
add esp, 0x18
mov dword [esp + 0x54], edx
mov dx, word [0x5ea92c]
mov dword [esp + 0x5c], ecx
push 0x5ea8f8
lea ecx, [esp + 0x20]
mov dword [esp + 0x5c], eax
mov word [esp + 0x64], dx
call fcn.0056877a
push 0x5fe7d8
lea ecx, [esp + 0x14]
mov byte [esp + 0x4fd4], 8
call fcn.00568895
lea eax, [esp + 0x64]
push 0
lea ecx, [esp + 0x50]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
mov dword [esp + 0x74], 0xc
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ebx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x440b47
mov esi, dword [esp + 0x4fd8]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.00568481
mov dword [esp + 0x20], ebx
jmp 0x440f21
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], 0x44
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x3c]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xac], eax
lea eax, [esp + 0x70]
push edx
push eax
push 0
push 0
push 0
push ebx
push 0
lea ecx, [esp + 0x70]
push 0
push ecx
push 0
mov word [esp + 0xc8], 0
mov dword [esp + 0xc4], 0x101
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edx, dword [0x5f9f88]
mov dword [esp + 0xc], edx
mov bl, 9
test eax, eax
mov byte [esp + 0x4fd0], bl
je 0x440eda
mov eax, dword [esp + 0x3c]
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x4c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0xb4]
lea edx, [esp + 0x24]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x2c]
push 0
stosb byte es:[edi], al
push edx
lea eax, [esp + 0xbc]
push 0x2710
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x440c2e
mov edx, dword [esp + 0x3c]
push edx
call esi
mov eax, dword [esp + 0x40]
push eax
call esi
mov ecx, dword [esp + 0x2c]
push ecx
call esi
lea edx, [esp + 0x18]
push edx
jmp 0x440efa
lea eax, [esp + 0xb4]
lea ecx, [esp + 0xc]
push eax
call fcn.00568895
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x10]
call fcn.00563b2e
cmp eax, 0xffffffff
jne 0x440d25
mov edx, dword [esp + 0x3c]
push edx
call esi
mov eax, dword [esp + 0x40]
push eax
call esi
mov ecx, dword [esp + 0x2c]
push ecx
call esi
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
push edx
call fcn.00563b2e
cmp eax, 0xffffffff
jne 0x440c88
lea eax, [esp + 0x18]
push eax
jmp 0x440efa
mov ecx, dword [esp + 0x1c]
push 0x11
lea edx, [esp + 0x18]
mov ecx, dword [ecx - 8]
add ecx, eax
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.00563982
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x4fd4], 0xa
call fcn.00568845
lea ecx, [esp + 0x14]
mov byte [esp + 0x4fd0], bl
call fcn.0056870c
push 0x5fe7d8
push 0x5e77b8
lea ecx, [esp + 0x14]
call fcn.005637fc
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
call fcn.00568845
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 8], 0xc
jle 0x440eca
lea edx, [esp + 0x14]
push 0xc
push edx
lea ecx, [esp + 0x18]
call fcn.00563a94
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4fd4], 0xb
call fcn.00568845
mov byte [esp + 0x4fd0], bl
lea ecx, [esp + 0x14]
jmp 0x440ec5
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.00563a94
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x4fd4], 0xc
call fcn.00568845
lea ecx, [esp + 0x14]
mov byte [esp + 0x4fd0], bl
call fcn.0056870c
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
push edx
call fcn.00563b2e
cmp eax, 0xffffffff
mov edi, eax
je 0x440d89
inc eax
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.00563b3c
cmp eax, 0xffffffff
je 0x440d84
mov edi, eax
jmp 0x440d6b
cmp edi, 0xffffffff
jne 0x440d93
mov ecx, dword [esp + 0x3c]
push ecx
jmp 0x440ee5
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc]
mov eax, dword [edx - 8]
sub eax, edi
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00563a18
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x4fd4], 0xd
call fcn.00568845
lea ecx, [esp + 0x14]
mov byte [esp + 0x4fd0], bl
call fcn.0056870c
mov ecx, dword [esp + 0x1c]
push 0x5fe7d8
push ecx
lea ecx, [esp + 0x14]
call fcn.005637fc
push 0x5e8fcc
lea ecx, [esp + 0x10]
call fcn.00563b2e
lea edx, [esp + 0x14]
push eax
push edx
lea ecx, [esp + 0x14]
call fcn.00563a94
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x4fd4], 0xe
call fcn.00568845
lea ecx, [esp + 0x14]
mov byte [esp + 0x4fd0], bl
call fcn.0056870c
push 0x5fe7d8
push 0x5e77b8
lea ecx, [esp + 0x14]
call fcn.005637fc
push 0x5fe7d8
push 0x5e6484
lea ecx, [esp + 0x14]
call fcn.005637fc
push 0x5fe7d8
push 0x5e8fcc
lea ecx, [esp + 0x14]
call fcn.005637fc
push 0x5fe7d8
push 0x5ea618
lea ecx, [esp + 0x14]
call fcn.005637fc
mov eax, dword [esp + 0x3c]
push eax
call esi
mov ecx, dword [esp + 0x40]
push ecx
call esi
mov edx, dword [esp + 0x2c]
push edx
call esi
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
call fcn.00568845
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 8], 0xc
jle 0x440eca
lea edx, [esp + 0x14]
push 0xc
push edx
lea ecx, [esp + 0x18]
call fcn.00563a94
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4fd4], 0xf
call fcn.00568845
mov byte [esp + 0x4fd0], bl
lea ecx, [esp + 0x14]
call fcn.0056870c
lea ecx, [esp + 0x10]
call fcn.00568c0e
lea eax, [esp + 0x10]
push eax
jmp 0x440efa
mov ecx, dword [esp + 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x40]
push edx
call esi
mov eax, dword [esp + 0x2c]
push eax
call esi
lea ecx, [esp + 0x18]
push ecx
mov esi, dword [esp + 0x4fdc]
mov ecx, esi
call fcn.00568481
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 1
mov byte [esp + 0x4fd0], 8
call fcn.0056870c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4fd0], 7
call fcn.0056870c
lea ecx, [esp + 0x18]
mov byte [esp + 0x4fd0], 6
call fcn.0056870c
lea ecx, [esp + 0x28]
mov byte [esp + 0x4fd0], 4
call fcn.0056870c
mov byte [esp + 0x4fd0], 0
lea ecx, [esp + 0x10]
call fcn.0056870c
mov ecx, dword [esp + 0x4fc8]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x4fc8
ret