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

Disassembly:
mov ecx, dword [0x67bf38]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x505f09
sub esp, 0x50
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x10], 0
call sym.net.parseNetwork
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x505ddc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp eax, 2
jne 0x505c05
cmp word [ecx], 0x7069
je 0x505c33
jmp 0x505d97
cmp eax, 3
jne 0x505d97
movzx edx, word [ecx]
cmp dx, 0x7069
jne 0x505c23
cmp byte [ecx + 2], 0x34
je 0x505c33
cmp dx, 0x7069
jne 0x505d97
cmp byte [ecx + 2], 0x36
jne 0x505d97
mov edx, dword [esp + 0x6c]
test edx, edx
jne 0x505cef
mov eax, dword [0x6511d0]
mov ecx, dword [0x6511d4]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x4c], ecx
lea edx, [0x545400]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov ecx, dword [0x67c100]
test ecx, ecx
jne 0x505c8c
mov ecx, dword [esp + 0x4c]
jmp 0x505c97
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x4c]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 0
mov ecx, dword [0x67c100]
test ecx, ecx
jne 0x505cb0
mov ecx, dword [esp + 0x68]
jmp 0x505cbb
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x68]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov byte [eax + 0x1a], 1
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea ecx, [0x585878]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x50
ret
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
call sym.net._Resolver_.internetAddrList
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x505d68
mov eax, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x44], ecx
lea edx, [0x54b5c0]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x34]
mov ebx, edx
xor ebp, ebp
xor esi, esi
jmp 0x505e1c
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x50
ret
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea ecx, [0x5857ec]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x50
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x50
ret
mov dword [eax + edx*4 - 0xc], edi
inc ebp
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
cmp ebp, ebx
jge 0x505ec9
lea edi, [ecx + ebp*8]
mov ecx, dword [edi]
lea ebx, [0x585af4]
cmp ecx, ebx
jne 0x505eec
mov ecx, dword [edi + 4]
inc esi
mov edi, dword [ecx]
mov ebx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
cmp edx, esi
jae 0x505e95
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x38], ebp
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x54b5c0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x30], edx
lea edx, [esi + esi*2]
mov dword [eax + edx*4 - 8], ebx
mov dword [eax + edx*4 - 4], ecx
mov ecx, dword [0x67c100]
test ecx, ecx
je 0x505e0b
mov ecx, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebx, dword [eax + edx*4 - 0xc]
mov dword [edi + 4], ebx
mov edi, ecx
jmp 0x505e0b
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x50
ret
mov eax, dword [0x585af8]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x537d40]
mov dword [esp + 8], eax
call sym.runtime.panicdottypeI
nop
call sym.runtime.morestack_noctxt
jmp sym.net._Resolver_.LookupIP