Function at 0x448820
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57feee
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x31c
push ebx
push ebp
mov ebp, dword [eax + 8]
push esi
push edi
call fcn.004d3720
mov esi, eax
lea edi, [esi + 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x2c]
test al, al
push edi
je 0x44886c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x448e26
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x1c]
mov ecx, ebp
shr ecx, 3
mov ebx, dword [edx + ecx*4]
xor ebx, dword [eax + ebp*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
jne 0x448f15
xor ebp, ebp
xor esi, esi
nop
mov ecx, dword [0x89e864]
push esi
push 0x186ac
add ecx, 0x80324
call fcn.005486f0
test eax, eax
je 0x4488b1
inc esi
cmp esi, 0x20
jl 0x448890
cmp esi, 0x20
jne 0x4488e1
push esi
lea ecx, [esp + 0x130]
push str.powerball
push ecx
call fcn.0056aefc
add esp, 0xc
lea edx, [esp + 0x12c]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
jmp 0x448e26
push 0x228
call fcn.0056ae19
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov dword [esp + 0x334], ebp
je 0x448906
push esi
push eax
call fcn.0049e6e0
mov ebp, eax
mov eax, dword [esp + 0x340]
mov dword [esp + 0x334], 0xffffffff
mov edx, dword [ebp + 0xc4]
push 1
lea ecx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], eax
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ecx, dword [ebp + 0x3c]
mov ebx, dword [esp + 0x344]
push 1
lea eax, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x20], bl
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
lea edi, [ebx + 1]
push edi
lea edx, [esp + 0xb0]
push str.powerball_d
push edx
mov byte [ebp + 0xe4], 1
mov dword [ebp + 0xe0], 0x2c
mov byte [ebp + 0xec], 1
call fcn.0056aefc
mov ebx, dword [0x89e864]
add esp, 0xc
lea eax, [esp + 0xac]
push eax
add ebx, 0x58058
call fcn.00403000
push 1
push 1
mov dword [ebp + 0x1c], eax
lea eax, [ebp + 0x104]
push str.flame_d_d
push eax
mov dword [ebp + 0x100], 0x1f40
call fcn.0056aefc
push 1
push 1
lea eax, [ebp + 0x184]
push str.dust_d_d
push eax
call fcn.0056aefc
mov ecx, dword [esp + 0x364]
push ecx
lea edx, [esp + 0x150]
push str.powerball_
push edx
call fcn.0056aefc
add esp, 0x2c
lea eax, [esp + 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov al, byte [esp + 0x348]
test al, al
push 1
je 0x448e41
mov edx, dword [ebp + 0x84]
lea ecx, [esp + 0x18]
push ecx
push edx
mov byte [esp + 0x20], 1
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ecx, dword [ebp + 0xcc]
push 1
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x24], 0x258
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov eax, dword [ebp + 0x7c]
push 1
lea edx, [esp + 0x1c]
push edx
push eax
mov dword [esp + 0x24], 0
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov edx, dword [ebp]
push str.drop
mov ecx, ebp
call dword [edx + 4]
push edi
lea eax, [esp + 0x30]
push str.powerball_d
push eax
call fcn.0056aefc
mov ebx, dword [0x89e864]
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
add ebx, 0x58058
call fcn.00403000
push 1
push 1
mov dword [ebp + 0x1c], eax
lea eax, [ebp + 0x104]
push str.flame_d_d
push eax
mov dword [ebp + 0x100], 0x1f40
call fcn.0056aefc
push 1
push 1
lea eax, [ebp + 0x184]
push str.dust_d_d
push eax
call fcn.0056aefc
mov edx, dword [0x89e864]
mov ebx, dword [edx + 0x27058]
add esp, 0x20
call fcn.004d3720
mov esi, eax
lea edi, [esi + 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x2c]
test al, al
push edi
je 0x448b17
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, 1
call edi
jmp 0x448b34
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x1c]
mov eax, ebx
shr eax, 3
mov esi, dword [ecx + eax*4]
xor esi, dword [edx + ebx*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x89e864]
mov ecx, dword [eax + 0x27050]
mov dword [esp + 0x10], ecx
call fcn.004d3720
mov ebx, eax
lea eax, [ebx + 0x30]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [ebx + 0x2c]
test al, al
je 0x448b69
mov dword [esp + 0x1c], 1
jmp 0x448b82
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 0x24]
mov ebx, dword [ebx + 0x1c]
mov ecx, eax
shr ecx, 3
mov ecx, dword [edx + ecx*4]
xor ecx, dword [ebx + eax*4]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x18]
push edx
call edi
push esi
call fcn.00548810
fimul dword [esp + 0x20]
add esp, 4
call fcn.0056e2cc
mov ecx, dword [ebp + 0xa4]
mov dword [esp + 0x10], eax
push 1
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov edx, dword [ebp + 0xa4]
mov dword [esp + 0x10], edx
call fcn.004d3720
mov esi, eax
lea ebx, [esi + 0x30]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x2c]
test al, al
push ebx
je 0x448be6
mov dword [esp + 0x20], 1
jmp 0x448bff
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x24]
mov esi, dword [esi + 0x1c]
mov eax, ecx
shr eax, 3
mov eax, dword [edx + eax*4]
xor eax, dword [esi + ecx*4]
mov dword [esp + 0x20], eax
call edi
mov eax, dword [0x5fc7b0]
mov dword [esp + 0x10], eax
call fcn.004d3720
mov esi, eax
lea ebx, [esi + 0x30]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x2c]
test al, al
push ebx
je 0x448c2a
mov esi, 1
jmp 0x448c47
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 0x24]
mov esi, dword [esi + 0x1c]
mov ecx, eax
shr ecx, 3
mov dword [esp + 0x14], esi
mov esi, dword [edx + ecx*4]
mov ecx, dword [esp + 0x14]
xor esi, dword [ecx + eax*4]
call edi
mov eax, dword [esp + 0x1c]
shl eax, 8
cdq
idiv esi
push 1
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xa4]
push eax
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov edx, dword [ebp + 0xac]
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], 0x62
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov eax, dword [0x89e864]
mov ecx, dword [eax + 0x27058]
mov dword [esp + 0x10], ecx
call fcn.004d3720
mov esi, eax
lea ebx, [esi + 0x30]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x2c]
test al, al
push ebx
je 0x448cc2
mov esi, 1
jmp 0x448cdf
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x24]
mov esi, dword [esi + 0x1c]
mov edx, eax
shr edx, 3
mov dword [esp + 0x14], esi
mov esi, dword [ecx + edx*4]
mov edx, dword [esp + 0x14]
xor esi, dword [edx + eax*4]
call edi
mov eax, dword [0x89e864]
mov ecx, dword [eax + 0x27050]
mov dword [esp + 0x10], ecx
call fcn.004d3720
mov ebx, eax
lea eax, [ebx + 0x30]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [ebx + 0x2c]
test al, al
je 0x448d16
mov dword [esp + 0x1c], 1
jmp 0x448d2f
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 0x24]
mov ebx, dword [ebx + 0x1c]
mov ecx, eax
shr ecx, 3
mov ecx, dword [edx + ecx*4]
xor ecx, dword [ebx + eax*4]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x18]
push edx
call edi
push esi
call fcn.005487f0
fimul dword [esp + 0x20]
add esp, 4
call fcn.0056e2cc
push eax
lea edi, [ebp + 0xa8]
call fcn.004180b0
mov ebx, dword [ebp + 0xac]
call fcn.004d3720
mov esi, eax
lea edi, [esi + 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x2c]
test al, al
push edi
je 0x448d7d
mov dword [esp + 0x20], 1
jmp 0x448d92
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x1c]
mov eax, ebx
shr eax, 3
mov eax, dword [ecx + eax*4]
xor eax, dword [edx + ebx*4]
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [0x5fc7b0]
call fcn.004d3720
mov esi, eax
lea edi, [esi + 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x2c]
test al, al
push edi
je 0x448dbe
mov esi, 1
jmp 0x448dcf
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x1c]
mov eax, ebx
shr eax, 3
mov esi, dword [ecx + eax*4]
xor esi, dword [edx + ebx*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x1c]
shl eax, 8
cdq
idiv esi
mov ecx, dword [ebp + 0xac]
push 1
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov al, byte [esp + 0x34c]
test al, al
je 0x448e0f
mov byte [ebp + 0x21c], 1
mov ecx, dword [0x89e864]
push ebp
add ecx, 0x80324
call fcn.00548590
mov eax, 1
mov ecx, dword [esp + 0x32c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x328
ret 0x14
mov eax, dword [ebp + 0x84]
lea edx, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x20], 0
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ecx, dword [esp + 0x340]
test ecx, ecx
mov edx, dword [0x89e864]
jl 0x448e9c
mov esi, dword [edx + 0x7fa98]
cmp ecx, esi
jge 0x448e9c
mov eax, dword [edx + 0x7fab4]
mov edx, dword [edx + 0x7fa9c]
add eax, ecx
xor ecx, ecx
test edx, edx
jle 0x448e9c
lea ecx, [ecx]
cmp byte [eax], 0
jne 0x448ea1
add eax, esi
inc ecx
cmp ecx, edx
jl 0x448e90
mov ecx, 0x2710
mov edx, dword [ebp + 0xcc]
mov dword [esp + 0x10], ecx
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ebx, dword [ebp + 0xcc]
call fcn.004d3720
mov esi, eax
lea edi, [esi + 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x2c]
test al, al
push edi
je 0x448ee9
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x448dfd
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x1c]
mov eax, ebx
shr eax, 3
mov esi, dword [ecx + eax*4]
xor esi, dword [edx + ebx*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, 0x2328
jle 0x448dfd
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax]
xor eax, eax
jmp 0x448e26