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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4da826
sub esp, 0x58
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x4da714
xor eax, eax
mov ecx, eax
mov edx, dword [esp + 0x70]
test edx, edx
je 0x4da6e3
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x5c]
mov ebx, dword [ecx + 0x140]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
test ecx, ecx
jne 0x4da6d7
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
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 0x4da6cb
mov edx, dword [esp + 0x5c]
mov byte [edx + 0x148], 1
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
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 0x4da5ab
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 0x4da659
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 0x4da597
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, [0x50db80]
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 0x4da597
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ebx
add esp, 0x58
ret
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
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 0x4da708
mov edx, dword [esp + 0x5c]
xor eax, eax
xor ecx, ecx
jmp 0x4da4e6
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x58
ret
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 0x140]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x6c]
mov dword [esp], edx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
test ecx, ecx
jne 0x4da81a
test ebx, ebx
jne 0x4da753
mov eax, edx
mov ecx, ebx
jmp 0x4da449
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call dbg.syscall.Bind
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x4da788
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
jmp 0x4da74a
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
lea eax, [0x5103e0]
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 [0x5e13d0]
test ecx, ecx
jne 0x4da802
lea ecx, [0x529818]
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov ecx, dword [0x5e13d0]
lea edx, [eax + 0xc]
test ecx, ecx
jne 0x4da7ec
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
lea ecx, [0x544930]
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 0x4da7da
mov dword [esp], eax
lea ecx, [0x529818]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x4c]
jmp 0x4da7bf
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x58
ret
call dbg.runtime.morestack_noctxt
jmp dbg.net.(*netFD).dial