Function at 0x4c4200
Capabilities:
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x54e36b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x660038]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x660038]
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 0x4c4263
push esi
push eax
xor edi, edi
call fcn.00499ed0
mov ebx, eax
jmp 0x4c4265
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 0x4c42b9
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 + 0x67712e]
mov byte [esp + eax + 0x38], cl
inc eax
test cl, cl
jne 0x4c42a5
jmp 0x4c433f
lea eax, [ebp + 0x430]
call fcn.00407eb0
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, esi
jne 0x4c42f9
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 0x4c42f2
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
mov dword [esp + 0x24], esi
call edx
mov eax, edi
jmp 0x4c44cc
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 + 0x67712e]
mov byte [esp + eax + 0x38], cl
inc eax
test cl, cl
jne 0x4c4330
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.0049b970
mov byte [esp + 0x48], 2
mov eax, dword [ebp + 0x1c]
cmp eax, esi
jne 0x4c43a4
mov byte [esp + 0x48], 1
lea eax, [esp + 0x30]
call fcn.0049b990
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 0x4c44cc
push eax
lea eax, [esp + 0x20]
push eax
lea esi, [esp + 0x38]
call fcn.00462f40
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 0x4c43e5
push esi
push eax
mov edi, 0x400
call fcn.00499ed0
mov edi, eax
mov dword [esp + 0x18], edi
jmp 0x4c43eb
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 0x4c4471
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 0x4c4439
push esi
push eax
mov edi, 0x400
call fcn.00499ed0
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 0x4c4471
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
mov dword [esp + 0x1c], 0
call edx
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 0x4c4499
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.00453740
mov byte [esp + 0x48], 1
lea eax, [esp + 0x30]
call fcn.0049b990
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.0054904e
add esp, 0x38
ret 8