Function at 0x4497c0
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x5bfaeb
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x617560]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x617560]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov ebx, dword [0x636fb4]
mov eax, dword [ebx + 0x164]
cmp eax, 0xffffffff
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], eax
je 0x449a81
mov eax, dword [ebx + 0xf8]
sub eax, 0x10
push eax
call fcn.00405210
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.004eaae0
lea ecx, [esp + 0x30]
add esp, 0xc
push ecx
lea edx, [esp + 0x48]
lea ecx, [esp + 0x3c]
call fcn.0047ad40
add esp, 4
cmp eax, ebp
jne 0x4498a6
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 0x449a75
lea ecx, [esp + 0x38]
push ecx
call fcn.004e55b9
add esp, 4
cmp dword [esi - 4], 1
mov edi, eax
jle 0x4498cc
mov edx, dword [esi - 0xc]
push edx
lea ecx, [esp + 0x1c]
call fcn.004053f0
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebp
je 0x4498ec
push eax
push edi
call fcn.0047b140
mov ebp, eax
add esp, 8
cmp ebp, 0xffffffff
je 0x449a5a
mov eax, dword [ebx + 0xd4]
push edi
push eax
call fcn.004e55b9
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx*4 + 0x61a58c]
add esp, 4
push eax
push ebp
lea ebx, [esp + 0x30]
mov ecx, 0x5fbbd4
call fcn.0047b8a0
add esp, 0xc
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [esi - 4], 1
jle 0x449938
mov edx, dword [esi - 0xc]
push edx
lea ecx, [esp + 0x1c]
call fcn.004053f0
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x449947
xor ebp, ebp
jmp 0x449953
push eax
push edi
call fcn.0047b140
add esp, 8
mov ebp, eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xd8]
push edi
push eax
call fcn.004e55b9
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx*4 + 0x61a58c]
add esp, 4
push eax
push ebp
lea ebx, [esp + 0x30]
mov ecx, 0x5fbbd4
call fcn.0047b8a0
add esp, 0xc
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [esi - 4], 1
jle 0x4499a3
mov edx, dword [esi - 0xc]
push edx
lea ecx, [esp + 0x1c]
call fcn.004053f0
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x4499b2
xor ebp, ebp
jmp 0x4499be
push eax
push edi
call fcn.0047b140
add esp, 8
mov ebp, eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xdc]
push edi
push eax
call fcn.004e55b9
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx*4 + 0x61a58c]
add esp, 4
push eax
push ebp
lea ebx, [esp + 0x30]
mov ecx, 0x5fbbd4
call fcn.0047b8a0
add esp, 0xc
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [esi - 4], 1
jle 0x449a0e
mov edx, dword [esi - 0xc]
push edx
lea ecx, [esp + 0x1c]
call fcn.004053f0
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x449a1d
xor ebp, ebp
jmp 0x449a29
push eax
push edi
call fcn.0047b140
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 + 0x61a58c]
push edi
push ecx
push ebp
lea ebx, [esp + 0x30]
mov ecx, 0x5fbc20
call fcn.0047b8a0
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 0x449a81
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.004e3dc3
add esp, 0xa8
ret