Function at 0x10001fb8
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
push 0x14
call fcn.100175e6
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
push 8
call fcn.100175e6
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x1003232e
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov eax, 0x10032323
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10002438
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10002036
push ebx
call fcn.100175ec
add esp, 4
mov dword [ebp - 0x1c], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.WS2_32.dll_gethostbyname]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x10002064
push 0x48
push 0x4023d03
push 6
call fcn.100175fe
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100023e7
mov dword [ebp - 0x1c], esp
push 0x10
push dword [ebp - 4]
mov eax, dword [ebp - 8]
push eax
push 0x10
call fcn.100175e6
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x100020f1
push 0x99
push 0x4023d03
push 6
call fcn.100175fe
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x20]
push ebx
mov edi, dword [ebp - 0x24]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.100175ec
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
add ebx, 0x10
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], esp
push 4
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10002176
push 0xc3
push 0x4023d03
push 6
call fcn.100175fe
add esp, 0xc
mov ebx, dword [ebp - 8]
add ebx, 0xc
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], 1
mov ebx, dword [ebp - 0x1c]
mov ax, word [ebx]
cwde
cmp eax, 0
jge 0x100021a9
push 0xf6
push 0x4023d03
push 0xa
call fcn.100175fe
add esp, 0xc
mov dword [ebp - 0x20], eax
lea ebx, [ebp - 0x24]
call fcn.10001838
push ecx
add ecx, 8
push ecx
call fcn.100175e6
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
lea esi, [ebp - 0x20]
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov ebx, dword [ebp - 0x10]
call fcn.10001838
pop edx
test edx, edx
je 0x100021eb
mov ecx, edx
xor eax, eax
rep stosb byte es:[edi], al
push dword [ebp - 0x10]
call fcn.100175ec
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
add ebx, 0xc
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], esp
mov ebx, dword [ebp - 0x1c]
mov ax, word [ebx]
cwde
push eax
push dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
call fcn.10001838
push ebx
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10002240
push 0x123
push 0x4023d03
push 6
call fcn.100175fe
add esp, 0xc
mov ebx, dword [ebp - 8]
add ebx, 0xc
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov ax, word [ebx]
cwde
xor ecx, ecx
push eax
lea eax, [ebp - 0x14]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x100023e4
mov ebx, dword [ebp - 8]
add ebx, 0xc
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov ax, word [ebx]
cwde
cmp dword [ebp - 0x14], eax
jne 0x1000232e
mov ebx, dword [ebp - 0x10]
call fcn.10001838
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x100022a7
push 0x1ed
push 0x4023d03
push 4
call fcn.100175fe
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x100022c4
push 0x1ed
push 0x4023d03
push 1
call fcn.100175fe
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x1c], ebx
push 0x80000101
push 0
mov ebx, dword [ebp - 0x1c]
mov al, byte [ebx]
push eax
push 1
mov ebx, 0x168
call fcn.10017c10
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 0x18]
mov ecx, 2
call fcn.1000149c
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10002311
push ebx
call fcn.100175ec
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10002325
push ebx
call fcn.100175ec
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
jmp 0x100023dc
mov ebx, dword [ebp - 0x10]
call fcn.10001838
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x10002355
push 0x243
push 0x4023d03
push 4
call fcn.100175fe
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10002372
push 0x243
push 0x4023d03
push 1
call fcn.100175fe
add esp, 0xc
add ebx, eax
mov dword [ebp - 0x1c], ebx
push 0x80000101
push 0
mov ebx, dword [ebp - 0x1c]
mov al, byte [ebx]
push eax
push 1
mov ebx, 0x168
call fcn.10017c10
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x1003232c
push dword [ebp - 0x20]
push dword [ebp - 0x18]
mov ecx, 3
call fcn.1000149c
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x100023c4
push ebx
call fcn.100175ec
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x100023d8
push ebx
call fcn.100175ec
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
pop eax
pop ebx
pop ecx
jmp 0x10002259
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10002403
push eax
mov ebx, eax
call fcn.10001431
inc eax
push eax
call fcn.100175e6
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10002408
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.100175ec
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.100175ec
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10002431
push ebx
call fcn.100175ec
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4