Function at 0x102b205
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x36b8
call fcn.0100a514
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.0102556d
test eax, eax
jl 0x102b562
cmp dword [ebp + 0xc], 0xffffffff
push ebx
jne 0x102b25b
test edi, edi
jne 0x102b25b
xor bl, bl
jmp 0x102b25d
mov bl, 1
cmp byte [0x104bb88], 0
je 0x102b342
cmp dword [ebp + 8], 0
jl 0x102b2d0
test bl, bl
je 0x102b2ab
mov eax, edi
test edi, edi
jne 0x102b27f
mov eax, 0x10045e4
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x1b5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x102b62c
lea eax, [ebp - 0x36b4]
push esi
push eax
call fcn.0100a5fc
add esp, 0x1c
jmp 0x102b331
lea eax, [ebp - 0x1b5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x102b61c
lea eax, [ebp - 0x36b4]
push esi
push eax
call fcn.0100a5fc
add esp, 0x14
jmp 0x102b331
test bl, bl
je 0x102b30b
mov eax, edi
test edi, edi
jne 0x102b2df
mov eax, 0x10045e4
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 0x102b5d8
lea eax, [ebp - 0x36b4]
push esi
push eax
call fcn.0100a5fc
add esp, 0x20
jmp 0x102b331
lea eax, [ebp - 0x1b5c]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x102b5a8
lea eax, [ebp - 0x36b4]
push esi
push eax
call fcn.0100a5fc
add esp, 0x18
test eax, eax
jl 0x102b342
lea eax, [ebp - 0x36b4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
cmp dword [ebp + 8], eax
jl 0x102b462
test bl, bl
je 0x102b3e0
cmp dword [0x104a36c], eax
je 0x102b561
mov al, byte [0x104a370]
cmp al, 4
jae 0x102b372
test al, al
jne 0x102b561
mov ecx, dword [0x104a358]
mov edx, dword [0x104a35c]
mov eax, 0x80000000
and ecx, 4
and edx, eax
or ecx, edx
je 0x102b561
mov ecx, dword [0x104a360]
mov edi, dword [0x104a364]
mov edx, ecx
mov esi, edi
and edx, 4
and esi, eax
cmp edx, ecx
jne 0x102b561
cmp esi, edi
jne 0x102b561
lea eax, [ebp - 0x1b5c]
push eax
push dword [ebp - 0x36b8]
push dword [ebp + 0xc]
push 0x102b588
push dword [0x104a2d4]
push dword [0x104a2d0]
call fcn.01029ec8
jmp 0x102b561
cmp dword [0x104a36c], eax
je 0x102b561
mov al, byte [0x104a370]
cmp al, 4
jae 0x102b3fd
test al, al
jne 0x102b561
mov ecx, dword [0x104a358]
mov edx, dword [0x104a35c]
mov eax, 0x80000000
and ecx, 4
and edx, eax
or ecx, edx
je 0x102b561
mov ecx, dword [0x104a360]
mov edi, dword [0x104a364]
mov edx, ecx
mov esi, edi
and edx, 4
and esi, eax
cmp edx, ecx
jne 0x102b561
cmp esi, edi
jne 0x102b561
lea eax, [ebp - 0x1b5c]
push eax
push 0x1020ca0
push dword [0x104a2d4]
push dword [0x104a2d0]
call fcn.01024e8c
jmp 0x102b561
test bl, bl
je 0x102b4f5
cmp dword [0x104a36c], eax
je 0x102b561
mov al, byte [0x104a370]
cmp al, 4
jae 0x102b487
test al, al
jne 0x102b561
mov ecx, dword [0x104a358]
mov edx, dword [0x104a35c]
mov eax, 0x80000000
and ecx, 4
and edx, eax
or ecx, edx
je 0x102b561
mov ecx, dword [0x104a360]
mov edi, dword [0x104a364]
mov edx, ecx
mov esi, edi
and edx, 4
and esi, eax
cmp edx, ecx
jne 0x102b561
cmp esi, edi
jne 0x102b561
lea eax, [ebp - 0x1b5c]
push eax
push dword [ebp - 0x36b8]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x102b598
push dword [0x104a2d4]
push dword [0x104a2d0]
call fcn.01029e0a
jmp 0x102b561
cmp dword [0x104a36c], eax
je 0x102b561
mov al, byte [0x104a370]
cmp al, 4
jae 0x102b50a
test al, al
jne 0x102b561
mov ecx, dword [0x104a358]
mov edx, dword [0x104a35c]
mov eax, 0x80000000
and ecx, 4
and edx, eax
or ecx, edx
je 0x102b561
mov ecx, dword [0x104a360]
mov edi, dword [0x104a364]
mov edx, ecx
mov esi, edi
and edx, 4
and esi, eax
cmp edx, ecx
jne 0x102b561
cmp esi, edi
jne 0x102b561
lea eax, [ebp - 0x1b5c]
push eax
push dword [ebp + 8]
push 0x102b578
push dword [0x104a2d4]
push dword [0x104a2d0]
call fcn.01024eee
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.01002376
leave
ret 0x14