Function at 0x1197409
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x1289300
call fcn.01160458
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.0116ba80
cmp eax, ebx
mov dword [ebp - 0x18], eax
jl 0x11976e5
mov eax, dword [ebp + 8]
push dword [eax]
lea ecx, [ebp + 8]
call fcn.01032b44
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 0x11974a8
mov dword [ebp - 0x18], 0x80004005
cmp dword [ebp - 0x18], ebx
jge 0x11974b4
push 0x10147b8
jmp 0x11974eb
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 0x11974d2
push 0x1014780
jmp 0x11974eb
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 0x11974f6
push 0x1014750
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x11976e5
push edi
mov edi, dword [sym.imp.msvcrt.dll_wcscmp]
cmp dword [ebp - 0x14], ebx
je 0x11976e4
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.01045196
push 0x101473c
push dword [ebp + 8]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x1197592
push dword [ebp - 0x20]
lea ecx, [ebp - 0x28]
call fcn.01045196
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 0x1197630
push 0x101472c
push dword [ebp + 8]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x11975f7
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 0x20]
add ecx, 4
call fcn.01045196
mov ecx, dword [ebp - 0x1c]
push ebx
push 0x101471c
add ecx, 4
call fcn.01044f44
test eax, eax
je 0x1197630
mov ecx, dword [ebp - 0x1c]
push ebx
push 0x1014708
add ecx, 4
call fcn.01044f44
test eax, eax
je 0x1197630
push 0x10146b0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x1c]
push 0x100355c
add ecx, 4
call fcn.01045196
jmp 0x1197630
push 0x10146a8
push dword [ebp + 8]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x119760e
push 0x1014674
jmp 0x119762a
push 0x10145f0
push dword [ebp + 8]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x1197625
push 0x101464c
jmp 0x119762a
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 0x11976a9
cmp dword [ebp - 0x24], ebx
je 0x11976a9
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x1197659
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.0103db49
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.010328fe
mov byte [ebp - 4], 6
lea ecx, [ebp + 8]
call fcn.010328fe
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 0x11974fd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x11974fd
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.010328fe
mov byte [ebp - 4], 6
lea ecx, [ebp + 8]
call fcn.010328fe
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 0x11976e4
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 0x11976f6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x1197706
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 0x1197719
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