Function at 0x1197062
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x12891bc
call fcn.01160168
sub esp, 0x28
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push ebx
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
push ecx
xor eax, eax
push 0x100fe14
inc eax
push eax
push ebx
mov dword [esi], eax
mov ecx, dword [0x12d28f8]
push 0x100fe04
call fcn.0116b561
cmp eax, ebx
mov dword [ebp - 0x18], eax
jl 0x119733e
mov eax, dword [ebp + 8]
push dword [eax]
lea ecx, [ebp + 8]
call fcn.01257752
mov byte [ebp - 4], 3
mov eax, dword [eax]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
lea esi, [ebp - 0x10]
push esi
push eax
push ecx
call dword [edx + 0x104]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
push dword [ebp + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
cmp word [ebp - 0x10], bx
jne 0x1197101
mov dword [ebp - 0x18], 0x80004005
cmp dword [ebp - 0x18], ebx
jge 0x119710d
push 0x10147b8
jmp 0x1197144
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push eax
call dword [ecx + 0xb4]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jge 0x119712b
push 0x1014780
jmp 0x1197144
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0x34]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jge 0x119714f
push 0x1014750
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x119733e
push edi
mov edi, dword [sym.imp.msvcrt.dll_wcscmp]
cmp dword [ebp - 0x14], ebx
je 0x119733d
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 4
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 4], 5
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 6
mov eax, dword [0x12ce0a0]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 7
mov eax, dword [0x12ce0a0]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
call dword [ecx + 0x68]
push dword [ebp - 0x2c]
lea ecx, [ebp + 8]
call fcn.01032977
push 0x101473c
push dword [ebp + 8]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x11971eb
push dword [ebp - 0x20]
lea ecx, [ebp - 0x28]
call fcn.01032977
push 0x1014734
push dword [ebp - 0x28]
call dword [sym.imp.msvcrt.dll__wcsicmp]
neg eax
pop ecx
sbb eax, eax
pop ecx
mov ecx, dword [ebp - 0x1c]
inc eax
mov dword [ecx], eax
jmp 0x1197289
push 0x101472c
push dword [ebp + 8]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x1197250
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 0x20]
add ecx, 4
call fcn.01032977
mov ecx, dword [ebp - 0x1c]
push ebx
push 0x101471c
add ecx, 4
call fcn.01044ca4
test eax, eax
je 0x1197289
mov ecx, dword [ebp - 0x1c]
push ebx
push 0x1014708
add ecx, 4
call fcn.01044ca4
test eax, eax
je 0x1197289
push 0x10146b0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x1c]
push 0x100355c
add ecx, 4
call fcn.01032977
jmp 0x1197289
push 0x10146a8
push dword [ebp + 8]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x1197267
push 0x1014674
jmp 0x1197283
push 0x10145f0
push dword [ebp + 8]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x119727e
push 0x101464c
jmp 0x1197283
push 0x101461c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x24]
push edx
push eax
call dword [ecx + 0x40]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jl 0x1197302
cmp dword [ebp - 0x24], ebx
je 0x1197302
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x11972b2
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push eax
call fcn.0103d87e
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.010328fa
mov byte [ebp - 4], 6
lea ecx, [ebp + 8]
call fcn.010328fa
mov byte [ebp - 4], 5
push dword [ebp - 0x20]
call esi
mov byte [ebp - 4], 4
push dword [ebp - 0x2c]
call esi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x1197156
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1197156
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.010328fa
mov byte [ebp - 4], 6
lea ecx, [ebp + 8]
call fcn.010328fa
mov byte [ebp - 4], 5
push dword [ebp - 0x20]
call esi
mov byte [ebp - 4], 4
push dword [ebp - 0x2c]
call esi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x119733d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x119734f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x119735f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
pop esi
cmp eax, ebx
pop ebx
je 0x1197372
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], ecx
leave
ret 4