Function at 0x102c609
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x36b8
call fcn.0100a16a
mov eax, dword [0x104a044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push esi
push edi
push dword [eax]
mov edi, dword [ebp + 0x10]
push ecx
mov esi, 0xdac
push esi
lea eax, [ebp - 0x1b5c]
push eax
mov dword [ebp - 0x36b8], edi
call fcn.01026aa5
test eax, eax
jl 0x102c966
cmp dword [ebp + 0xc], 0xffffffff
push ebx
jne 0x102c65f
test edi, edi
jne 0x102c65f
xor bl, bl
jmp 0x102c661
mov bl, 1
cmp byte [0x104bb90], 0
je 0x102c746
cmp dword [ebp + 8], 0
jl 0x102c6d4
test bl, bl
je 0x102c6af
mov eax, edi
test edi, edi
jne 0x102c683
mov eax, 0x100348c
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x1b5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x102ca2c
lea eax, [ebp - 0x36b4]
push esi
push eax
call fcn.0100a257
add esp, 0x1c
jmp 0x102c735
lea eax, [ebp - 0x1b5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x102ca1c
lea eax, [ebp - 0x36b4]
push esi
push eax
call fcn.0100a257
add esp, 0x14
jmp 0x102c735
test bl, bl
je 0x102c70f
mov eax, edi
test edi, edi
jne 0x102c6e3
mov eax, 0x100348c
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x1b5c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x102c9d8
lea eax, [ebp - 0x36b4]
push esi
push eax
call fcn.0100a257
add esp, 0x20
jmp 0x102c735
lea eax, [ebp - 0x1b5c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x102c9a8
lea eax, [ebp - 0x36b4]
push esi
push eax
call fcn.0100a257
add esp, 0x18
test eax, eax
jl 0x102c746
lea eax, [ebp - 0x36b4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
cmp dword [ebp + 8], eax
jl 0x102c866
test bl, bl
je 0x102c7e4
cmp dword [0x104a3ac], eax
je 0x102c965
mov al, byte [0x104a3b0]
cmp al, 4
jae 0x102c776
test al, al
jne 0x102c965
mov ecx, dword [0x104a398]
mov edx, dword [0x104a39c]
mov eax, 0x80000000
and ecx, 4
and edx, eax
or ecx, edx
je 0x102c965
mov ecx, dword [0x104a3a0]
mov edi, dword [0x104a3a4]
mov edx, ecx
mov esi, edi
and edx, 4
and esi, eax
cmp edx, ecx
jne 0x102c965
cmp esi, edi
jne 0x102c965
lea eax, [ebp - 0x1b5c]
push eax
push dword [ebp - 0x36b8]
push dword [ebp + 0xc]
push 0x102c988
push dword [0x104a134]
push dword [0x104a130]
call fcn.0102b37f
jmp 0x102c965
cmp dword [0x104a3ac], eax
je 0x102c965
mov al, byte [0x104a3b0]
cmp al, 4
jae 0x102c801
test al, al
jne 0x102c965
mov ecx, dword [0x104a398]
mov edx, dword [0x104a39c]
mov eax, 0x80000000
and ecx, 4
and edx, eax
or ecx, edx
je 0x102c965
mov ecx, dword [0x104a3a0]
mov edi, dword [0x104a3a4]
mov edx, ecx
mov esi, edi
and edx, 4
and esi, eax
cmp edx, ecx
jne 0x102c965
cmp esi, edi
jne 0x102c965
lea eax, [ebp - 0x1b5c]
push eax
push 0x1022310
push dword [0x104a134]
push dword [0x104a130]
call fcn.010263c4
jmp 0x102c965
test bl, bl
je 0x102c8f9
cmp dword [0x104a3ac], eax
je 0x102c965
mov al, byte [0x104a3b0]
cmp al, 4
jae 0x102c88b
test al, al
jne 0x102c965
mov ecx, dword [0x104a398]
mov edx, dword [0x104a39c]
mov eax, 0x80000000
and ecx, 4
and edx, eax
or ecx, edx
je 0x102c965
mov ecx, dword [0x104a3a0]
mov edi, dword [0x104a3a4]
mov edx, ecx
mov esi, edi
and edx, 4
and esi, eax
cmp edx, ecx
jne 0x102c965
cmp esi, edi
jne 0x102c965
lea eax, [ebp - 0x1b5c]
push eax
push dword [ebp - 0x36b8]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x102c998
push dword [0x104a134]
push dword [0x104a130]
call fcn.0102b2c1
jmp 0x102c965
cmp dword [0x104a3ac], eax
je 0x102c965
mov al, byte [0x104a3b0]
cmp al, 4
jae 0x102c90e
test al, al
jne 0x102c965
mov ecx, dword [0x104a398]
mov edx, dword [0x104a39c]
mov eax, 0x80000000
and ecx, 4
and edx, eax
or ecx, edx
je 0x102c965
mov ecx, dword [0x104a3a0]
mov edi, dword [0x104a3a4]
mov edx, ecx
mov esi, edi
and edx, 4
and esi, eax
cmp edx, ecx
jne 0x102c965
cmp esi, edi
jne 0x102c965
lea eax, [ebp - 0x1b5c]
push eax
push dword [ebp + 8]
push 0x102c978
push dword [0x104a134]
push dword [0x104a130]
call fcn.01026426
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.01002a8b
leave
ret 0x14