Function at 0x1000211d
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
push 0x14
call fcn.10017671
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.10017671
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x1003232f
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, 0x10032324
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10001269
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1000219b
push ebx
call fcn.10017677
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 0x100021c9
push 0x48
push 0x4023d76
push 6
call fcn.10017689
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000254c
mov dword [ebp - 0x1c], esp
push 0x10
push dword [ebp - 4]
mov eax, dword [ebp - 8]
push eax
push 0x10
call fcn.10017671
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 0x10002256
push 0x99
push 0x4023d76
push 6
call fcn.10017689
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.10017677
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 0x100022db
push 0xc3
push 0x4023d76
push 6
call fcn.10017689
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 0x1000230e
push 0xf6
push 0x4023d76
push 0xa
call fcn.10017689
add esp, 0xc
mov dword [ebp - 0x20], eax
lea ebx, [ebp - 0x24]
call fcn.1000199d
push ecx
add ecx, 8
push ecx
call fcn.10017671
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.1000199d
pop edx
test edx, edx
je 0x10002350
mov ecx, edx
xor eax, eax
rep stosb byte es:[edi], al
push dword [ebp - 0x10]
call fcn.10017677
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.1000199d
push ebx
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x100023a5
push 0x123
push 0x4023d76
push 6
call fcn.10017689
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 0x10002549
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 0x10002493
mov ebx, dword [ebp - 0x10]
call fcn.1000199d
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x1000240c
push 0x1ed
push 0x4023d76
push 4
call fcn.10017689
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10002429
push 0x1ed
push 0x4023d76
push 1
call fcn.10017689
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.10017ce0
add esp, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push dword [ebp - 0x18]
mov ecx, 2
call fcn.10001601
add esp, 8
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10002476
push ebx
call fcn.10017677
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1000248a
push ebx
call fcn.10017677
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
jmp 0x10002541
mov ebx, dword [ebp - 0x10]
call fcn.1000199d
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x100024ba
push 0x243
push 0x4023d76
push 4
call fcn.10017689
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x100024d7
push 0x243
push 0x4023d76
push 1
call fcn.10017689
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.10017ce0
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x1003232d
push dword [ebp - 0x20]
push dword [ebp - 0x18]
mov ecx, 3
call fcn.10001601
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10002529
push ebx
call fcn.10017677
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1000253d
push ebx
call fcn.10017677
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
pop eax
pop ebx
pop ecx
jmp 0x100023be
add esp, 0xc
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10002568
push eax
mov ebx, eax
call fcn.10001596
inc eax
push eax
call fcn.10017671
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1000256d
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.10017677
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.10017677
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10002596
push ebx
call fcn.10017677
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4