Function at 0x410e30
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push esi
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
add edx, 1
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x44]
mov cl, byte [eax]
mov byte [ebp - 0x49], cl
add dword [ebp - 0x44], 1
cmp byte [ebp - 0x49], 0
jne 0x410e4f
mov edx, dword [ebp - 0x44]
sub edx, dword [ebp - 0x48]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 8], 0
je 0x410e9b
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 8]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00428d4f
add esp, 4
mov edx, dword [ebp - 0x40]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.00427a82
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x28]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 8]
push edx
call fcn.004306a0
add esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
jmp 0x410ee8
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0xc]
jge 0x410f7d
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x10]
movsx edx, byte [eax + ecx]
cmp edx, 0x3a
jne 0x410f08
jmp 0x410f7d
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 8]
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x10]
mov cl, byte [ecx + esi]
mov byte [eax + edx], cl
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x10]
movsx edx, byte [eax + ecx]
cmp edx, 0x2e
jne 0x410f3d
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x410edf
cmp dword [ebp - 8], 1
jne 0x410f45
jmp 0x410edf
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
movsx ecx, byte [edx + eax]
test ecx, ecx
jge 0x410f68
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x10]
movsx edx, byte [eax + ecx]
cmp edx, 0x39
jg 0x410f71
mov dword [ebp - 8], 0
jmp 0x410f78
mov dword [ebp - 8], 1
jmp 0x410edf
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
add edx, 1
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x54]
mov cl, byte [eax]
mov byte [ebp - 0x59], cl
add dword [ebp - 0x54], 1
cmp byte [ebp - 0x59], 0
jne 0x410f8f
mov edx, dword [ebp - 0x54]
sub edx, dword [ebp - 0x58]
mov dword [ebp - 0x60], edx
cmp dword [ebp - 0x60], 1
ja 0x410fdf
mov eax, dword [ebp - 0x40]
cmp dword [eax + 8], 0
je 0x410fd8
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00428d4f
add esp, 4
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 8], 0
xor al, al
jmp 0x41115e
cmp dword [ebp - 4], 3
jne 0x410ff7
cmp dword [ebp - 8], 0
jne 0x410ff7
mov al, 1
jmp 0x41115e
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x411041
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 8], 0
je 0x411035
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 8]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00428d4f
add esp, 4
mov edx, dword [ebp - 0x40]
mov dword [edx + 8], 0
xor al, al
jmp 0x41115e
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
jmp 0x41105c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + eax*4], 0
je 0x411134
mov edx, dword [ebp - 0x40]
cmp dword [edx + 8], 0
je 0x411094
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.00428d4f
add esp, 4
mov eax, dword [ebp - 0x40]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + ecx*4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
add eax, 1
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x64]
mov dl, byte [ecx]
mov byte [ebp - 0x69], dl
add dword [ebp - 0x64], 1
cmp byte [ebp - 0x69], 0
jne 0x4110b8
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
add ecx, 1
push ecx
call fcn.00427a82
add esp, 4
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x38]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 8]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x74]
mov al, byte [edx]
mov byte [ebp - 0x7d], al
mov ecx, dword [ebp - 0x78]
mov dl, byte [ebp - 0x7d]
mov byte [ecx], dl
mov eax, dword [ebp - 0x74]
add eax, 1
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x78]
add ecx, 1
mov dword [ebp - 0x78], ecx
cmp byte [ebp - 0x7d], 0
jne 0x411103
mov al, 1
jmp 0x41115e
mov edx, dword [ebp - 0x40]
cmp dword [edx + 8], 0
je 0x41115c
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00428d4f
add esp, 4
mov eax, dword [ebp - 0x40]
mov dword [eax + 8], 0
xor al, al
pop esi
mov esp, ebp
pop ebp
ret