Function at 0x10009c3c
Capabilities:
Print debug messages

Disassembly:
push 0x894
mov eax, 0x10089273
call fcn.10075620
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x898], ecx
mov dword [ebp - 0x840], 7
mov dword [ebp - 0x844], ecx
mov word [ebp - 0x854], ax
mov esi, dword [ebp + 8]
and esi, 0xf
mov dword [ebp - 4], ecx
cmp dword [0x100e6e28], esi
jb 0x1000a04d
push ecx
push 0x10095a70
lea ecx, [ebp - 0x854]
call fcn.100040be
push 0x412
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.10074510
push 0x20a
lea eax, [ebp - 0x83c]
push 0
push eax
call fcn.10074510
lea eax, [ebp + 0x14]
add esp, 0x18
mov dword [ebp - 0x89c], eax
lea eax, [ebp - 0x87c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edi, 0x105
push edi
lea eax, [ebp - 0x83c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor ecx, ecx
push ecx
push ecx
push edi
lea eax, [ebp - 0x630]
push eax
push ecx
push ecx
push ecx
push ecx
lea eax, [ebp - 0x83c]
push eax
call fcn.10077a5a
mov eax, dword [0x100e6e34]
add esp, 0x24
test eax, eax
je 0x10009d23
push dword [0x100e6e38]
push eax
call fcn.100779cf
pop ecx
pop ecx
test eax, eax
jne 0x10009d27
xor edi, edi
jmp 0x10009d37
push 0
push dword [0x100e6e34]
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
cmp dword [0x100e6e2c], 0
je 0x10009da6
mov eax, 0x10095a78
test ebx, ebx
mov ecx, 0x10095a74
cmove ecx, eax
push ecx
mov eax, 0x100957c3
cmovne eax, ebx
push eax
movzx eax, word [ebp - 0x870]
push eax
movzx eax, word [ebp - 0x872]
push eax
movzx eax, word [ebp - 0x874]
push eax
movzx eax, word [ebp - 0x876]
push eax
movzx eax, word [ebp - 0x87a]
push eax
movzx eax, word [ebp - 0x87c]
push eax
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x424]
push 0x10095a80
push eax
call fcn.1000a133
add esp, 0x2c
jmp 0x10009dda
mov ecx, 0x100957c0
test ebx, ebx
mov eax, 0x10095a7c
cmove eax, ecx
push eax
mov eax, 0x100957c2
cmovne eax, ebx
push eax
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x424]
push str.__s_:_hs_s
push eax
call fcn.1000a133
add esp, 0x14
cmp word [ebp - 0x424], 0
jne 0x10009dea
xor ebx, ebx
mov eax, ebx
jmp 0x10009df9
lea eax, [ebp - 0x424]
push eax
call fcn.10074c74
pop ecx
xor ebx, ebx
push eax
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x854]
call fcn.100040be
cmp dword [ebp + 0x10], 0
je 0x10009e4a
push 3
push dword [ebp + 0x10]
lea eax, [ebp - 0x86c]
push eax
call fcn.10055c80
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x854]
mov byte [ebp - 4], 1
call fcn.10003d87
push ebx
push 1
lea ecx, [ebp - 0x86c]
mov byte [ebp - 4], bl
call fcn.10003d41
cmp dword [ebp - 0x840], 8
lea ecx, [ebp - 0x89c]
push ecx
push ebx
lea ecx, [ebp - 0x898]
push ecx
push ebx
lea eax, [ebp - 0x854]
cmovae eax, dword [ebp - 0x854]
push ebx
push eax
push 0x500
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
cmp dword [ebp - 0x898], 0
mov ebx, eax
mov dword [ebp - 0x8a0], ebx
jne 0x10009ea4
push str.Debug:_Cannot_allocate_memory._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor ecx, ecx
mov dword [ebp - 0x89c], ecx
jmp 0x1000a04d
test byte [0x100e6e30], 1
je 0x10009eb9
push dword [ebp - 0x898]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [0x100e6e3c], 0
je 0x10009f85
xor ecx, ecx
mov dword [ebp - 0x858], 0xf
mov dword [ebp - 0x85c], ecx
mov byte [ebp - 0x86c], cl
push 2
pop ebx
mov byte [ebp - 4], bl
test esi, esi
je 0x10009f07
cmp esi, ebx
jbe 0x10009f04
cmp esi, 3
je 0x10009f07
cmp esi, 4
je 0x10009eff
cmp esi, 5
jne 0x10009f07
push 6
jmp 0x10009f01
push 5
pop ebx
jmp 0x10009f07
xor ebx, ebx
inc ebx
mov eax, dword [ebp + 8]
push 3
and eax, 0xffff0000
push ecx
push dword [ebp - 0x898]
or ebx, eax
lea eax, [ebp - 0x894]
push eax
call fcn.10055b3e
add esp, 0x10
lea ecx, [ebp - 0x86c]
push eax
call fcn.1000a14f
lea ecx, [ebp - 0x894]
call fcn.100038d4
cmp dword [ebp - 0x858], 0x10
lea eax, [ebp - 0x86c]
cmovae eax, dword [ebp - 0x86c]
push eax
push ebx
push SysReAllocString
push dword [0x100e6e44]
push dword [0x100e6e40]
call dword [0x100e6e3c]
add esp, 0x14
lea ecx, [ebp - 0x86c]
mov byte [ebp - 4], 0
call fcn.100038d4
mov ebx, dword [ebp - 0x8a0]
test byte [0x100e6e30], 2
je 0x1000a031
test edi, edi
je 0x1000a031
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000a031
push 0xc
lea eax, [ebp - 0x860]
push 0
push eax
call fcn.10074510
mov esi, dword [ebp - 0x898]
add esp, 0xc
test esi, esi
jne 0x10009fca
xor eax, eax
jmp 0x10009fdc
lea eax, [ebx + 1]
push eax
push esi
call fcn.100779cf
mov esi, dword [ebp - 0x898]
pop ecx
pop ecx
lea eax, [eax*2 + 2]
mov dword [ebp - 0x85c], eax
xor eax, eax
cmp word [esi], ax
je 0x10009ff7
push esi
call fcn.10074c74
pop ecx
push eax
push esi
lea ecx, [ebp - 0x854]
call fcn.100040be
cmp dword [ebp - 0x840], 8
lea eax, [ebp - 0x854]
cmovae eax, dword [ebp - 0x854]
mov dword [ebp - 0x858], eax
lea eax, [ebp - 0x860]
push eax
xor eax, eax
push eax
push 0x4a
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x898]
xor eax, eax
mov dword [ebp - 0x89c], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor ecx, ecx
mov dword [ebp - 0x898], ecx
push ecx
push 1
lea ecx, [ebp - 0x854]
call fcn.10003d41
call fcn.100755cf
ret