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

Disassembly:
mov ecx, dword [0x62b9b8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x2c]
cmp eax, dword [ecx + 8]
jbe 0x4e42fa
sub esp, 0xac
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
lea eax, [0x62ba58]
mov dword [esp], eax
lea eax, [0x533738]
mov dword [esp + 4], eax
call sym.sync._Once_.Do
mov eax, dword [0x6082a4]
movzx eax, byte [eax]
test al, al
jne 0x4e38c6
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x4e3923
movzx eax, byte [eax]
test al, al
je 0x4e3923
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xc], eax
call sym.net.lookupPortMap
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], edx
call sym.runtime.deferreturn
add esp, 0xac
ret
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov ecx, dword [esp + 0xb8]
mov dword [esp + 4], ecx
call sym.net.acquireThread
mov eax, dword [esp + 8]
test eax, eax
je 0x4e3b35
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x90], ecx
cmp dword [0x6086c0], eax
jne 0x4e3998
mov edx, dword [0x6086c4]
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 0x4e398d
lea eax, [0x55755c]
lea ecx, [0x62b880]
jmp 0x4e39d8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x90]
cmp dword [0x6086c8], eax
jne 0x4e39d8
mov edx, dword [0x6086cc]
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 0x4e39cd
mov eax, dword [0x6084c8]
mov ecx, dword [0x6084cc]
jmp 0x4e39d8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x90]
mov eax, dword [eax + 0xc]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0xb4]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 4]
mov dword [esp + 0xa8], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0xb8]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0xa4], ecx
lea edx, [0x51a6c0]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0xa0], eax
mov dword [esp], 0
mov ecx, dword [esp + 0xbc]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 8], ecx
lea ecx, [0x527259]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 1
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x18], ecx
call sym.runtime.concatstring3
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xa0]
mov dword [edx + 0x14], eax
mov eax, dword [0x62bae8]
test eax, eax
jne 0x4e3aa4
mov eax, dword [esp + 0xa8]
jmp 0x4e3ac1
call sym.runtime.gcWriteBarrier4
mov dword [edi], ecx
mov eax, dword [edx + 0x10]
mov dword [edi + 4], eax
mov eax, dword [esp + 0xa8]
mov dword [edi + 8], eax
mov ebx, dword [edx + 8]
mov dword [edi + 0xc], ebx
mov dword [edx + 0x10], ecx
mov ecx, dword [esp + 0x64]
mov dword [edx + 0xc], ecx
mov dword [edx + 8], eax
mov eax, dword [esp + 0x60]
cmp dword [0x6086c8], eax
je 0x4e3ade
xor eax, eax
jmp 0x4e3b07
mov ecx, dword [0x6086cc]
mov dword [esp], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0xa0]
mov byte [edx + 0x20], al
mov dword [esp + 0xcc], 0
lea eax, [0x55757c]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], edx
call sym.runtime.deferreturn
add esp, 0xac
ret
lea eax, [0x53374c]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x48]
mov dword [esp], eax
call sym.runtime.deferprocStack
test eax, eax
jne 0x4e42ee
lea edi, [esp + 0x70]
xor eax, eax
call fcn.0046fca8
mov ecx, dword [esp + 0xc0]
cmp ecx, 2
jne 0x4e3b81
mov eax, dword [esp + 0xbc]
cmp word [eax], 0x7069
je 0x4e3c0f
jmp 0x4e4224
cmp ecx, 3
jne 0x4e3bb0
mov eax, dword [esp + 0xbc]
cmp word [eax], 0x6374
jne 0x4e3b9a
cmp byte [eax + 2], 0x70
je 0x4e3bd9
cmp word [eax], 0x6475
jne 0x4e4224
cmp byte [eax + 2], 0x70
je 0x4e3bff
jmp 0x4e4224
cmp ecx, 4
jne 0x4e4224
mov eax, dword [esp + 0xbc]
cmp byte [eax], 0x74
jg 0x4e3beb
cmp dword [eax], 0x34706374
je 0x4e3bd9
cmp dword [eax], 0x36706374
jne 0x4e4224
mov dword [esp + 0x78], 1
mov dword [esp + 0x7c], 6
jmp 0x4e3c0f
cmp dword [eax], 0x34706475
je 0x4e3bff
cmp dword [eax], 0x36706475
jne 0x4e4224
mov dword [esp + 0x78], 2
mov dword [esp + 0x7c], 0x11
test ecx, ecx
jne 0x4e3c17
xor edx, edx
jmp 0x4e3c28
movzx edx, byte [ecx + eax - 1]
cmp dl, 0x34
je 0x4e3c28
cmp dl, 0x36
je 0x4e3c28
xor edx, edx
cmp dl, 0x34
jne 0x4e3c37
mov dword [esp + 0x74], 2
jmp 0x4e3c44
cmp dl, 0x36
jne 0x4e3c44
mov dword [esp + 0x74], 0x17
mov dword [esp + 0x6c], 0
mov eax, dword [esp + 0xc4]
mov dword [esp], eax
mov ecx, dword [esp + 0xc8]
mov dword [esp + 4], ecx
call sym.syscall.StringToUTF16Ptr
mov eax, dword [esp + 8]
mov dword [esp], 0
mov dword [esp + 4], eax
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0xc], eax
call sym.syscall.GetAddrInfoW
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x4e3fe9
mov dword [esp + 0x94], ecx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
mov ecx, dword [esp + 0xc0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xc4]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0xc8]
mov dword [esp + 0xc], ebx
call sym.net.lookupPortMap
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4e3fbc
mov eax, dword [esp + 0x2c]
lea ecx, [0x5574fc]
cmp eax, ecx
je 0x4e3cf3
xor edx, edx
jmp 0x4e3d21
mov dword [esp], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
lea edx, [0x556f00]
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
lea ecx, [0x5574fc]
mov edx, eax
mov eax, dword [esp + 0x2c]
test dl, dl
jne 0x4e3d63
cmp eax, ecx
je 0x4e3d2d
xor edx, edx
jmp 0x4e3d5b
mov dword [esp], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
lea edx, [0x556ef0]
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
lea ecx, [0x5574fc]
mov edx, eax
mov eax, dword [esp + 0x2c]
test dl, dl
je 0x4e3e14
mov dword [esp], 0
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 8], eax
lea eax, [0x527259]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x18], eax
call sym.runtime.concatstring3
mov eax, dword [0x6082e0]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea ebx, [0x55754c]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call sym.net.newDNSError
mov eax, dword [esp + 0x18]
mov dword [esp + 0xcc], 0
lea ecx, [0x55757c]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
call sym.runtime.deferreturn
add esp, 0xac
ret
cmp eax, ecx
jne 0x4e3e4a
mov dword [esp], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
lea edx, [0x556ef0]
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4e3ea6
mov eax, dword [esp + 0x2c]
lea ecx, [0x5574fc]
cmp eax, ecx
jne 0x4e3e7e
mov dword [esp], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
lea edx, [0x556ef4]
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4e3ea6
mov eax, dword [esp + 0x2c]
lea ecx, [0x5574fc]
cmp eax, ecx
jne 0x4e3eb4
mov dword [esp], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
lea edx, [0x556ef8]
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x4e3eb4
mov eax, dword [0x6082dc]
lea ecx, [0x55754c]
jmp 0x4e3f07
nop
lea eax, [0x50f460]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x5287a6]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [0x62bae8]
test ecx, ecx
jne 0x4e3ef0
mov ecx, dword [esp + 0x94]
jmp 0x4e3efe
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x94]
mov dword [edi], ecx
mov dword [eax + 0xc], ecx
lea ecx, [0x55750c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x68], eax
mov dword [esp], 0
mov edx, dword [esp + 0xbc]
mov dword [esp + 4], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 8], edx
lea edx, [0x527259]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 1
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x18], edx
call sym.runtime.concatstring3
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call sym.net.newDNSError
mov eax, dword [esp + 0x18]
mov dword [esp + 0xcc], 0
lea ecx, [0x55757c]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
call sym.runtime.deferreturn
add esp, 0xac
ret
mov eax, dword [esp + 0x10]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
call sym.runtime.deferreturn
add esp, 0xac
ret
mov eax, dword [esp + 0x6c]
lea ecx, [sym.net._Resolver_.lookupPort.deferwrap1]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
mov dword [esp], eax
call sym.runtime.deferprocStack
test eax, eax
jne 0x4e4218
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4e4167
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0x18]
cmp ecx, 2
je 0x4e412c
cmp ecx, 0x17
jne 0x4e407b
movzx eax, word [eax + 2]
mov word [esp], ax
call sym.syscall.Ntohs
movzx eax, word [esp + 4]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
call sym.runtime.deferreturn
add esp, 0xac
ret
mov dword [esp], 0
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 8], eax
lea eax, [0x527259]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x18], eax
call sym.runtime.concatstring3
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea edx, [0x5574fc]
mov dword [esp], edx
lea edx, [0x556ee0]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call sym.net.newDNSError
mov eax, dword [esp + 0x18]
mov dword [esp + 0xcc], 0
lea ecx, [0x55757c]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
call sym.runtime.deferreturn
add esp, 0xac
ret
movzx eax, word [eax + 2]
mov word [esp], ax
call sym.syscall.Ntohs
movzx eax, word [esp + 4]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
call sym.runtime.deferreturn
add esp, 0xac
ret
mov dword [esp], 0
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 8], eax
lea eax, [0x527259]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x18], eax
call sym.runtime.concatstring3
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea edx, [0x5574fc]
mov dword [esp], edx
lea edx, [0x556ee0]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call sym.net.newDNSError
mov eax, dword [esp + 0x18]
mov dword [esp + 0xcc], 0
lea ecx, [0x55757c]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
call sym.runtime.deferreturn
add esp, 0xac
ret
call sym.runtime.deferreturn
add esp, 0xac
ret
lea eax, [0x51a6c0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0xa0], eax
mov dword [eax + 0xc], 0xf
lea ecx, [0x5293a1]
mov dword [eax + 8], ecx
mov dword [esp], 0
mov ecx, dword [esp + 0xbc]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 8], ecx
lea ecx, [0x527259]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 1
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x18], ecx
call sym.runtime.concatstring3
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xa0]
mov dword [edx + 0x14], eax
mov eax, dword [0x62bae8]
test eax, eax
je 0x4e42c0
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 0x10]
mov dword [edi + 4], eax
mov dword [edx + 0x10], ecx
mov dword [esp + 0xcc], 0
lea eax, [0x55757c]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], edx
call sym.runtime.deferreturn
add esp, 0xac
ret
call sym.runtime.deferreturn
add esp, 0xac
ret
call sym.runtime.morestack_noctxt
jmp sym.net._Resolver_.lookupPort