Function at 0x4c8fc0
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x55417b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x668038]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov eax, dword [esp + 0x54]
mov ebp, dword [esp + 0x50]
push 0x18
mov dword [esp + 0x2c], eax
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 0x24], eax
xor esi, esi
mov dword [esp + 0x48], esi
cmp eax, esi
je 0x4c9023
push esi
push eax
xor edi, edi
call fcn.0049e8f0
mov ebx, eax
jmp 0x4c9025
xor ebx, ebx
or edi, 0xffffffff
mov dword [esp + 0x48], edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x48], 1
mov eax, dword [ebp + 0x434]
cmp eax, edi
je 0x4c9079
cmp dword [ebp + 0x28], esi
mov dx, word [ebp + 0x438]
setne cl
inc cl
mov dword [esp + 0x34], eax
mov byte [esp + 0x30], 4
mov byte [esp + 0x31], cl
mov word [esp + 0x32], dx
xor eax, eax
mov cl, byte [eax + 0x67fb6a]
mov byte [esp + eax + 0x38], cl
inc eax
test cl, cl
jne 0x4c9065
jmp 0x4c90ff
lea eax, [ebp + 0x430]
call fcn.00408130
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, esi
jne 0x4c90b9
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov dword [ebp + 0x24], esi
mov dword [esp + 0x48], 0xffffffff
cmp ebx, esi
je 0x4c90b2
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
mov dword [esp + 0x24], esi
call edx
mov eax, edi
jmp 0x4c9299
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
cmp dword [ebp + 0x28], esi
mov edx, dword [ecx]
mov cx, word [ebp + 0x438]
setne al
inc al
mov byte [esp + 0x31], al
mov dword [ebp + 0x434], edx
mov byte [esp + 0x30], 4
mov word [esp + 0x32], cx
mov dword [esp + 0x34], edx
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x67fb6a]
mov byte [esp + eax + 0x38], cl
inc eax
test cl, cl
jne 0x4c90f0
mov eax, dword [ebx]
mov edx, dword [eax + 0x20]
push esi
push 9
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebx
call edx
xor eax, eax
cmp dword [ebp + 0x28], esi
lea ecx, [esp + 0x30]
setne al
mov dword [ebp + 0x42c], esi
add eax, 4
mov dword [ebp + 0x24], eax
mov eax, dword [ebp + 0xc]
call fcn.004a03c0
mov byte [esp + 0x48], 2
mov eax, dword [ebp + 0x1c]
cmp eax, esi
jne 0x4c9164
mov byte [esp + 0x48], 1
lea eax, [esp + 0x30]
call fcn.004a03e0
mov dword [esp + 0x48], edi
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
mov dword [esp + 0x24], esi
call edx
mov eax, 0xe1040006
jmp 0x4c9299
push eax
lea eax, [esp + 0x20]
push eax
lea esi, [esp + 0x38]
call fcn.004662f0
mov byte [esp + 0x48], 3
push 0x18
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x48], 4
xor esi, esi
cmp eax, esi
je 0x4c91a5
push esi
push eax
mov edi, 0x400
call fcn.0049e8f0
mov edi, eax
mov dword [esp + 0x18], edi
jmp 0x4c91ab
mov dword [esp + 0x18], esi
mov edi, esi
mov byte [esp + 0x48], 3
mov dword [esp + 0x24], edi
mov byte [esp + 0x48], 5
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [esp + 0x28]
mov edx, dword [edx + 0xc]
push edi
push eax
call edx
cmp dword [ebp + 0x28], 1
jne 0x4c9231
push 0x18
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [esp + 0x48], 6
cmp eax, esi
je 0x4c91f9
push esi
push eax
mov edi, 0x400
call fcn.0049e8f0
mov edi, dword [esp + 0x18]
mov esi, eax
mov byte [esp + 0x48], 5
mov dword [esp + 0x18], esi
mov byte [esp + 0x48], 7
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [esp + 0x28]
mov eax, dword [eax + 0xc]
push esi
push edx
call eax
mov byte [esp + 0x48], 5
test esi, esi
je 0x4c9231
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
mov dword [esp + 0x1c], 0
call edx
add ebp, 0x470
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [esp + 0x28]
mov eax, dword [eax + 0x10]
push ebx
push edx
call eax
mov byte [esp + 0x48], 3
xor esi, esi
cmp edi, esi
je 0x4c9266
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
mov dword [esp + 0x28], esi
call edx
mov byte [esp + 0x48], 2
lea eax, [esp + 0x1c]
push eax
call fcn.00449d40
mov byte [esp + 0x48], 1
lea eax, [esp + 0x30]
call fcn.004a03e0
mov dword [esp + 0x48], 0xffffffff
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
mov dword [esp + 0x24], esi
call edx
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0054eee2
add esp, 0x38
ret 8