Function at 0x403a70
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436232
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x84]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x24]
call sub.MFC42D.DLL_Ordinal_493
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xe0
mov esi, esp
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x2c]
call sub.MFC42D.DLL_Ordinal_492
mov byte [ebp - 4], 2
mov dword [ebp - 0x30], 0
jmp 0x403af4
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x30]
cmp dword [eax + ecx*4], 0
je 0x403b38
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x30]
mov edx, dword [eax + ecx*4]
mov esi, esp
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
push eax
lea ecx, [ebp - 0x2c]
call sub.MFC42D.DLL_Ordinal_736
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x24]
call sub.MFC42D.DLL_Ordinal_985
jmp 0x403aeb
lea ecx, [ebp - 0x24]
call sub.MFC42D.DLL_Ordinal_3042
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jne 0x403b85
push 0
lea ecx, [ebp - 0x24]
call sub.MFC42D.DLL_Ordinal_851
push eax
mov ecx, dword [ebp + 8]
call sub.MFC42D.DLL_Ordinal_485
mov edx, dword [ebp - 0x44]
or edx, 1
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call sub.MFC42D.DLL_Ordinal_684
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call sub.MFC42D.DLL_Ordinal_685
mov eax, dword [ebp + 8]
jmp 0x403c8e
push str.BindIP
push str.Client_Setting
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.00404c20
mov byte [ebp - 4], 3
mov dword [ebp - 0x3c], 0
jmp 0x403bb1
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x34]
jge 0x403c20
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x24]
call sub.MFC42D.DLL_Ordinal_851
push eax
call sub.MFC42D.DLL_Ordinal_812
and eax, 0xff
test eax, eax
je 0x403c1e
mov edx, dword [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x24]
call sub.MFC42D.DLL_Ordinal_851
push eax
mov ecx, dword [ebp + 8]
call sub.MFC42D.DLL_Ordinal_485
mov eax, dword [ebp - 0x44]
or al, 1
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call sub.MFC42D.DLL_Ordinal_684
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call sub.MFC42D.DLL_Ordinal_684
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call sub.MFC42D.DLL_Ordinal_685
mov eax, dword [ebp + 8]
jmp 0x403c8e
jmp 0x403ba8
push str.EnumOrder
push str.Client_Setting
mov ecx, dword [ebp - 0x10]
call fcn.004049c0
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x34]
sub ecx, 1
cmp dword [ebp - 0x40], ecx
jle 0x403c49
mov edx, dword [ebp - 0x34]
sub edx, 1
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x24]
call sub.MFC42D.DLL_Ordinal_851
push eax
mov ecx, dword [ebp + 8]
call sub.MFC42D.DLL_Ordinal_485
mov ecx, dword [ebp - 0x44]
or ecx, 1
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call sub.MFC42D.DLL_Ordinal_684
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call sub.MFC42D.DLL_Ordinal_684
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call sub.MFC42D.DLL_Ordinal_685
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x84
cmp ebp, esp
call sub.MSVCRTD.dll__chkesp
mov esp, ebp
pop ebp
ret 4