Function at 0x453e90
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x653440
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x6af168]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
add dword [ebx + 0x58], 1
mov eax, dword [ebx + 0x58]
mov dword [0x6b9cb0], eax
cmp dword [ebx + 0xb4], 0
mov dword [0x6b9cb4], ebx
je 0x453ee4
push ebx
mov eax, 1
call fcn.00452750
mov eax, dword [ebx + 0x10]
mov esi, dword [eax]
lea edi, [ebx + 0xc]
lea esp, [esp]
test edi, edi
mov ecx, dword [ebx + 0x10]
lea eax, [ebx + 0xc]
mov dword [ebp - 0x38], ecx
je 0x453f01
cmp edi, eax
je 0x453f06
call fcn.0062492b
cmp esi, dword [ebp - 0x38]
je 0x453f75
test edi, edi
jne 0x453f14
call fcn.0062492b
cmp esi, dword [edi + 4]
jne 0x453f1e
call fcn.0062492b
mov ecx, dword [esi + 8]
cmp dword [ecx + 0x10], 2
jne 0x453f5d
cmp byte [ecx + 0x204], 3
jne 0x453f5d
cmp esi, dword [edi + 4]
jne 0x453f3a
call fcn.0062492b
mov edx, dword [esi + 8]
mov eax, dword [ebx + 8]
push edx
push eax
call fcn.00458e10
push esi
push edi
lea ecx, [ebp - 0x54]
push ecx
lea eax, [ebx + 0xc]
push eax
call fcn.004413a0
mov edi, dword [eax]
mov esi, dword [eax + 4]
jmp 0x453ef0
mov edx, dword [ecx]
mov eax, dword [edx + 0x58]
call eax
cmp esi, dword [edi + 4]
jne 0x453f6e
call fcn.0062492b
mov esi, dword [esi]
jmp 0x453ef0
mov eax, dword [ebx + 8]
call fcn.00459310
mov eax, dword [ebx + 0x34]
mov edi, dword [eax]
lea esi, [ebx + 0x30]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], edi
jmp 0x453f90
test esi, esi
mov ecx, dword [ebx + 0x34]
lea eax, [ebx + 0x30]
mov dword [ebp - 0x40], ecx
je 0x453fa1
cmp esi, eax
je 0x453fa6
call fcn.0062492b
cmp edi, dword [ebp - 0x40]
je 0x4543dd
test esi, esi
jne 0x453fb8
call fcn.0062492b
cmp edi, dword [esi + 4]
jne 0x453fc2
call fcn.0062492b
cmp dword [ebx + 0x74], 0
mov edx, dword [edi + 8]
mov dword [ebp - 0x14], edx
jne 0x454381
mov eax, dword [ebp + 8]
cmp byte [eax + 0x6e], 0
je 0x454381
mov ecx, edx
cmp dword [ecx + 0x1e8], 0
jle 0x454381
cmp dword [edx + 0x1f4], 0xffffffff
jne 0x454381
mov eax, dword [edx + 0x1b4]
mov ebx, dword [ebp + 8]
lea esi, [ebx + 0x78]
mov dword [edx + 0x1f4], eax
mov eax, dword [esi + 4]
test eax, eax
mov dword [ebp - 0x18], 0xffffffff
jne 0x45401f
xor edi, edi
jmp 0x454027
mov edi, dword [esi + 8]
sub edi, eax
sar edi, 2
add edi, 0xffffffff
js 0x454071
lea esp, [esp]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x454043
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x45404b
call fcn.0062492b
mov edx, dword [ebp - 0x14]
mov ecx, dword [esi + 4]
mov eax, dword [ecx + edi*4]
mov ecx, dword [edx + 0x1f4]
cmp ecx, dword [eax + 0x1f4]
jl 0x454067
mov dword [ebp - 0x18], edi
sub edi, 1
jns 0x454030
cmp dword [ebp - 0x18], 0xffffffff
jne 0x454119
mov eax, dword [esi + 4]
test eax, eax
je 0x454119
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 2
je 0x454119
mov edi, dword [ebx + 0x38]
mov eax, esi
call fcn.00442d20
mov eax, dword [eax]
mov ecx, dword [eax + 0x1f4]
mov esi, dword [ebp - 0x14]
mov edx, dword [esi + 0x1b4]
push edi
push ecx
push edx
lea eax, [ebp - 0x88]
push str._stop_checking_ball___d_vs__d____d_balls_remaining_n
push eax
call fcn.004e7a20
mov edi, 0x10
add esp, 0x14
cmp dword [eax + 0x18], edi
jb 0x4540cb
mov eax, dword [eax + 4]
jmp 0x4540ce
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x70], edi
jb 0x4540e9
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.0062493b
add esp, 4
mov edx, dword [ebx + 8]
push esi
push edx
call fcn.00458e10
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
push eax
push ecx
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebx + 0x30]
push eax
mov byte [esi + 0x204], 3
call fcn.004413a0
mov esi, dword [eax]
mov edi, dword [eax + 4]
jmp 0x453f85
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x45412d
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp eax, 0xc
jg 0x454188
mov ebx, dword [ebp - 0x14]
lea edi, [ebx + 4]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0
mov ebx, dword [esi + 4]
cmp ebx, dword [esi + 8]
jbe 0x454151
call fcn.0062492b
push ebx
push esi
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x64]
push ecx
mov eax, esi
call fcn.004a9aa0
push edi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x454381
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
jmp 0x454381
mov eax, esi
call fcn.00442d20
cmp dword [eax], 0
je 0x454253
mov eax, esi
call fcn.00442d20
mov edi, dword [eax]
test edi, edi
je 0x4541b1
lea ecx, [edi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4541b3
xor edi, edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], 1
mov edx, dword [ebx + 8]
push edi
push edx
call fcn.00458e10
lea eax, [ebx + 0x30]
mov byte [edi + 0x204], 3
mov ecx, dword [eax + 4]
mov dword [ebp - 0x48], ecx
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], ecx
cmp ecx, edx
je 0x4541f2
cmp dword [ecx + 8], edi
je 0x4541f2
mov ecx, dword [ecx]
jmp 0x4541e5
add ebx, 0x30
cmp ebx, eax
mov dword [ebp - 0x30], ecx
je 0x454204
call fcn.0062492b
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x3c]
test eax, eax
mov edx, dword [ebx + 4]
mov dword [ebp - 0x50], edx
je 0x454215
cmp eax, ebx
je 0x45421d
call fcn.0062492b
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x50]
je 0x454234
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3c]
push eax
push ecx
lea edx, [ebp - 0x6c]
push edx
push ebx
call fcn.004413a0
lea eax, [edi + 4]
push eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x454253
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x45425e
xor eax, eax
jmp 0x454266
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
add eax, 0xffffffff
cmp eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
jle 0x454328
mov ecx, eax
add ecx, 0xffffffff
mov dword [ebp - 0x20], ecx
lea ecx, [ecx]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x454294
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp dword [ebp - 0x20], eax
jb 0x454299
call fcn.0062492b
mov edx, dword [ebp - 0x1c]
mov eax, dword [esi + 4]
lea edi, [edx*4]
lea ecx, [edi + eax - 4]
mov dword [ebp - 0x24], ecx
mov ecx, eax
test ecx, ecx
je 0x4542bf
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edx, eax
jb 0x4542c4
call fcn.0062492b
mov ebx, dword [esi + 4]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
add ebx, edi
mov edi, dword [ebx]
cmp edi, eax
mov dword [ebp - 0x24], eax
je 0x454312
test edi, edi
je 0x4542f7
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4542f7
test edi, edi
je 0x4542f7
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
cmp dword [ebp - 0x24], 0
je 0x45430e
mov edi, dword [ebp - 0x24]
lea ecx, [edi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, edi
jmp 0x454310
xor eax, eax
mov dword [ebx], eax
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 0x20], 1
sub eax, 1
cmp eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
jg 0x454280
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x45433c
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp dword [ebp - 0x18], eax
jb 0x454341
call fcn.0062492b
mov edx, dword [esi + 4]
mov eax, dword [ebp - 0x18]
mov esi, dword [edx + eax*4]
cmp esi, dword [ebp - 0x14]
lea edi, [edx + eax*4]
je 0x454381
test esi, esi
je 0x454372
lea ecx, [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x454372
test esi, esi
je 0x454372
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov esi, dword [ebp - 0x14]
lea ecx, [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [edi], esi
mov ecx, dword [ebp - 0x14]
mov al, byte [ecx + 0x204]
test al, al
jne 0x45439d
cmp byte [ecx + 0x141], al
jne 0x4543b8
call fcn.00495060
jmp 0x4543b8
cmp al, 1
jne 0x4543b8
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
mov eax, dword [edx + 8]
push esi
push eax
call fcn.00458e10
mov byte [esi + 0x204], 2
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
cmp edx, dword [ecx + 4]
jne 0x4543c8
call fcn.0062492b
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov esi, dword [ebp - 0x2c]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
mov edi, ecx
jmp 0x453f90
mov ebx, dword [ebx + 8]
mov esi, dword [ebx + 0x4c]
add ebx, 0x48
cmp esi, dword [ebx + 8]
jbe 0x4543f0
call fcn.0062492b
mov edi, dword [ebx + 8]
cmp dword [ebx + 4], edi
jbe 0x4543fd
call fcn.0062492b
cmp esi, edi
je 0x454424
cmp esi, dword [ebx + 8]
jb 0x45440b
call fcn.0062492b
mov edx, dword [esi + 4]
mov ecx, dword [esi]
call fcn.00453e80
cmp esi, dword [ebx + 8]
jb 0x45441f
call fcn.0062492b
add esi, 8
jmp 0x4543f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4