Function at 0x10007650
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017f3c8
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x101f7210]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movdqu xmmword [ebp - 0x24], xmm0
push 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.1002fb05
add esp, 4
test eax, eax
jne 0x100076c2
call fcn.1016d364
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x24]
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x24]
mov dword [eax], ecx
push 0x10203b8c
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10203b80], 0
je 0x1000770c
push 0x10203b70
lea ecx, [ebp - 0x24]
call fcn.10013030
mov ecx, 0x10203b70
call fcn.100144a0
mov eax, dword [0x10203b84]
mov ecx, 0x10203b84
call dword [eax + 0x14]
mov edi, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x94], eax
test edi, edi
jle 0x10007a50
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x24]
call fcn.10014950
mov ecx, eax
call fcn.100158d0
mov esi, dword [eax]
test esi, esi
je 0x10007758
mov esi, dword [esi]
mov edx, dword [eax + 8]
mov ecx, edx
mov eax, dword [esi + 8]
and edx, 1
dec eax
shr ecx, 1
and ecx, eax
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x90]
add ecx, dword [eax + edx*8 + 4]
mov eax, dword [ebp - 0x94]
inc eax
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x94], eax
cmp eax, edi
jl 0x10007732
test ecx, ecx
je 0x10007a4e
lea eax, [ecx + 1]
push eax
mov dword [ebp - 0xa0], eax
call fcn.1014dd53
add esp, 4
mov dword [ebp - 0xa4], eax
test eax, eax
jne 0x1000785f
mov dword [ebp - 0x90], eax
lea ecx, [ecx]
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x24]
call fcn.10014950
mov ecx, eax
call fcn.100158d0
mov esi, dword [eax]
test esi, esi
je 0x100077e6
mov esi, dword [esi]
mov edx, dword [eax + 8]
mov ecx, edx
mov eax, dword [esi + 8]
and edx, 1
dec eax
shr ecx, 1
and ecx, eax
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
push dword [eax + edx*8]
call fcn.1014dde5
mov eax, dword [ebp - 0x90]
add esp, 4
inc eax
mov dword [ebp - 0x90], eax
cmp eax, edi
jl 0x100077c0
push dword [ebp - 0xa0]
lea eax, [ebp - 0x88]
push str.CDebugLog::FlushLogToFile_malloc_size___d_failed
push eax
push 0x10203748
call fcn.10010fa0
add esp, 0x10
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x74], 8
cmovae eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x88]
call fcn.100024d0
jmp 0x10007a4b
xor esi, esi
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x9c], esi
push esi
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x24]
call fcn.10014950
mov ecx, eax
call fcn.100158d0
mov edx, eax
mov ecx, dword [edx]
test ecx, ecx
jne 0x1000789b
xor eax, eax
jmp 0x1000789d
mov eax, dword [ecx]
mov edx, dword [edx + 8]
mov ecx, edx
mov dword [ebp - 0x8c], eax
and edx, 1
mov eax, dword [eax + 8]
dec eax
shr ecx, 1
and ecx, eax
mov eax, dword [ebp - 0x8c]
push esi
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0x24]
lea eax, [eax + edx*8]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.10014950
mov ecx, eax
call fcn.100158d0
mov edx, eax
mov eax, dword [edx]
test eax, eax
je 0x100078f0
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov edx, dword [edx + 8]
dec ecx
mov esi, dword [ebp - 0x98]
mov dword [ebp - 0x8c], eax
mov eax, edx
shr eax, 1
and edx, 1
and ecx, eax
mov eax, dword [ebp - 0x8c]
mov esi, dword [esi + 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0xa0]
mov eax, dword [eax + edx*8]
mov edx, dword [ebp - 0x94]
sub ecx, edx
add edx, dword [ebp - 0xa4]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x98], edx
cmp esi, 0xffffffff
jne 0x1000795d
mov esi, eax
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10007948
mov eax, dword [ebp - 0x8c]
sub esi, edx
mov edx, dword [ebp - 0x98]
cmp esi, ecx
jb 0x10007964
lea esi, [ecx - 1]
push esi
push eax
push ecx
push edx
call fcn.1014cad7
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x24]
add esp, 0x10
mov byte [esi + eax], 0
lea eax, [ebp - 0xec]
push dword [ebp - 0x9c]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.10014950
mov ecx, eax
call fcn.100158d0
mov esi, dword [eax]
test esi, esi
je 0x100079a5
mov esi, dword [esi]
mov edx, dword [eax + 8]
mov eax, edx
mov ecx, dword [esi + 8]
and edx, 1
push dword [ebp - 0x9c]
shr eax, 1
dec ecx
and ecx, eax
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x94]
add ecx, dword [eax + edx*8 + 4]
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xd4]
mov dword [ebp - 0x94], ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.10014950
mov ecx, eax
call fcn.100158d0
mov esi, dword [eax]
test esi, esi
je 0x100079f6
mov esi, dword [esi]
mov edx, dword [eax + 8]
mov eax, edx
mov ecx, dword [esi + 8]
and edx, 1
shr eax, 1
dec ecx
and ecx, eax
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
push dword [eax + edx*8]
call fcn.1014dde5
mov esi, dword [ebp - 0x9c]
add esp, 4
inc esi
mov dword [ebp - 0x9c], esi
cmp esi, edi
jl 0x10007871
mov eax, dword [ebp - 0x90]
mov esi, dword [ebp - 0xa4]
push eax
push esi
push 0
push ecx
call fcn.10007d60
push esi
call fcn.1014dde5
add esp, 4
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x10007a68
mov eax, dword [ebp - 0x18]
dec edi
mov ecx, 0
cmove eax, ecx
test edi, edi
jne 0x10007a55
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
test esi, esi
je 0x10007a8b
mov ecx, dword [eax + esi*4 - 4]
dec esi
test ecx, ecx
je 0x10007a87
push ecx
call fcn.1002fb32
mov eax, dword [ebp - 0x20]
add esp, 4
test esi, esi
jne 0x10007a72
test eax, eax
je 0x10007a98
push eax
call fcn.1002fb32
add esp, 4
push dword [ebp - 0x24]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
call fcn.1002fb32
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014aad2
mov esp, ebp
pop ebp
ret