Function at 0x465530
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9051
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x501814]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x2a4], eax
mov ecx, dword [ebp + 0xc]
lea edi, [eax + 0x1a8]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2ac], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x2b0], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x2b4], ecx
mov ecx, edi
mov dword [ebp - 0x2b8], esi
call fcn.004948f0
test eax, eax
jne 0x465c63
test esi, esi
je 0x465c63
push 1
mov ecx, esi
call fcn.004654e0
mov dword [esi + 0xc], 0
mov esi, dword [ebp - 0x2ac]
test esi, esi
je 0x465c63
push 1
mov ecx, esi
call fcn.004654e0
mov ecx, dword [ebp - 0x2b0]
mov dword [esi + 0xc], 0
test ecx, ecx
je 0x465c63
mov eax, dword [ebp - 0x2b4]
test eax, eax
je 0x465c63
mov dword [eax], 0
xorps xmm0, xmm0
push 0
lea eax, [ebp - 0x22c]
mov dword [ecx], 0
push 0
push eax
movlpd qword [ebp - 0x22c], xmm0
call fcn.004a1b20
add esp, 0xc
mov esi, dword [ebp - 0x228]
mov dword [ebp - 4], 0
test esi, esi
je 0x465c3b
cmp dword [ebp - 0x22c], 0
je 0x465c3b
nop dword [eax]
mov ecx, edi
call fcn.004942d0
mov ecx, dword [esi + 0x28]
nop word [eax + eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x465676
test dx, dx
je 0x465672
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x465676
add ecx, 4
add eax, 4
test dx, dx
jne 0x465650
xor eax, eax
jmp 0x46567b
sbb eax, eax
or eax, 1
test eax, eax
je 0x46568b
mov esi, dword [esi + 8]
test esi, esi
jne 0x465640
jmp 0x465c35
xorps xmm0, xmm0
lea ecx, [ebp - 0x220]
movups xmmword [ebp - 0x220], xmm0
call fcn.004648a0
mov eax, dword [esi + 0x10]
mov byte [ebp - 4], 1
mov dword [ebp - 0x2a8], eax
test eax, eax
je 0x465b02
nop word [eax + eax]
mov esi, dword [eax + 0x10]
mov edi, dword [eax + 0xc]
lea eax, [ebp - 0x210]
push 0x200
push 0
push eax
mov dword [ebp - 0x224], esi
call fcn.004a6d90
add esp, 0xc
lea eax, [ebp - 0x210]
push 2
push 0
push 0
push 0x200
push eax
push esi
push edi
call dword [sym.imp.WS2_32.dll_getnameinfo]
mov ecx, dword [ebp - 0x2a8]
mov eax, dword [ecx + 0x14]
cmp eax, 1
je 0x4658b1
test byte [0x50b880], 1
je 0x465835
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x210]
mov eax, dword [ebp - 0x2a4]
lea edx, [ecx + 1]
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 4
mov dword [ebp - 0x264], 0
mov eax, dword [eax + 0x5c]
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x240]
mov dword [ebp - 0x270], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x465763
sub ecx, edx
mov dword [ebp - 0x25c], 0
cmp byte [0x50b7c1], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x24c], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x248], 4
mov dword [ebp - 0x258], eax
lea ecx, [ebp - 0x210]
lea eax, [ebp - 0x224]
mov dword [ebp - 0x260], ecx
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x244], 0
jne 0x4657ea
lea eax, [ebp - 0x270]
push eax
push 3
push 0x4cf0a8
push dword [0x4f9084]
push dword [0x4f9080]
call dword [0x50b7c4]
jmp 0x465835
mov eax, 0x4ce744
mov dword [ebp - 0x274], 0x1a0000
cdq
mov dword [ebp - 0x288], eax
mov eax, 0x60
mov word [ebp - 0x2a0], ax
lea eax, [ebp - 0x2a0]
push eax
push dword [0x4f908c]
mov dword [ebp - 0x284], edx
push dword [0x4f9088]
mov dword [ebp - 0x29c], 0x50a
call dword [sym.imp.ADVAPI32.dll_TraceEvent]
push 0x4d88a4
push 0x14
call fcn.004a55e9
mov esi, eax
add esp, 8
test esi, esi
je 0x465aeb
lea ecx, [esi + 8]
mov dword [esi], esi
mov dword [esi + 4], esi
call fcn.0049cba0
cmp esi, dword [esi + 4]
jne 0x46587f
lea eax, [ebp - 0x21c]
mov dword [esi], eax
mov eax, dword [ebp - 0x218]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x218]
mov dword [eax], esi
mov dword [ebp - 0x218], esi
inc dword [ebp - 0x214]
lea eax, [ebp - 0x210]
push eax
lea ecx, [esi + 8]
call fcn.0049cef0
test eax, eax
jne 0x465aeb
mov eax, dword [ebp - 0x220]
lea ecx, [ebp - 0x220]
push esi
call dword [eax + 4]
jmp 0x465aeb
cmp word [edi], 2
jne 0x4659a9
lea eax, [ebp - 0x2d0]
push eax
call fcn.0046b200
add esp, 4
mov ecx, eax
call fcn.00496a00
lea ecx, [ebp - 0x210]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4658f7
test dl, dl
je 0x4658f3
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4658f7
add ecx, 2
add eax, 2
test dl, dl
jne 0x4658d7
xor esi, esi
jmp 0x4658fc
sbb esi, esi
or esi, 1
lea ecx, [ebp - 0x2d0]
call fcn.00496800
test esi, esi
jne 0x465931
mov eax, dword [ebp - 0x2b0]
mov ecx, dword [ebp - 0x2a4]
mov dword [eax], 1
lea eax, [ebp - 0x210]
push eax
lea ecx, [ecx + 0x4c]
call fcn.00466980
jmp 0x465aeb
push 0x4d88a4
push 0x14
call fcn.004a55e9
mov esi, eax
add esp, 8
test esi, esi
je 0x465bd4
lea ecx, [esi + 8]
mov dword [esi], esi
mov dword [esi + 4], esi
call fcn.0049cba0
mov ecx, dword [ebp - 0x2b8]
lea edx, [ecx + 4]
cmp esi, dword [esi + 4]
jne 0x465975
mov dword [esi], edx
mov eax, dword [edx + 4]
mov dword [esi + 4], eax
mov eax, dword [edx + 4]
mov dword [eax], esi
mov dword [edx + 4], esi
inc dword [ecx + 0xc]
lea eax, [ebp - 0x210]
push eax
lea ecx, [esi + 8]
call fcn.0049cef0
test eax, eax
je 0x465ba4
mov ecx, dword [ebp - 0x2a4]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ecx + 0x4c]
call fcn.00466a80
jmp 0x465aeb
xorps xmm0, xmm0
lea ecx, [ebp - 0x23c]
movlpd qword [ebp - 0x23c], xmm0
call fcn.0049b6c0
lea eax, [ebp - 0x280]
push eax
call fcn.0046b270
add esp, 4
lea ecx, [ebp - 0x23c]
push 0
push eax
call fcn.0049bce0
lea ecx, [ebp - 0x280]
mov esi, eax
call fcn.00496b30
test esi, esi
je 0x465bc9
xorps xmm0, xmm0
lea ecx, [ebp - 0x234]
movlpd qword [ebp - 0x234], xmm0
call fcn.0049b6c0
push dword [ebp - 0x224]
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 3
push edi
call fcn.0049ba20
test eax, eax
je 0x465bbe
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x23c]
call fcn.0049b730
test eax, eax
je 0x465a5e
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [ebp - 0x2a4]
mov dword [eax], 1
lea eax, [ebp - 0x210]
push eax
lea ecx, [ecx + 0x4c]
call fcn.00466980
jmp 0x465ad1
push 0x4d88a4
push 0x14
call fcn.004a55e9
mov esi, eax
add esp, 8
test esi, esi
je 0x465bbe
lea ecx, [esi + 8]
mov dword [esi], esi
mov dword [esi + 4], esi
call fcn.0049cba0
mov ecx, dword [ebp - 0x2ac]
lea edx, [ecx + 4]
cmp esi, dword [esi + 4]
jne 0x465aa2
mov dword [esi], edx
mov eax, dword [edx + 4]
mov dword [esi + 4], eax
mov eax, dword [edx + 4]
mov dword [eax], esi
mov dword [edx + 4], esi
inc dword [ecx + 0xc]
lea eax, [ebp - 0x210]
push eax
lea ecx, [esi + 8]
call fcn.0049cef0
test eax, eax
je 0x465bb2
mov ecx, dword [ebp - 0x2a4]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ecx + 0x4c]
call fcn.00466a80
lea ecx, [ebp - 0x234]
call fcn.0049b6d0
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 1
call fcn.0049b6d0
mov eax, dword [ebp - 0x2a8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x2a8], eax
test eax, eax
jne 0x4656c0
cmp dword [ebp - 0x2a4], 0
je 0x465c13
push 0x4d88a4
push 0x2c
call fcn.004a55e9
mov edi, eax
add esp, 8
test edi, edi
je 0x465c00
mov ecx, edi
call fcn.00492860
lea ecx, [edi + 0x20]
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0x14
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi], vtable.ControlSvc::msg::CIgnoreAddress.0
mov dword [edi + 8], vtable.ControlSvc::msg::CIgnoreAddress.1.0
mov dword [edi + 0x1c], vtable.FamRT::TSmallListEx0_class_FamRT::CAnsiString__class_FamRT::CNoMTProtection_.0
call fcn.00494a10
lea eax, [ebp - 0x21c]
mov dword [edi + 0x28], 0
push eax
lea ecx, [edi + 0x20]
mov dword [edi + 0x1c], vtable.FamRT::TSmallListEx1Base_class_FamRT::CAnsiString__class_FamRT::CNoMTProtection_.0
call fcn.00494a50
lea edx, [edi + 0x28]
test edx, edx
je 0x465b9b
mov ecx, dword [edx]
mov eax, dword [ebp - 0x214]
mov dword [edx], eax
mov dword [ebp - 0x214], ecx
mov dword [edi + 0x1c], vtable.FamRT::TSmallList1_class_FamRT::CAnsiString_.0
jmp 0x465c02
mov ecx, dword [ebp - 0x2b8]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x465bd4
mov ecx, dword [ebp - 0x2ac]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x234]
call fcn.0049b6d0
lea ecx, [ebp - 0x23c]
call fcn.0049b6d0
push 0
lea ecx, [ebp - 0x220]
mov dword [ebp - method.FamRT::TSmallListEx0_class_FamRT::CAnsiString__class_FamRT::CNoMTProtection_.virtual_0], vtable.FamRT::TSmallListEx0_class_FamRT::CAnsiString__class_FamRT::CNoMTProtection_.0
call fcn.004654e0
lea ecx, [ebp - 0x21c]
call fcn.00494a20
mov esi, dword [ebp - 0x228]
xor edi, edi
jmp 0x465c40
xor edi, edi
mov ecx, dword [ebp - 0x2a4]
add ecx, 8
push 1
push edi
mov eax, dword [ecx]
call dword [eax + 0xc]
push 0
lea ecx, [ebp - 0x220]
mov dword [ebp - method.FamRT::TSmallListEx0_class_FamRT::CAnsiString__class_FamRT::CNoMTProtection_.virtual_0], vtable.FamRT::TSmallListEx0_class_FamRT::CAnsiString__class_FamRT::CNoMTProtection_.0
call fcn.004654e0
lea ecx, [ebp - 0x21c]
call fcn.00494a20
mov esi, dword [ebp - 0x228]
mov edi, 1
mov dword [ebp - 4], 4
mov dword [ebp - 0x22c], 0
test esi, esi
je 0x465c5f
push esi
call dword [0x4f90e8]
add esp, 4
mov eax, edi
jmp 0x465c65
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a559d
mov esp, ebp
pop ebp
ret 0x10