Function at 0x4f47d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f4bd8
sub esp, 0x58
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x4f4ac4
xor eax, eax
mov ecx, eax
mov edx, dword [esp + 0x70]
test edx, edx
je 0x4f4a93
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
mov eax, dword [edx + 0x24]
mov ecx, dword [esp + 0x5c]
mov ebx, dword [ecx + 0x104]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test edx, edx
jne 0x4f4a87
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call dbg.net.(*netFD).connect
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
test edx, edx
jne 0x4f4a7b
mov edx, dword [esp + 0x5c]
mov byte [edx + 0x10c], 1
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
mov ebx, dword [edx + 0x10]
mov dword [esp], ebx
call dbg.syscall.Getsockname
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x44]
test edx, edx
je 0x4f495b
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call dbg.net.(*netFD).addrFunc
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
call dbg.net.(*netFD).addrFunc
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call dbg.net.(*netFD).setAddr
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x58
ret
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call dbg.syscall.Getpeername
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x4f4a09
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call dbg.net.(*netFD).addrFunc
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
call dbg.net.(*netFD).addrFunc
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call dbg.net.(*netFD).setAddr
jmp 0x4f4947
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call dbg.net.(*netFD).addrFunc
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x50], ecx
lea edx, [0x610d00]
mov dword [esp], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 8], edx
call dbg.runtime.convI2I
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
call dbg.net.(*netFD).setAddr
jmp 0x4f4947
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ebx
add esp, 0x58
ret
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ebx
add esp, 0x58
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call dbg.net.(*netFD).init
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x4f4ab8
mov edx, dword [esp + 0x5c]
xor ecx, ecx
xor eax, eax
jmp 0x4f4896
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x58
ret
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 0x104]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x6c]
mov dword [esp], edx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test edx, edx
jne 0x4f4bcc
test eax, eax
jne 0x4f4b05
mov edx, eax
mov eax, ecx
mov ecx, edx
jmp 0x4f47f9
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x5c]
mov ebx, dword [edx + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call dbg.syscall.Bind
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x4f4b3a
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
jmp 0x4f4afa
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
lea eax, [0x6164e0]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov dword [eax + 4], 4
mov ecx, dword [0x79b700]
test ecx, ecx
jne 0x4f4bb4
lea ecx, [0x645a70]
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov ecx, dword [0x79b700]
lea edx, [eax + 0xc]
test ecx, ecx
jne 0x4f4b9e
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
lea ecx, [0x758130]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x58
ret
mov dword [esp], edx
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x4c]
jmp 0x4f4b8c
mov dword [esp], eax
lea ecx, [0x645a70]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x4c]
jmp 0x4f4b71
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ebx
add esp, 0x58
ret
call dbg.runtime.morestack_noctxt
jmp dbg.net.(*netFD).dial