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

Disassembly:
mov ecx, dword [0x61c868]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d8b6c
sub esp, 0x7c
mov ecx, dword [esp + 0x90]
cmp ecx, 2
jne 0x4d8616
mov ebx, dword [esp + 0x8c]
cmp word [ebx], 0x7069
je 0x4d864c
jmp 0x4d8b23
cmp ecx, 3
jne 0x4d868e
mov ebx, dword [esp + 0x8c]
cmp byte [ebx], 0x69
jg 0x4d866b
movzx ebp, word [ebx]
cmp bp, 0x7069
jne 0x4d863c
cmp byte [ebx + 2], 0x34
je 0x4d864c
cmp bp, 0x7069
jne 0x4d8b23
cmp byte [ebx + 2], 0x36
jne 0x4d8b23
mov ebp, dword [esp + 0x98]
test ebp, ebp
je 0x4d8660
mov eax, dword [esp + 0x94]
jmp 0x4d8664
xor ebp, ebp
xor eax, eax
xor edx, edx
jmp 0x4d878c
cmp word [ebx], 0x6374
jne 0x4d8678
cmp byte [ebx + 2], 0x70
je 0x4d86cc
cmp word [ebx], 0x6475
jne 0x4d8b23
cmp byte [ebx + 2], 0x70
je 0x4d86cc
jmp 0x4d8b23
cmp ecx, 4
jne 0x4d8b1c
mov ebx, dword [esp + 0x8c]
cmp byte [ebx], 0x74
jg 0x4d86b8
cmp dword [ebx], 0x34706374
je 0x4d86cc
cmp dword [ebx], 0x36706374
je 0x4d86cc
jmp 0x4d8b23
cmp dword [ebx], 0x34706475
je 0x4d86cc
cmp dword [ebx], 0x36706475
jne 0x4d8b23
mov ebp, dword [esp + 0x98]
test ebp, ebp
jne 0x4d86e2
xor eax, eax
xor edx, edx
xor ebp, ebp
jmp 0x4d8784
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov dword [esp + 4], ebp
call sym.net.SplitHostPort
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x4d8ae5
mov dword [esp + 0x38], edx
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x80]
mov dword [esp], edx
mov ebx, dword [esp + 0x84]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x88]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x8c]
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x90]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call sym.net._Resolver_.LookupPort
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4d8aae
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x90]
mov eax, ebx
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x8c]
mov esi, edx
mov edx, eax
mov eax, ebp
mov ebp, esi
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea esi, [sym.net._Resolver_.internetAddrList.func1]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x78], edx
test ebp, ebp
jne 0x4d8853
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x40], ecx
lea edi, [esp]
xor eax, eax
call fcn.0047548b
lea edx, [esp + 0x6c]
mov ecx, dword [esp + 0x40]
call ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x54], ebx
lea ebp, [0x504500]
mov dword [esp], ebp
call sym.runtime.newobject
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 0x40]
mov dword [ecx], ebx
mov ebx, dword [0x61c998]
test ebx, ebx
jne 0x4d880e
mov eax, dword [esp + 0x54]
jmp 0x4d8819
call sym.runtime.gcWriteBarrier1
mov eax, dword [esp + 0x54]
mov dword [edi], eax
mov dword [ecx + 4], eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], 1
mov dword [esp + 0xa4], 1
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
add esp, 0x7c
ret
mov dword [esp + 0x38], ebp
mov dword [esp + 0x48], eax
mov edx, dword [esp + 0x80]
mov dword [esp], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebp
call sym.net._Resolver_.lookupIPAddr
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
test eax, eax
jne 0x4d8a77
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
cmp edx, 1
je 0x4d88b5
xor eax, eax
jmp 0x4d8904
mov dword [esp + 0x30], edx
mov dword [esp + 0x44], ebx
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
mov ebp, dword [0x5f9618]
mov esi, dword [0x5f961c]
mov edi, dword [0x5f9620]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
call sym.net.IP.Equal
movzx eax, byte [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x44]
test al, al
je 0x4d89ca
lea edi, [esp + 0x58]
xor eax, eax
call fcn.0047548b
lea ecx, [edx + 1]
mov edx, dword [0x5fcb08]
mov ebp, dword [0x5fcb0c]
mov eax, dword [0x5fcb10]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], eax
mov edx, dword [esp + 0x34]
cmp edx, ecx
jae 0x4d8970
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x50dac0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, eax
mov dword [esp + 0x30], ecx
mov eax, dword [0x61c998]
lea ebp, [ecx + ecx*4]
lea edi, [ebx + ebp*4 - 0x14]
test eax, eax
je 0x4d89bb
mov dword [esp + 0x50], ebx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x4c], edi
lea eax, [0x50dac0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
lea esi, [esp + 0x58]
call fcn.0047596e
mov ecx, edx
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x90]
test eax, eax
je 0x4d89f3
mov ebp, dword [esp + 0x8c]
lea esi, [eax + ebp - 1]
cmp byte [esi], 0x34
jne 0x4d89ef
test eax, eax
lea esi, [0x5328cc]
jmp 0x4d89ff
test eax, eax
jmp 0x4d89fa
mov ebp, dword [esp + 0x8c]
mov esi, 0
je 0x4d8a10
lea eax, [eax + ebp - 1]
cmp byte [eax], 0x36
jne 0x4d8a10
lea esi, [0x5328d0]
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
lea eax, [esp + 0x6c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], eax
call sym.net.filterAddrList
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], ebp
add esp, 0x7c
ret
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
add esp, 0x7c
ret
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
add esp, 0x7c
ret
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
add esp, 0x7c
ret
mov ebx, dword [esp + 0x8c]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call sym.runtime.convTstring
mov eax, dword [esp + 8]
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea ecx, [0x53b44c]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
add esp, 0x7c
ret
call sym.runtime.morestack_noctxt
jmp sym.net._Resolver_.internetAddrList