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

Disassembly:
mov ecx, dword [0x621238]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x88]
cmp eax, dword [ecx + 8]
jbe 0x4db1d9
sub esp, 0x108
mov eax, 0
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], eax
mov byte [esp + 0x23], 0
mov eax, dword [edx + 4]
mov dword [esp + 0x34], eax
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x2c], ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x74], edx
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
nop
lea ebx, [0x6212e8]
mov dword [esp], ebx
lea ebx, [0x52b808]
mov dword [esp + 4], ebx
call sym.sync._Once_.Do
mov eax, dword [0x5fc010]
mov dword [esp], eax
lea eax, [esp + 0x23]
mov dword [esp + 4], eax
call sym.runtime.chansend1
lea eax, [0x52b858]
mov dword [esp + 0x104], eax
mov byte [esp + 0x23], 1
lea edi, [esp + 0xe0]
xor eax, eax
call fcn.004669b8
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], 1
mov dword [esp + 0x70], 0
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], edx
call sym.syscall.UTF16FromString
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4da986
mov ecx, dword [esp + 0x18]
xor edx, edx
jmp 0x4da99a
mov edx, dword [esp + 0xc]
test edx, edx
jbe 0x4db1c3
mov edx, dword [esp + 8]
xor eax, eax
xor ecx, ecx
test eax, eax
jne 0x4da9d0
mov dword [esp + 0x68], edx
call sym.net.getSystemDNSConfig
mov eax, dword [esp]
mov dword [esp + 0x80], eax
call sym.time.Now
lea edi, [esp + 0xa4]
lea esi, [esp]
call fcn.00466e9e
xor eax, eax
xor ecx, ecx
xor edx, edx
jmp 0x4daa9d
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
lea edx, [0x512de0]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x6213a0]
test ecx, ecx
jne 0x4daa14
mov ecx, dword [esp + 0x74]
jmp 0x4daa1f
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x74]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [0x6213a0]
test ecx, ecx
jne 0x4daa3c
mov ecx, dword [esp + 0x98]
jmp 0x4daa4a
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x98]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
lea ecx, [0x54d864]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], eax
mov byte [esp + 0x23], 0
call sym.net.releaseThread
add esp, 0x108
ret
mov ebp, dword [esp + 0x30]
inc ebp
mov edx, ecx
mov ecx, eax
mov eax, ebp
mov ebx, dword [esp + 0x80]
cmp dword [ebx + 0x24], eax
jle 0x4daba1
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], 0
lea ecx, [esp + 0xe0]
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 0x4dab8c
mov dword [esp + 0x78], ecx
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x10]
lea ebx, [0x54d74c]
cmp edx, ebx
je 0x4dab05
mov edx, 1
jmp 0x4dab37
mov eax, dword [esp + 0x14]
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [0x54d1bc]
mov dword [esp + 8], eax
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
xor eax, 1
mov ecx, dword [esp + 0x78]
lea ebx, [0x54d74c]
mov edx, eax
mov eax, dword [esp + 0x38]
test dl, dl
je 0x4dab42
mov edx, 1
jmp 0x4dab97
lea edi, [esp]
lea esi, [esp + 0xa4]
call fcn.00466e9e
call sym.time.Since
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x20]
cmp dword [esp + 0x14], edx
seta dl
cmp ebx, eax
setl al
sete bl
and ebx, edx
or eax, ebx
mov ecx, dword [esp + 0x78]
lea ebx, [0x54d74c]
mov edx, eax
mov eax, dword [esp + 0x38]
jmp 0x4dab97
lea ebx, [0x54d74c]
mov edx, 1
test dl, dl
je 0x4daa92
jmp 0x4dabab
lea ebx, [0x54d74c]
mov eax, ecx
mov ecx, edx
test eax, eax
jne 0x4dac1e
mov eax, dword [esp + 0x70]
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
lea ecx, [sym.net._Resolver_.lookupIP.func1.2]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x9c]
mov dword [esp + 0x100], eax
mov byte [esp + 0x23], 3
lea eax, [0x509f60]
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 0x4dadc6
mov dword [esp + 0x78], ecx
mov dword [esp + 0x38], eax
cmp eax, ebx
jne 0x4dac5d
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [0x54d1b8]
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x4dac5d
mov eax, dword [0x5f4728]
mov ecx, dword [0x5f472c]
mov edx, ecx
mov ecx, eax
mov eax, edx
jmp 0x4dacaa
nop
lea eax, [0x50a1a0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x51f8a8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [0x6213a0]
test ecx, ecx
jne 0x4dac96
mov ecx, dword [esp + 0x78]
jmp 0x4daca1
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x54d800]
mov dword [esp + 0x64], eax
mov dword [esp + 0x24], ecx
mov edx, dword [ecx + 0x10]
mov dword [esp], eax
call edx
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x98], ecx
lea edx, [0x512de0]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [0x6213a0]
test ecx, ecx
jne 0x4dacf9
mov ecx, dword [esp + 0x98]
jmp 0x4dad07
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x98]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x6213a0]
test ecx, ecx
jne 0x4dad20
mov ecx, dword [esp + 0x74]
jmp 0x4dad2b
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x74]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x24]
cmp dword [0x5f4728], ecx
jne 0x4dad6f
mov dword [esp + 0x7c], eax
mov eax, dword [0x5f472c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x4dad6b
mov eax, dword [esp + 0x7c]
mov byte [eax + 0x1a], 1
jmp 0x4dad6f
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
lea ecx, [0x54d864]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], eax
mov byte [esp + 0x23], 0
call sym.net.releaseThread
add esp, 0x108
ret
mov ebx, dword [esp + 0x70]
mov ebx, dword [ebx + 0x1c]
mov dword [esp + 0x70], ebx
mov ebx, ecx
mov ecx, edx
mov edx, ebx
mov ebx, dword [esp + 0x70]
test ebx, ebx
je 0x4db177
mov dword [esp + 0x84], eax
mov dword [esp + 0x40], ecx
mov ebp, dword [ebx + 4]
mov ebx, dword [ebx + 0x18]
cmp ebp, 2
je 0x4daf78
cmp ebp, 0x17
jne 0x4db0a1
mov dword [esp + 0x3c], edx
test byte [ebx], al
lea esi, [ebx + 8]
lea edi, [esp + 0x54]
call fcn.00466ea8
mov eax, dword [ebx + 0x18]
lea ecx, [0x5fc5c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.net._ipv6ZoneCache_.name
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x28], 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 + 0x94], eax
mov dword [esp], eax
lea ecx, [esp + 0x54]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x10
call sym.runtime.memmove
lea edi, [esp + 0xb8]
xor eax, eax
call fcn.004669bb
mov ecx, dword [esp + 0x94]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], 0x10
mov dword [esp + 0xc0], 0x10
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x50]
cmp ecx, edx
jb 0x4daed4
mov ecx, edx
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x40]
jmp 0x4daf09
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x509f60]
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 + 0x3c], ecx
mov ebx, dword [0x6213a0]
lea ebp, [ecx + ecx*4]
lea edi, [eax + ebp*4 - 0x14]
test ebx, ebx
je 0x4daf63
mov dword [esp + 0x90], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x8c], edi
lea eax, [0x509f60]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xb8]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x8c]
lea esi, [esp + 0xb8]
call fcn.00466e9e
mov ecx, dword [esp + 0x3c]
jmp 0x4dadb5
mov eax, dword [ebx + 4]
mov dword [esp + 0x44], eax
lea eax, [edx + 1]
mov dword [esp + 0x50], eax
mov dword [esp], 4
mov dword [esp + 4], 0
mov byte [esp + 8], 0
call sym.runtime.mallocgc
mov eax, dword [esp + 0xc]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x44]
mov dword [eax], ecx
lea edi, [esp + 0xcc]
xor eax, eax
call fcn.004669bb
mov ecx, dword [esp + 0x94]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], 4
mov dword [esp + 0xd4], 4
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x50]
cmp ecx, edx
jb 0x4daffd
mov ecx, edx
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x40]
jmp 0x4db032
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x509f60]
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 + 0x3c], ecx
mov ebx, dword [0x6213a0]
lea ebp, [ecx + ecx*4]
lea edi, [eax + ebp*4 - 0x14]
test ebx, ebx
je 0x4db08c
mov dword [esp + 0x88], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x8c], edi
lea eax, [0x509f60]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xcc]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x8c]
lea esi, [esp + 0xcc]
call fcn.00466e9e
mov ecx, dword [esp + 0x3c]
jmp 0x4dadb5
mov dword [esp], 0x20000082
call sym.syscall.Errno.Error
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x98], ecx
lea edx, [0x512de0]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [0x6213a0]
test ecx, ecx
jne 0x4db0ec
mov ecx, dword [esp + 0x98]
jmp 0x4db0fa
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x98]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x6213a0]
test ecx, ecx
jne 0x4db113
mov ecx, dword [esp + 0x74]
jmp 0x4db11e
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x74]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
lea ecx, [0x54d864]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x11c], eax
mov byte [esp + 0x23], 1
mov edx, dword [esp + 0x100]
mov eax, dword [edx]
call eax
mov byte [esp + 0x23], 0
call sym.net.releaseThread
add esp, 0x108
ret
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], edx
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov byte [esp + 0x23], 1
mov edx, dword [esp + 0x100]
mov eax, dword [edx]
call eax
mov byte [esp + 0x23], 0
call sym.net.releaseThread
add esp, 0x108
ret
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
nop
call sym.runtime.deferreturn
add esp, 0x108
ret
call sym.runtime.morestack
jmp sym.net._Resolver_.lookupIP.func1