Function at 0x4a0a40
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x5ef5cb
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x72d630]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5c]
mov ebp, dword [esp + 0x58]
push 0x18
mov dword [esp + 0x28], eax
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 0x14], eax
xor ebx, ebx
mov dword [esp + 0x50], ebx
cmp eax, ebx
je 0x4a0aa1
push ebx
push eax
xor edi, edi
call fcn.0047c360
jmp 0x4a0aa3
xor eax, eax
or edi, 0xffffffff
mov dword [esp + 0x50], edi
push 1
lea esi, [esp + 0x20]
call fcn.00429950
mov dword [esp + 0x50], 1
mov eax, dword [ebp + 0x434]
cmp eax, edi
je 0x4a0b01
cmp dword [ebp + 0x28], ebx
mov dx, word [ebp + 0x438]
setne cl
inc cl
mov dword [esp + 0x3c], eax
mov byte [esp + 0x38], 4
mov byte [esp + 0x39], cl
mov word [esp + 0x3a], dx
xor eax, eax
lea ebx, [ebx]
mov cl, byte [eax + 0x741c1f]
mov byte [esp + eax + 0x40], cl
inc eax
test cl, cl
jne 0x4a0af0
jmp 0x4a0b7f
lea eax, [ebp + 0x430]
call fcn.004221b0
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
jne 0x4a0b36
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
mov dword [ebp + 0x24], ebx
mov dword [esp + 0x50], edi
lea ecx, [esp + 0x1c]
call fcn.00429980
mov eax, esi
jmp 0x4a0d2e
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
cmp dword [ebp + 0x28], ebx
mov dx, word [ebp + 0x438]
setne cl
inc cl
mov dword [ebp + 0x434], eax
mov dword [esp + 0x3c], eax
mov byte [esp + 0x38], 4
mov byte [esp + 0x39], cl
mov word [esp + 0x3a], dx
xor eax, eax
jmp 0x4a0b70
mov cl, byte [eax + 0x741c1f]
mov byte [esp + eax + 0x40], cl
inc eax
test cl, cl
jne 0x4a0b70
lea eax, [esp + 0x1c]
call fcn.0044d900
mov edx, dword [eax]
mov edx, dword [edx + 0x20]
push ebx
push 9
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call edx
xor eax, eax
cmp dword [ebp + 0x28], ebx
lea ecx, [esp + 0x30]
setne al
mov dword [ebp + 0x42c], ebx
add eax, 4
mov dword [ebp + 0x24], eax
mov eax, dword [ebp + 0xc]
call fcn.0048b830
mov byte [esp + 0x50], 2
mov eax, dword [ebp + 0x1c]
cmp eax, ebx
jne 0x4a0bea
mov byte [esp + 0x50], 1
lea eax, [esp + 0x30]
call fcn.0048b850
mov dword [esp + 0x50], edi
lea ecx, [esp + 0x1c]
call fcn.00429980
mov eax, 0xe1040006
jmp 0x4a0d2e
lea ecx, [esp + 0x30]
push ecx
push eax
lea edx, [esp + 0x30]
push edx
call fcn.0049ebc0
mov byte [esp + 0x50], 3
push 0x18
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x50], 4
cmp eax, ebx
je 0x4a0c24
push ebx
push eax
mov edi, 0x400
call fcn.0047c360
jmp 0x4a0c26
xor eax, eax
mov byte [esp + 0x50], 3
push 1
lea esi, [esp + 0x3c]
call fcn.00429950
mov bl, 5
mov byte [esp + 0x50], bl
lea eax, [esp + 0x28]
call fcn.0044d900
mov esi, eax
lea eax, [esp + 0x38]
call fcn.0044d900
mov edi, dword [esp + 0x24]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
push edi
mov ecx, esi
call eax
cmp dword [ebp + 0x28], 1
jne 0x4a0cd1
push 0x18
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x50], 6
test eax, eax
je 0x4a0c8f
push 0
push eax
mov edi, 0x400
call fcn.0047c360
mov edi, dword [esp + 0x24]
jmp 0x4a0c91
xor eax, eax
mov byte [esp + 0x50], bl
push 1
lea esi, [esp + 0x18]
call fcn.00429950
mov byte [esp + 0x50], 7
lea eax, [esp + 0x28]
call fcn.0044d900
mov esi, eax
mov ebp, dword [esi]
lea eax, [esp + 0x14]
call fcn.0044d900
mov edx, dword [ebp + 0xc]
push eax
push edi
mov ecx, esi
call edx
mov byte [esp + 0x50], bl
lea ecx, [esp + 0x14]
call fcn.00429980
lea eax, [esp + 0x28]
call fcn.0044d900
mov esi, eax
mov ebx, dword [esi]
lea eax, [esp + 0x1c]
call fcn.0044d900
push eax
mov eax, dword [ebx + 0x10]
push edi
mov ecx, esi
call eax
mov byte [esp + 0x50], 3
lea ecx, [esp + 0x38]
call fcn.00429980
mov byte [esp + 0x50], 2
lea ecx, [esp + 0x28]
push ecx
call fcn.0049d760
mov byte [esp + 0x50], 1
lea eax, [esp + 0x30]
call fcn.0048b850
mov dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00429980
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005e038a
add esp, 0x40
ret 8