Function at 0x411f40
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x45a1c4]
xor eax, ebp
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 4], 0
je 0x411f73
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 4]
push edx
call dword [0x4482d4]
mov eax, dword [ebp - 0x4c]
mov dword [eax + 4], 0
push 0x20
push 0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00426cc0
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x30], edx
call fcn.00402c70
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x18]
call fcn.00422640
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x411fc3
mov dword [ebp - 0x50], 0
jmp 0x41204e
mov ecx, dword [ebp - 4]
push ecx
call dword [0x4480f8]
add eax, 1
mov dword [ebp - 0x14], eax
push 2
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.004189a0
add esp, 0xc
test eax, eax
jge 0x411ff2
mov dword [ebp - 0x54], 0
jmp 0x412048
cmp dword [ebp - 0x14], 0x400
jg 0x412021
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00418d80
add esp, 4
movzx edx, al
test edx, edx
je 0x412021
mov eax, dword [ebp - 0x14]
call fcn.0042dc90
mov dword [ebp - 0x58], esp
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
jmp 0x412030
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00418ca0
mov dword [ebp - 0x5c], eax
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call fcn.004051f0
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x41206c
mov dword [ebp - 0x60], 0
jmp 0x4120f7
mov eax, dword [ebp - 4]
push eax
call dword [0x4480f8]
add eax, 1
mov dword [ebp - 0x14], eax
push 2
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.004189a0
add esp, 0xc
test eax, eax
jge 0x41209b
mov dword [ebp - 0x64], 0
jmp 0x4120f1
cmp dword [ebp - 0x14], 0x400
jg 0x4120ca
mov eax, dword [ebp - 0x14]
push eax
call fcn.00418d80
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x4120ca
mov eax, dword [ebp - 0x14]
call fcn.0042dc90
mov dword [ebp - 0x68], esp
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], edx
jmp 0x4120d9
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.00418ca0
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.004051f0
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x1c], 0
je 0x412109
cmp dword [ebp - 0xc], 0
jne 0x412125
push 8
call dword [0x4482ac]
mov dword [ebp - 0x44], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00418e60
mov eax, dword [ebp - 0x44]
jmp 0x41214c
mov ecx, dword [ebp - 0x4c]
add ecx, 4
push ecx
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [0x4482bc]
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x18]
call fcn.00418e60
mov eax, dword [ebp - 0x48]
lea esp, [ebp - 0x6c]
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.00426197
mov esp, ebp
pop ebp
ret 0x18