Function at 0x10037a90
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010eb8d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10163164]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [ecx + 0x14], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
je 0x10037ca5
lea edi, [ecx + 0x18]
lea esi, [edi + 0x1c]
mov dword [ebp - 0x30], edi
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
and edi, 0xffff0000
cmp edi, 0x30000
je 0x10037ca5
push 0x70
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 2
call fcn.100b887b
mov edi, eax
lea edx, [ebp - 0x38]
xorps xmm0, xmm0
mov dword [ebp - 0x40], edi
lea eax, [ebp - 0x34]
push eax
movq qword [edi], xmm0
lea esi, [edi + 0x10]
mov dword [edi + 8], 0
mov ecx, esi
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj2_class_GameScene::PacketMsg_.0
call fcn.10038b50
add esp, 8
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], edi
mov dword [ebp - 4], 0
test esi, esi
je 0x10037c25
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x10], 2
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movups xmm2, xmmword [eax + 0x20]
movq xmm3, qword [eax + 0x30]
mov eax, dword [eax + 0x38]
movups xmmword [esi + 0x14], xmm0
movups xmmword [esi + 0x24], xmm1
movups xmmword [esi + 0x34], xmm2
movq qword [esi + 0x44], xmm3
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], ecx
add esi, 0x54
mov eax, dword [esi + 4]
mov edx, eax
sub edx, dword [esi]
mov dword [ebp - 0x2c], eax
cmp ecx, edx
jae 0x10037baf
mov eax, dword [esi]
add eax, ecx
jmp 0x10037be5
jbe 0x10037be8
mov eax, dword [esi + 8]
sub eax, dword [esi]
cmp ecx, eax
jbe 0x10037bc8
push ecx
push ecx
mov ecx, esi
call fcn.10025470
mov ecx, dword [ebp + 0x10]
jmp 0x10037be8
mov esi, ecx
sub esi, edx
push esi
push 0
push dword [ebp - 0x2c]
call fcn.100c2fd0
mov eax, dword [ebp - 0x2c]
add esp, 0xc
mov ecx, dword [ebp + 0x10]
add eax, esi
lea esi, [edi + 0x64]
mov dword [esi + 4], eax
push ecx
push dword [ebp - 0x3c]
push dword [esi]
call fcn.100c29f0
add esp, 4
lea ecx, [edi + 4]
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
lock inc dword [ecx]
push 0x10163ad8
lea ecx, [edi + 0x10]
mov dword [eax + 4], edi
push 0
mov dword [eax], ecx
push ecx
mov ecx, dword [ebp - 0x30]
call fcn.10032410
jmp 0x10037c80
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
lea eax, [edx + 0x20]
add edx, 4
push eax
push 0x39
push str._NFSDK__2_SceneManager::LinkCreate_memory_error______n
call fcn.100384f0
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x10037c49
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x10037c80
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10037c76
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10037cc2
push ecx
push edx
call fcn.100b88b0
add esp, 8
or esi, 0xffffffff
lea ecx, [edi + 4]
mov eax, esi
lock xadd dword [ecx], eax
jne 0x10037ca5
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea eax, [edi + 8]
lock xadd dword [eax], esi
dec esi
jne 0x10037ca5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 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.100b8868
mov esp, ebp
pop ebp
ret 0xc
call fcn.100c9aa4
int3