Function at 0x1012cb4
Capabilities:
Print debug messages

Disassembly:
push 0x34
mov eax, 0x10207ff
call fcn.0101a4b0
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], edi
push 0x1044e10
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0100bc7d
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.01011612
mov ebx, eax
cmp ebx, edi
jl 0x101301a
mov eax, dword [ebp - 0x18]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x38]
mov ebx, eax
cmp ebx, edi
jge 0x1012d4e
push 0xc1500003
push dword [esi + 0x2c]
call fcn.010196c9
mov byte [ebp - 4], 3
push ebx
lea eax, [ebp - 0x14]
push 0x1002e58
push eax
call fcn.0100c88f
add esp, 0x14
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x101301a
test byte [ebp + 0x14], 1
je 0x1012d5d
mov eax, 0x409
mov word [esi + 0x30], ax
mov eax, dword [ebp - 0x18]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x40]
mov ebx, eax
cmp ebx, edi
jge 0x1012d8e
push 0xc1500003
push dword [esi + 0x2c]
call fcn.010196c9
mov byte [ebp - 4], 5
jmp 0x1012d1a
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x1012e39
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.0100bb74
push dword [edi]
mov dword [ebp - 4], 2
call fcn.0101c282
mov ebx, eax
test ebx, ebx
jge 0x1012df4
push 0xc1500028
push dword [esi + 0x2c]
call fcn.010196c9
push ebx
push dword [edi]
mov byte [ebp - 4], 9
push 0x1002e00
lea eax, [ebp - 0x14]
push eax
call fcn.0100c88f
add esp, 0x18
jmp 0x1012d2c
mov eax, dword [ebp - 0x18]
push dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov ebx, eax
test ebx, ebx
jge 0x1012e39
push 0xc1500003
push dword [esi + 0x2c]
call fcn.010196c9
push ebx
push dword [edi]
mov byte [ebp - 4], 0xb
push 0x1002d90
jmp 0x1012dd7
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 8]
call fcn.01011f91
mov ebx, eax
test ebx, ebx
jge 0x1012eae
push ebx
lea eax, [ebp - 0x14]
push 0x1002d30
push eax
mov byte [ebp - 4], 0xd
call fcn.0100c88f
add esp, 0xc
push dword [ebp - 0x14]
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x1001418
push dword [esi]
push dword [esi + 0x2c]
call fcn.01011eaf
test eax, eax
jl 0x1012e8e
cmp eax, 1
jne 0x101301a
push 0xc1500010
push dword [esi + 0x2c]
call fcn.010196c9
pop ecx
pop ecx
jmp 0x101301a
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [esi + 8]
push edx
push eax
call dword [ecx + 0x20]
mov ebx, eax
test ebx, ebx
jge 0x1012f5e
push 0x1044e10
lea ecx, [ebp + 0x18]
call fcn.0100bc7d
push ebx
push 0xc1500003
push dword [esi + 0x2c]
mov byte [ebp - 4], 0xf
call fcn.010196c9
push ebx
lea eax, [ebp + 0x18]
push 0x1002cc8
push eax
mov byte [ebp - 4], 0x10
call fcn.0100c88f
mov dword [ebp - 4], 0xf
add esp, 0x18
cmp dword [esi + 0x1c], 0
je 0x1012f32
push ebx
push 0x1002c90
push dword [ebp + 0x18]
mov edi, 0x1038ae8
push 0x1002c6c
push 0x2022
push edi
call fcn.0101a9ec
mov ecx, dword [esi + 0x1c]
add esp, 0x18
push edi
push 1
call fcn.0101865e
mov ecx, dword [ebp + 0x18]
add ecx, 0xfffffff0
call fcn.0100b8fc
jmp 0x101301a
lea edi, [esi + 0x18]
push edi
call fcn.01012283
mov ebx, eax
test ebx, ebx
jge 0x1012fb7
push 0x1044e10
lea ecx, [ebp + 0x18]
call fcn.0100bc7d
push ebx
push 0x81500027
push dword [esi + 0x2c]
mov byte [ebp - 4], 0x12
call fcn.010196c9
push ebx
lea eax, [ebp + 0x18]
push 0x1002c08
push eax
mov byte [ebp - 4], 0x13
call fcn.0100c88f
mov dword [ebp - 4], 0x12
jmp 0x1012efd
push dword [esi]
mov ecx, dword [edi]
call fcn.01010b49
mov ebx, eax
test ebx, ebx
jge 0x1013010
push 0x1044e10
lea ecx, [ebp + 0x18]
call fcn.0100bc7d
push ebx
push 0x81500027
push dword [esi + 0x2c]
mov byte [ebp - 4], 0x15
call fcn.010196c9
push ebx
lea eax, [ebp + 0x18]
push 0x1002b98
push eax
mov byte [ebp - 4], 0x16
call fcn.0100c88f
mov dword [ebp - 4], 0x15
jmp 0x1012efd
push dword [esi + 0x28]
mov ecx, dword [edi]
call fcn.010108f6
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0100b8fc
push dword [ebp - 0x1c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x101303f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebx
call fcn.0101a564
ret 0x14