Function at 0x49aed0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5fc125
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebp + 0x10]
or edi, 0xffffffff
lea esi, [esp + 0x1c]
call fcn.004728f0
xor ebx, ebx
mov dword [esp + 0x68], ebx
call fcn.004221b0
push eax
lea ecx, [esp + 0x1c]
call fcn.0049b4d0
add esp, 4
mov byte [esp + 0x68], 2
mov ecx, esi
call fcn.004740c0
push 0x30
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x68], 3
cmp eax, ebx
je 0x49af5a
mov ecx, dword [0x741af8]
push ecx
push ebx
push eax
call fcn.00475440
jmp 0x49af5c
xor eax, eax
mov byte [esp + 0x68], 2
mov ecx, eax
lea eax, [esp + 0x20]
call fcn.0044c2e0
mov byte [esp + 0x68], 4
lea edx, [esp + 0x28]
push edx
call fcn.0049bb70
mov byte [esp + 0x68], 5
cmp dword [0x743e54], ebx
je 0x49b0fd
cmp dword [0x743e58], ebx
je 0x49b0fd
call fcn.0048c360
test al, al
je 0x49b0fd
mov edx, dword [ebp + 0x1c]
mov eax, edx
mov dword [esp + 0x3c], 2
mov dword [esp + 0x40], ebx
call fcn.0048c810
mov dword [esp + 0x44], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x40]
push ecx
push ebx
lea eax, [esp + 0x24]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x1c], ebx
call fcn.004221b0
push eax
call dword [0x743e54]
mov edi, eax
cmp edi, ebx
je 0x49b020
lea eax, [esp + 0x20]
call fcn.0044d900
mov esi, eax
call fcn.0049b840
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
lea eax, [esp + 0x28]
push eax
mov eax, dword [ebp + 0xc]
push esi
push eax
jmp 0x49b17a
mov edi, dword [esp + 0x10]
cmp dword [edi + 0x14], ebx
je 0x49b084
mov ecx, dword [edi + 0x14]
push ecx
lea eax, [esp + 0x2c]
call fcn.00474160
lea ecx, [esp + 0x1c]
call fcn.00474000
mov byte [esp + 0x68], 6
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x2c]
call fcn.004221b0
push eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.0049b5b0
add esp, 0xc
test al, al
je 0x49b072
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x38]
push edx
call fcn.0049ba60
mov byte [esp + 0x68], 5
lea ecx, [esp + 0x1c]
call fcn.004740c0
mov edi, dword [esp + 0x10]
cmp edi, ebx
je 0x49b0ca
jmp 0x49b090
mov eax, dword [esp + 0x44]
mov dword [edi + 8], eax
call fcn.0048cd20
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x49b0bf
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0x34]
push ecx
mov ecx, eax
call edx
lea eax, [esp + 0x1c]
push eax
lea esi, [esp + 0x30]
call fcn.00484ea0
mov edi, dword [edi + 0x1c]
cmp edi, ebx
jne 0x49b090
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x2c]
call fcn.0048d510
test al, al
je 0x49b0f0
lea eax, [esp + 0x20]
call fcn.0044d900
mov esi, eax
mov edi, 0x273f
call fcn.0049b840
mov edi, dword [esp + 0x10]
push edi
call dword [0x743e58]
mov edi, dword [esp + 0x14]
jmp 0x49b160
lea eax, [esp + 0x18]
call fcn.004221b0
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, dword [esp + 0x14]
mov esi, eax
cmp esi, ebx
jne 0x49b134
mov ebx, dword [edi]
push 0x87
push str..VBaseHostnameResolver.cpp
lea eax, [esp + 0x28]
call fcn.0044d900
mov edx, dword [ebx + 0x24]
push eax
mov ecx, edi
call edx
lea eax, [esp + 0x20]
call fcn.0044d900
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
jne 0x49b160
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
push ecx
push edx
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0049b920
add esp, 0x10
mov esi, dword [edi]
lea ecx, [esp + 0x28]
push ecx
lea eax, [esp + 0x24]
call fcn.0044d900
mov edx, dword [ebp + 0xc]
push eax
push edx
mov edx, dword [esi + 0x20]
mov ecx, edi
mov eax, dword [ebp + 8]
push eax
call edx
mov byte [esp + 0x68], 4
lea eax, [esp + 0x28]
push eax
call fcn.0049bbe0
mov byte [esp + 0x68], 2
lea ecx, [esp + 0x20]
call fcn.0044c2f0
mov dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.004740c0
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18