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

Disassembly:
mov ecx, dword [0x5f7a74]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x70]
cmp eax, dword [ecx + 8]
jbe 0x4bae70
sub esp, 0xf0
mov eax, 0
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
mov byte [esp + 0x37], 0
mov eax, dword [edx + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [edx + 8]
mov dword [esp + 0xa8], ecx
mov ebx, dword [edx + 0xc]
mov dword [esp + 0x78], ebx
mov ebp, dword [edx + 0x10]
mov dword [esp + 0x3c], ebp
mov edx, dword [edx + 0x14]
mov dword [esp + 0x44], edx
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym.net.acquireThread
mov eax, dword [esp + 8]
test eax, eax
jne 0x4ba61a
lea ecx, [0x501b98]
mov dword [esp + 0xe8], ecx
mov byte [esp + 0x37], 1
lea edi, [esp + 0x7c]
xor eax, eax
call fcn.0046e658
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], 1
mov dword [esp + 0x70], 0
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 4], edx
call sym.syscall.UTF16FromString
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4ba55a
mov eax, dword [esp + 0x18]
xor edx, edx
jmp 0x4ba56e
mov edx, dword [esp + 0xc]
test edx, edx
jbe 0x4bae5a
mov edx, dword [esp + 8]
xor ecx, ecx
xor eax, eax
test ecx, ecx
jne 0x4ba5a4
mov dword [esp + 0x74], edx
call sym.net.getSystemDNSConfig
mov eax, dword [esp]
mov dword [esp + 0xa4], eax
call sym.time.Now
lea edi, [esp + 0xb0]
lea esi, [esp]
call fcn.0046eb3e
xor eax, eax
xor ecx, ecx
xor edx, edx
jmp 0x4ba7c8
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call sym.net.newDNSError
mov eax, dword [esp + 0x18]
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
lea ecx, [0x5207f4]
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], eax
mov byte [esp + 0x37], 0
call sym.net.releaseThread
add esp, 0xf0
ret
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x9c], ecx
cmp dword [0x5d11a0], eax
jne 0x4ba669
mov edx, dword [0x5d11a4]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x4ba65e
lea eax, [0x5207d4]
lea ecx, [0x5f7940]
jmp 0x4ba6a9
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x9c]
cmp dword [0x5d11a8], eax
jne 0x4ba6a9
mov edx, dword [0x5d11ac]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x4ba69e
mov eax, dword [0x5d0fa8]
mov ecx, dword [0x5d0fac]
jmp 0x4ba6a9
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x9c]
mov eax, dword [eax + 0xc]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 4]
mov dword [esp + 0xe4], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 0xa8]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0xe0], ecx
lea edx, [0x4ed020]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x5f7b90]
test ecx, ecx
jne 0x4ba71a
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0xe4]
jmp 0x4ba72f
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov edx, dword [esp + 0xe4]
mov dword [edi + 4], edx
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0xc], ecx
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x64]
cmp dword [0x5d11a8], ecx
je 0x4ba74c
xor ecx, ecx
jmp 0x4ba77e
mov dword [esp + 0xdc], eax
mov eax, dword [0x5d11ac]
mov dword [esp], ecx
mov ecx, dword [esp + 0xe0]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0xdc]
mov byte [eax + 0x20], cl
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
lea ecx, [0x5207f4]
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], eax
add esp, 0xf0
ret
mov ebx, dword [esp + 0x40]
inc ebx
mov edx, ecx
mov ecx, eax
mov eax, ebx
mov ebx, dword [esp + 0xa4]
cmp dword [ebx + 0x24], eax
jle 0x4ba8c8
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov dword [esp + 4], 0
lea ecx, [esp + 0x7c]
mov dword [esp + 8], ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0xc], ecx
call sym.syscall.GetAddrInfoW
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x4ba8b3
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x4c], eax
lea edx, [0x520724]
cmp eax, edx
je 0x4ba82c
mov ebx, 1
jmp 0x4ba85d
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x5203fc]
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, dword [esp + 0xa0]
lea edx, [0x520724]
mov ebx, eax
mov eax, dword [esp + 0x4c]
test bl, bl
je 0x4ba868
mov ebx, 1
jmp 0x4ba8be
lea edi, [esp]
lea esi, [esp + 0xb0]
call fcn.0046eb3e
call sym.time.Since
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xa4]
mov ebx, dword [edx + 0x20]
cmp dword [edx + 0x1c], eax
setb al
cmp ecx, ebx
sete cl
setg bl
and ecx, eax
or ebx, ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0xa0]
lea edx, [0x520724]
jmp 0x4ba8be
lea edx, [0x520724]
mov ebx, 1
test bl, bl
je 0x4ba7bd
jmp 0x4ba8d2
mov eax, ecx
mov ecx, edx
lea edx, [0x520724]
test eax, eax
jne 0x4ba92f
mov eax, dword [esp + 0x70]
lea ecx, [sym.net._Resolver_.lookupIP.func1.deferwrap1]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
lea eax, [esp + 0xc4]
mov dword [esp + 0xec], eax
mov byte [esp + 0x37], 3
lea eax, [0x4e2a00]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 5
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov ecx, 5
xor edx, edx
jmp 0x4baaad
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x4c], eax
cmp eax, edx
jne 0x4ba976
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x5203f0]
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4ba9cb
mov eax, dword [esp + 0x4c]
lea ecx, [0x520724]
cmp eax, ecx
mov ecx, dword [esp + 0xa0]
lea edx, [0x520724]
jne 0x4ba9aa
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x5203f4]
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4ba9cb
mov eax, dword [esp + 0x4c]
lea ecx, [0x520724]
cmp eax, ecx
mov ecx, dword [esp + 0xa0]
jne 0x4ba9d9
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x5203f8]
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x4ba9d9
mov eax, dword [0x5d0ed8]
lea ecx, [0x5207c4]
jmp 0x4baa2c
nop
lea eax, [0x4e2880]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x4f6e58]
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [0x5f7b90]
test ecx, ecx
jne 0x4baa15
mov ecx, dword [esp + 0xa0]
jmp 0x4baa23
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0xa0]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x520784]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call sym.net.newDNSError
mov eax, dword [esp + 0x18]
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
lea ecx, [0x5207f4]
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], eax
mov byte [esp + 0x37], 0
call sym.net.releaseThread
add esp, 0xf0
ret
mov ebx, dword [esp + 0x70]
mov ebx, dword [ebx + 0x1c]
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 0x70]
test ebx, ebx
je 0x4bae0e
mov dword [esp + 0xac], eax
mov dword [esp + 0x58], ecx
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx + 0x18]
cmp ebp, 2
je 0x4bac51
cmp ebp, 0x17
jne 0x4bad7c
mov dword [esp + 0x54], edx
test byte [ebx], al
lea esi, [ebx + 8]
lea edi, [esp + 0x23]
call fcn.0046eb48
mov eax, dword [ebx + 0x18]
lea ecx, [0x5d9040]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.net._ipv6ZoneCache_.name
mov eax, dword [esp + 8]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x54]
inc edx
mov dword [esp + 0x68], edx
mov dword [esp], 0x10
mov dword [esp + 4], 0
mov byte [esp + 8], 0
call sym.runtime.mallocgc
mov eax, dword [esp + 0xc]
mov dword [esp + 0xd8], eax
mov dword [esp], eax
lea ecx, [esp + 0x23]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x10
call sym.runtime.memmove
mov eax, dword [esp + 0xd8]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], 0x10
mov dword [esp + 0xb8], 0x10
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x68]
cmp eax, ecx
jb 0x4babad
mov edx, ecx
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x58]
jmp 0x4babe2
mov edx, dword [esp + 0xac]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
lea eax, [0x4e2a00]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x58], ecx
mov ebx, dword [0x5f7b90]
lea ebp, [edx + edx*4]
lea edi, [eax + ebp*4 - 0x14]
test ebx, ebx
je 0x4bac3c
mov dword [esp + 0xd4], eax
mov dword [esp + 0x60], edx
mov dword [esp + 0xd0], edi
lea eax, [0x4e2a00]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xb0]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov eax, dword [esp + 0xd4]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0xd0]
lea esi, [esp + 0xb0]
call fcn.0046eb3e
mov ecx, dword [esp + 0x58]
jmp 0x4baaa2
mov eax, dword [ebx + 4]
mov dword [esp + 0x33], eax
lea eax, [edx + 1]
mov dword [esp + 0x68], eax
mov dword [esp], 4
mov dword [esp + 4], 0
mov byte [esp + 8], 0
call sym.runtime.mallocgc
mov eax, dword [esp + 0x33]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xd8], ecx
mov dword [ecx], eax
lea edi, [esp + 0xb0]
xor eax, eax
call fcn.0046e65b
mov ecx, dword [esp + 0xd8]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], 4
mov dword [esp + 0xb8], 4
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x68]
cmp ecx, edx
jb 0x4bacd6
mov ecx, edx
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0x58]
jmp 0x4bad0b
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x4e2a00]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x54], ecx
mov ebx, dword [0x5f7b90]
lea ebp, [ecx + ecx*4]
lea edi, [eax + ebp*4 - 0x14]
test ebx, ebx
je 0x4bad65
mov dword [esp + 0xcc], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0xd0], edi
lea eax, [0x4e2a00]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xb0]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0xd0]
lea esi, [esp + 0xb0]
call fcn.0046eb3e
mov ecx, edx
mov edx, dword [esp + 0x54]
jmp 0x4baaa2
lea eax, [0x520724]
mov dword [esp], eax
lea eax, [0x5203d8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call sym.net.newDNSError
mov eax, dword [esp + 0x18]
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
lea ecx, [0x5207f4]
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], eax
mov byte [esp + 0x37], 1
mov edx, dword [esp + 0xec]
mov eax, dword [edx]
call eax
mov byte [esp + 0x37], 0
call sym.net.releaseThread
add esp, 0xf0
ret
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], edx
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov byte [esp + 0x37], 1
mov edx, dword [esp + 0xec]
mov eax, dword [edx]
call eax
mov byte [esp + 0x37], 0
call sym.net.releaseThread
add esp, 0xf0
ret
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
nop
call sym.runtime.deferreturn
add esp, 0xf0
ret
call sym.runtime.morestack
jmp sym.net._Resolver_.lookupIP.func1