Function at 0x1197388
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x1289213
call fcn.01160168
sub esp, 0x28
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push ebx
mov dword [ebp - 0x34], esi
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
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 0x11975ec
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 - 0x2c]
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 0x1197427
mov dword [ebp - 0x18], 0x80004005
cmp dword [ebp - 0x18], ebx
jl 0x11975ec
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push eax
call dword [ecx + 0xb4]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jl 0x11975ec
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0x34]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jl 0x11975ec
push edi
mov edi, dword [sym.imp.msvcrt.dll_wcscmp]
cmp dword [ebp - 0x14], ebx
je 0x11975eb
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 4
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 5
mov dword [ebp - 0x1c], 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 - 0x24], eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x28]
push edx
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x68]
push dword [ebp - 0x28]
lea ecx, [ebp + 8]
call fcn.01032977
push 0x1014800
push dword [ebp + 8]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x11974fc
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x24]
call fcn.01032977
push 0x1014734
push dword [ebp - 0x24]
call dword [sym.imp.msvcrt.dll__wcsicmp]
neg eax
pop ecx
sbb eax, eax
pop ecx
mov ecx, dword [ebp - 0x34]
inc eax
mov dword [ecx], eax
jmp 0x1197537
push 0x101472c
push dword [ebp + 8]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x119751c
mov ecx, dword [ebp - 0x34]
push dword [ebp - 0x1c]
add ecx, 4
call fcn.01032977
jmp 0x1197537
push 0x10145f0
push dword [ebp + 8]
call edi
test eax, eax
pop ecx
pop ecx
jne 0x1197537
push 0x10147d8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
call dword [ecx + 0x40]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jl 0x11975b0
cmp dword [ebp - 0x20], ebx
je 0x11975b0
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x1197560
mov dword [ebp - 0x14], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push eax
call fcn.0103d87e
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.010328fa
mov byte [ebp - 4], 6
lea ecx, [ebp + 8]
call fcn.010328fa
mov byte [ebp - 4], 5
push dword [ebp - 0x1c]
call esi
mov byte [ebp - 4], 4
push dword [ebp - 0x28]
call esi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x119746a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x119746a
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x24]
call fcn.010328fa
mov byte [ebp - 4], 6
lea ecx, [ebp + 8]
call fcn.010328fa
mov byte [ebp - 4], 5
push dword [ebp - 0x1c]
call esi
mov byte [ebp - 4], 4
push dword [ebp - 0x28]
call esi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x11975eb
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 0x11975fd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x119760d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
pop esi
cmp eax, ebx
pop ebx
je 0x1197620
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