Function at 0x451d10
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x5ce94b
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x629560]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x629560]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov ebx, dword [0x648fc4]
mov eax, dword [ebx + 0x164]
cmp eax, 0xffffffff
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], eax
je 0x451fd1
mov eax, dword [ebx + 0xf8]
sub eax, 0x10
push eax
call fcn.004053b0
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x18], esi
xor eax, eax
xor ebp, ebp
mov dword [esp + 0xb8], ebp
push 0x64
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov word [esp + 0x44], ax
lea eax, [esp + 0x48]
push ebp
push eax
call fcn.004f9810
lea ecx, [esp + 0x30]
add esp, 0xc
push ecx
lea edx, [esp + 0x48]
lea ecx, [esp + 0x3c]
call fcn.00488710
add esp, 4
cmp eax, ebp
jne 0x451df6
add esi, 0xfffffff0
mov dword [esp + 0xb8], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jmp 0x451fc5
lea ecx, [esp + 0x38]
push ecx
call fcn.004f3f0f
add esp, 4
cmp dword [esi - 4], 1
mov edi, eax
jle 0x451e1c
mov edx, dword [esi - 0xc]
push edx
lea ecx, [esp + 0x1c]
call fcn.00405590
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebp
je 0x451e3c
push eax
push edi
call fcn.00488b10
mov ebp, eax
add esp, 8
cmp ebp, 0xffffffff
je 0x451faa
mov eax, dword [ebx + 0xd4]
push edi
push eax
call fcn.004f3f0f
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx*4 + 0x62c590]
add esp, 4
push eax
push ebp
lea ebx, [esp + 0x30]
mov ecx, 0x60cd38
call fcn.00489270
add esp, 0xc
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [esi - 4], 1
jle 0x451e88
mov edx, dword [esi - 0xc]
push edx
lea ecx, [esp + 0x1c]
call fcn.00405590
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x451e97
xor ebp, ebp
jmp 0x451ea3
push eax
push edi
call fcn.00488b10
add esp, 8
mov ebp, eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xd8]
push edi
push eax
call fcn.004f3f0f
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx*4 + 0x62c590]
add esp, 4
push eax
push ebp
lea ebx, [esp + 0x30]
mov ecx, 0x60cd38
call fcn.00489270
add esp, 0xc
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [esi - 4], 1
jle 0x451ef3
mov edx, dword [esi - 0xc]
push edx
lea ecx, [esp + 0x1c]
call fcn.00405590
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x451f02
xor ebp, ebp
jmp 0x451f0e
push eax
push edi
call fcn.00488b10
add esp, 8
mov ebp, eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xdc]
push edi
push eax
call fcn.004f3f0f
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx*4 + 0x62c590]
add esp, 4
push eax
push ebp
lea ebx, [esp + 0x30]
mov ecx, 0x60cd38
call fcn.00489270
add esp, 0xc
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [esi - 4], 1
jle 0x451f5e
mov edx, dword [esi - 0xc]
push edx
lea ecx, [esp + 0x1c]
call fcn.00405590
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x451f6d
xor ebp, ebp
jmp 0x451f79
push eax
push edi
call fcn.00488b10
add esp, 8
mov ebp, eax
mov eax, dword [esp + 0x20]
movzx ecx, word [eax + 0xe0]
mov edx, dword [esp + 0x1c]
mov edx, dword [edx*4 + 0x62c590]
push edi
push ecx
push ebp
lea ebx, [esp + 0x30]
mov ecx, 0x60cd84
call fcn.00489270
add esp, 0xc
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
add esi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
mov dword [esp + 0xb8], 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x451fd1
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.004f2719
add esp, 0xa8
ret