Function at 0x41b8e0
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 0x41b8ff
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 0x41b94b
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 8]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.0044ad2a
add esp, 4
mov edx, dword [ebp - 0x40]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.004494ce
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.00453010
add esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
jmp 0x41b998
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0xc]
jge 0x41ba2d
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x10]
movsx edx, byte [eax + ecx]
cmp edx, 0x3a
jne 0x41b9b8
jmp 0x41ba2d
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 0x41b9ed
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x41b98f
cmp dword [ebp - 8], 1
jne 0x41b9f5
jmp 0x41b98f
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 0x10]
movsx ecx, byte [edx + eax]
test ecx, ecx
jge 0x41ba18
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0x10]
movsx edx, byte [eax + ecx]
cmp edx, 0x39
jg 0x41ba21
mov dword [ebp - 8], 0
jmp 0x41ba28
mov dword [ebp - 8], 1
jmp 0x41b98f
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 0x41ba3f
mov edx, dword [ebp - 0x54]
sub edx, dword [ebp - 0x58]
mov dword [ebp - 0x60], edx
cmp dword [ebp - 0x60], 1
ja 0x41ba8f
mov eax, dword [ebp - 0x40]
cmp dword [eax + 8], 0
je 0x41ba88
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0044ad2a
add esp, 4
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 8], 0
xor al, al
jmp 0x41bc0e
cmp dword [ebp - 4], 3
jne 0x41baa7
cmp dword [ebp - 8], 0
jne 0x41baa7
mov al, 1
jmp 0x41bc0e
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 0x41baf1
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 8], 0
je 0x41bae5
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 8]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0044ad2a
add esp, 4
mov edx, dword [ebp - 0x40]
mov dword [edx + 8], 0
xor al, al
jmp 0x41bc0e
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
jmp 0x41bb0c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + eax*4], 0
je 0x41bbe4
mov edx, dword [ebp - 0x40]
cmp dword [edx + 8], 0
je 0x41bb44
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.0044ad2a
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 0x41bb68
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.004494ce
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 0x41bbb3
mov al, 1
jmp 0x41bc0e
mov edx, dword [ebp - 0x40]
cmp dword [edx + 8], 0
je 0x41bc0c
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
push edx
call fcn.0044ad2a
add esp, 4
mov eax, dword [ebp - 0x40]
mov dword [eax + 8], 0
xor al, al
pop esi
mov esp, ebp
pop ebp
ret