Function at 0x1001c19b
Capabilities:
Print debug messages

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x13c
and dword [ebp + 0x68], 0
push ebx
push esi
push edi
mov esi, eax
call fcn.1001c6a8
push dword [ebp + 0x7c]
call fcn.101319ca
mov edi, eax
xor ecx, ecx
push 2
pop edx
lea eax, [edi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.101317de
push dword [ebp + 0x7c]
mov dword [esi], eax
push eax
call fcn.10131873
mov eax, edi
imul eax, eax, 3
cdq
and edx, 3
add eax, edx
sar eax, 2
add eax, 0x10
push eax
mov dword [ebp + 0x6c], eax
call fcn.101317de
mov edi, eax
add esp, 0x14
lea eax, [ebp + 0x6c]
push eax
push edi
push dword [ebp + 0x7c]
mov dword [ebp + 0x58], edi
call fcn.10011c27
mov ebx, dword [ebp + 0x6c]
xor ecx, ecx
xor eax, eax
test ebx, ebx
jle 0x1001c233
cmp eax, 0xa
jl 0x1001c221
xor eax, eax
mov dl, byte [eax + str.hebcahebca]
xor byte [ecx + edi], dl
mov ebx, dword [ebp + 0x6c]
inc ecx
inc eax
cmp ecx, ebx
jl 0x1001c21a
cmp ebx, 0x2c
jl 0x1001c26f
lea eax, [ebp + 0x7c]
push eax
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebx - 0x14]
push eax
push edi
mov dword [ebp + 0x7c], 0x14
call fcn.1001c60e
test eax, eax
je 0x1001c26f
push 0x14
lea eax, [edi + ebx - 0x14]
push eax
lea eax, [ebp + 0x3c]
push eax
call fcn.10132596
add esp, 0xc
neg eax
sbb eax, eax
inc eax
jne 0x1001c27c
push 2
pop eax
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4
push 2
lea ebx, [esi + 8]
push edi
push ebx
mov dword [esi + 4], 1
call fcn.10131ca0
add esp, 0xc
add edi, 2
cmp word [ebx], 2
jbe 0x1001c2b0
call fcn.1001c6a8
xor esi, esi
inc esi
push dword [ebp + 0x58]
call fcn.101317e9
pop ecx
mov eax, esi
jmp 0x1001c272
push 1
lea eax, [esi + 0xa]
push edi
push eax
call fcn.10131ca0
push 1
inc edi
lea eax, [esi + 0xb]
push edi
push eax
call fcn.10131ca0
push 4
inc edi
lea eax, [esi + 0xc]
push edi
push eax
mov dword [ebp + 0x54], eax
call fcn.10131ca0
push 4
add edi, 4
lea eax, [esi + 0x10]
push edi
push eax
call fcn.10131ca0
push 4
add edi, 4
lea eax, [esi + 0x18]
push edi
push eax
call fcn.10131ca0
add esp, 0x3c
add edi, 4
cmp word [ebx], 1
jbe 0x1001c315
push 4
lea eax, [esi + 0x14]
push edi
push eax
call fcn.10131ca0
add esp, 0xc
add edi, 4
push 4
lea eax, [esi + 0x1c]
push edi
push eax
call fcn.10131ca0
push 2
add edi, 4
lea eax, [ebp + 0x70]
push edi
push eax
call fcn.10131ca0
movzx eax, word [ebp + 0x70]
inc edi
inc edi
inc eax
inc eax
push eax
call fcn.101317de
mov ebx, eax
movzx eax, word [ebp + 0x70]
inc eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.101317de
mov dword [esi + 0x24], eax
movzx eax, word [ebp + 0x70]
push eax
push edi
push ebx
call fcn.10131ca0
movzx eax, word [ebp + 0x70]
add esp, 0x2c
mov byte [eax + ebx], 0
lea eax, [ebp - 0xc4]
push 3
mov dword [ebp - 0xc8], eax
push ebx
lea eax, [ebp - 0xc8]
push eax
call fcn.1000d5be
push dword [ebp - 0xc8]
push dword [esi + 0x24]
call fcn.10131873
lea eax, [ebp - 0xc4]
pop ecx
pop ecx
cmp dword [ebp - 0xc8], eax
je 0x1001c3b9
push dword [ebp - 0xc8]
call fcn.10133c16
pop ecx
movzx eax, word [ebp + 0x70]
mov ecx, dword [esi + 0x24]
xor edx, edx
push ebx
mov word [ecx + eax*2 + 2], dx
call fcn.101317e9
movzx eax, word [ebp + 0x70]
add edi, eax
push 2
lea eax, [ebp + 0x70]
push edi
push eax
call fcn.10131ca0
movzx eax, word [ebp + 0x70]
inc eax
inc eax
push eax
call fcn.101317de
mov ebx, eax
movzx eax, word [ebp + 0x70]
inc eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.101317de
mov dword [esi + 0x20], eax
movzx eax, word [ebp + 0x70]
push eax
add edi, 2
push edi
push ebx
call fcn.10131ca0
movzx eax, word [ebp + 0x70]
add esp, 0x24
mov byte [eax + ebx], 0
lea eax, [ebp - 0xc4]
push 3
mov dword [ebp - 0xc8], eax
push ebx
lea eax, [ebp - 0xc8]
push eax
call fcn.1000d5be
push dword [ebp - 0xc8]
push dword [esi + 0x20]
call fcn.10131873
lea eax, [ebp - 0xc4]
pop ecx
pop ecx
cmp dword [ebp - 0xc8], eax
je 0x1001c469
push dword [ebp - 0xc8]
call fcn.10133c16
pop ecx
push dword [esi + 0x20]
call fcn.101319ca
mov ecx, dword [esi + 0x20]
movzx eax, ax
mov dword [ebp + 0x70], eax
movzx eax, ax
xor edx, edx
push ebx
mov word [ecx + eax*2 + 2], dx
call fcn.101317e9
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop ecx
pop ecx
push str.m_pDomaint
call edi
push dword [esi + 0x24]
call edi
mov eax, dword [esi + 0x28]
add eax, 0x100
cmp dword [eax], 0
je 0x1001c5aa
and dword [ebp + 0x7c], 0
mov eax, dword [eax]
mov ecx, dword [eax]
lea edx, [ebp + 0x7c]
push edx
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp + 0x7c]
test eax, eax
je 0x1001c5aa
mov ecx, dword [eax]
lea edx, [ebp + 0x50]
push edx
push eax
call dword [ecx + 0x28]
mov eax, dword [ebp + 0x7c]
mov ecx, dword [eax]
lea edx, [ebp + 0x64]
push edx
push eax
call dword [ecx + 0x38]
mov eax, dword [ebp + 0x7c]
mov ecx, dword [eax]
lea edx, [ebp + 0x60]
push edx
push eax
call dword [ecx + 0x20]
mov eax, dword [ebp + 0x7c]
mov ecx, dword [eax]
lea edx, [ebp + 0x5c]
push edx
push eax
call dword [ecx + 0x48]
mov eax, dword [ebp + 0x5c]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
je 0x1001c51c
push 0x1018f818
mov dword [ebp + 0x6c], eax
call edi
push dword [ebp + 0x6c]
call edi
push dword [ebp + 0x5c]
call ebx
mov eax, dword [ebp + 0x60]
test eax, eax
je 0x1001c537
push 0x1018f824
mov dword [ebp + 0x6c], eax
call edi
push dword [ebp + 0x6c]
call edi
push dword [ebp + 0x60]
call ebx
mov eax, dword [ebp + 0x64]
test eax, eax
je 0x1001c598
push str.hostname
mov dword [ebp + 0x6c], eax
call edi
push dword [ebp + 0x6c]
call edi
push dword [esi + 0x24]
push dword [ebp + 0x6c]
call fcn.10134310
pop ecx
pop ecx
test eax, eax
jne 0x1001c593
push str.localhost
push dword [ebp + 0x6c]
call fcn.10134310
pop ecx
pop ecx
test eax, eax
jne 0x1001c593
push str.127.0.0.1
push dword [ebp + 0x6c]
call fcn.10134310
pop ecx
pop ecx
test eax, eax
jne 0x1001c593
and dword [esi + 4], eax
call fcn.1001c6a8
mov dword [ebp + 0x68], 2
push dword [ebp + 0x64]
call ebx
push dword [ebp + 0x50]
call ebx
mov eax, dword [ebp + 0x7c]
test eax, eax
je 0x1001c5aa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor ecx, ecx
cmp dword [esi + 4], ecx
je 0x1001c606
xor eax, eax
cmp ax, word [ebp + 0x70]
jae 0x1001c5d3
mov eax, dword [esi + 0x20]
lea eax, [eax + ecx*2]
cmp word [eax], 0x2c
jne 0x1001c5ca
xor edx, edx
mov word [eax], dx
movzx eax, word [ebp + 0x70]
inc ecx
cmp ecx, eax
jl 0x1001c5b9
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebx]
mov edi, dword [esi + 0x20]
or dword [ebx], 0xffffffff
mov dword [ebp + 0x7c], eax
jmp 0x1001c5fb
mov eax, dword [esi + 0x28]
add eax, 0x6c
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x60]
push edi
call fcn.101319ca
pop ecx
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
jne 0x1001c5e3
mov eax, dword [ebp + 0x7c]
mov dword [ebx], eax
mov esi, dword [ebp + 0x68]
jmp 0x1001c2a3