Function at 0x1002f108
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1005f2f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x28]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0xc], edx
mov word [eax], si
xor ebx, ebx
mov eax, dword [ebp + 0x30]
mov dword [ebp - 8], ebx
push edi
mov edi, dword [ebp + 0x1c]
mov byte [eax], bl
mov ebx, dword [ebp + 0x18]
mov eax, ebx
mov dword [ebp - 0x10], ecx
sub eax, esi
je 0x1002f187
sub eax, 1
je 0x1002f17e
sub eax, 1
je 0x1002f158
sub eax, 1
jne 0x1002f191
push edi
call fcn.100203e0
jmp 0x1002f18e
test edi, edi
js 0x1002f175
mov edi, 0x8007029c
push edi
push 2
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10030fa4
mov ecx, edi
call fcn.1002ffa0
jmp 0x1002f18e
mov ecx, edi
call fcn.1002ffb3
jmp 0x1002f18e
mov ecx, edi
call fcn.1002ff8d
mov dword [ebp - 8], eax
mov esi, dword [ebp + 0x38]
mov dword [esi], ebx
xor ebx, ebx
inc ebx
mov dword [esi + 4], edi
mov eax, ebx
lock xadd dword [0x100603d0], eax
inc eax
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x1002f1b8
xor ecx, ecx
cmp word [eax], cx
jne 0x1002f1ba
xor eax, eax
mov dword [esi + 0xc], eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentThreadId]
mov dword [esi + 0x10], eax
lea edi, [esi + 0x2c]
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x4c], eax
xor eax, eax
push 6
pop ecx
mov dword [esi + 0x28], edx
rep stosd dword es:[edi], eax
mov edi, dword [0x1005fc6c]
test edi, edi
je 0x1002f213
mov ecx, edi
call dword [0x100614f4]
call edi
mov edi, dword [0x1005fc70]
mov dword [esi + 0x44], eax
test edi, edi
je 0x1002f233
push 0x400
push dword [ebp + 0x30]
mov ecx, edi
push esi
call dword [0x100614f4]
call edi
mov edi, dword [0x10060520]
test edi, edi
je 0x1002f248
push esi
mov ecx, edi
call dword [0x100614f4]
call edi
xor eax, eax
cmp dword [esi + 4], eax
jl 0x1002f261
cmp dword [ebp + 0x18], 3
je 0x1002f25a
call fcn.10031faa
mov dword [esi + 4], 0x8000ffff
cmp byte [0x10060530], al
jne 0x1002f2a4
mov edi, dword [0x10060534]
cmp dword [0x10060524], eax
jne 0x1002f27b
test edi, edi
je 0x1002f2aa
mov ebx, dword [0x1006052c]
test ebx, ebx
je 0x1002f29b
mov ecx, ebx
call dword [0x100614f4]
call ebx
test al, al
jne 0x1002f29f
mov edi, dword [0x10060534]
xor eax, eax
mov bl, al
jmp 0x1002f2aa
xor ebx, ebx
inc ebx
xor eax, eax
mov edi, dword [0x10060534]
cmp byte [ebp + 0x24], 0
jne 0x1002f2cf
test bl, bl
jne 0x1002f2cf
test edi, edi
je 0x1002f314
cmp byte [0x10060528], bl
jne 0x1002f314
push eax
push eax
push esi
mov ecx, edi
call dword [0x100614f4]
call edi
jmp 0x1002f314
test edi, edi
je 0x1002f2ef
cmp byte [0x10060528], 0
jne 0x1002f2ef
push 0x800
push dword [ebp + 0x28]
mov ecx, edi
push esi
call dword [0x100614f4]
call edi
mov eax, dword [ebp + 0x28]
xor ecx, ecx
cmp word [eax], cx
jne 0x1002f309
push esi
mov edx, 0x800
mov ecx, eax
call fcn.1002e249
mov eax, dword [ebp + 0x28]
test bl, bl
je 0x1002f314
push eax
call dword [sym.imp.api_ms_win_core_debug_l1_1_1.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10021250
mov esp, ebp
pop ebp
ret 0x34