Function at 0x4481a0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5737a4
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x29c
push ebp
mov ebp, dword [eax + 8]
push esi
push edi
call fcn.004cee70
mov esi, eax
lea edi, [esi + 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [esi + 0x2c]
test al, al
je 0x4481e9
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x448cf8
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x1c]
push ebx
mov ecx, ebp
shr ecx, 3
mov ebx, dword [edx + ecx*4]
mov edx, dword [eax + ebp*4]
push edi
xor ebx, edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
jne 0x448cf7
xor ebp, ebp
xor esi, esi
mov ecx, dword [0x8927a4]
push esi
push 0x186ac
add ecx, 0x80214
call fcn.0053bdc0
test eax, eax
je 0x448231
inc esi
cmp esi, 0x20
jl 0x448210
push esi
lea ecx, [esp + 0xb0]
push str.powerball
push ecx
call fcn.0055e68c
add esp, 0xc
lea edx, [esp + 0xac]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x214
call fcn.0055e5a9
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov dword [esp + 0x2b4], ebp
je 0x44827a
push esi
push eax
call fcn.0049a4b0
mov ebp, eax
mov edi, dword [esp + 0x2c0]
or esi, 0xffffffff
mov dword [esp + 0x2b4], esi
test byte [0x922440], 1
mov dword [esp + 0x14], edi
jne 0x4482d0
mov ebx, dword [0x922440]
mov eax, 1
or ebx, eax
mov dword [0x922440], ebx
push 0x9223f8
mov dword [esp + 0x2b8], eax
call fcn.004ceae0
push 0x57cea0
call fcn.0055e9d1
add esp, 4
mov dword [esp + 0x2b4], esi
mov ecx, dword [ebp + 0xc4]
push 1
lea eax, [esp + 0x18]
push eax
push ecx
mov esi, 0x9223f8
call fcn.0040adb0
test byte [0x922440], 1
mov ebx, dword [esp + 0x2c4]
mov dword [esp + 0x14], ebx
jne 0x448330
or dword [0x922440], 1
push 0x9223f8
mov dword [esp + 0x2b8], 2
call fcn.004ceae0
push 0x57cea0
call fcn.0055e9d1
add esp, 4
mov dword [esp + 0x2b4], 0xffffffff
mov eax, dword [ebp + 0xcc]
push 1
lea edx, [esp + 0x18]
push edx
push eax
mov esi, 0x9223f8
call fcn.0040adb0
mov al, byte [0x922440]
shl edi, 8
test al, 1
mov dword [esp + 0x14], edi
jne 0x44838d
or dword [0x922440], 1
push 0x9223f8
mov dword [esp + 0x2b8], 3
call fcn.004ceae0
push 0x57cea0
call fcn.0055e9d1
add esp, 4
or edi, 0xffffffff
mov dword [esp + 0x2b4], edi
jmp 0x448390
or edi, 0xffffffff
mov edx, dword [ebp + 0x4c]
push 1
lea ecx, [esp + 0x18]
push ecx
push edx
mov esi, 0x9223f8
call fcn.0040adb0
mov al, byte [0x922440]
shl ebx, 8
test al, 1
mov dword [esp + 0x14], ebx
jne 0x4483e5
or dword [0x922440], 1
push 0x9223f8
mov dword [esp + 0x2b8], 4
call fcn.004ceae0
push 0x57cea0
call fcn.0055e9d1
add esp, 4
mov dword [esp + 0x2b4], edi
mov ecx, dword [ebp + 0x54]
push 1
lea eax, [esp + 0x18]
push eax
push ecx
mov esi, 0x9223f8
call fcn.0040adb0
test byte [0x922440], 1
mov ebx, dword [esp + 0x2d0]
mov byte [esp + 0x18], bl
jne 0x44843e
or dword [0x922440], 1
push 0x9223f8
mov dword [esp + 0x2b8], 5
call fcn.004ceae0
push 0x57cea0
call fcn.0055e9d1
add esp, 4
mov dword [esp + 0x2b4], edi
mov eax, dword [ebp + 0x3c]
push 1
lea edx, [esp + 0x1c]
push edx
push eax
mov esi, 0x9223f8
call fcn.0040adb0
mov ecx, dword [esp + 0x2c8]
inc ebx
push ebx
lea edx, [esp + 0x30]
push str.powerball_d
push edx
mov dword [ebp + 0xd0], ecx
mov byte [ebp + 0xe0], 0
call fcn.0055e68c
mov esi, dword [0x8927a4]
mov eax, dword [esi + 0x57f48]
add esi, 0x57f48
add esp, 0xc
xor edi, edi
test eax, eax
jle 0x4484b9
lea ebx, [esi + 4]
lea eax, [esp + 0x2c]
push ebx
push eax
call fcn.005654a6
add esp, 8
test eax, eax
je 0x448583
mov eax, dword [esi]
inc edi
add ebx, 0x80
cmp edi, eax
jl 0x448496
xor esi, esi
mov dword [ebp + 0x1c], esi
mov esi, 1
push esi
push esi
lea edx, [ebp + 0xf8]
push str.flame_d_d
push edx
mov dword [ebp + 0xf4], 0x1f40
call fcn.0055e68c
push esi
push esi
lea eax, [ebp + 0x178]
push str.dust_d_d
push eax
call fcn.0055e68c
mov ecx, dword [esp + 0x2f0]
push ecx
lea edx, [esp + 0xd0]
push str.powerball_
push edx
call fcn.0055e68c
add esp, 0x2c
lea eax, [esp + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test byte [0x922440], 1
jne 0x44855a
or dword [0x922440], esi
push 0x9223f8
mov dword [esp + 0x2b8], 6
call fcn.004ceae0
push 0x57cea0
call fcn.0055e9d1
add esp, 4
mov dword [esp + 0x2b4], 0xffffffff
mov edi, dword [0x5f0778]
push 0x922428
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [0x922424]
test al, al
push 0x922428
je 0x448592
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call ebx
jmp 0x4485b4
lea ecx, [edi + edi*2]
lea esi, [esi + ecx*8 + 0x20004]
jmp 0x4484bb
mov edx, dword [0x92241c]
mov eax, dword [0x922414]
mov ecx, edi
shr ecx, 3
mov esi, dword [edx + ecx*4]
xor esi, dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
fild dword [esp + 0x2cc]
mov ecx, dword [esp + 0x2c8]
push ecx
fstp dword [esp + 0x18]
call fcn.0053bee0
fmul dword [esp + 0x18]
add esp, 4
fmul dword [0x598dcc]
call fcn.00561a5c
cdq
idiv esi
mov dword [esp + 0x10], eax
test byte [0x922440], 1
jne 0x448622
or dword [0x922440], 1
push 0x9223f8
mov dword [esp + 0x2b8], 7
call fcn.004ceae0
push 0x57cea0
call fcn.0055e9d1
add esp, 4
mov dword [esp + 0x2b4], 0xffffffff
mov eax, dword [ebp + 0xb4]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov esi, 0x9223f8
call fcn.0040adb0
test byte [0x922440], 1
jne 0x448677
or dword [0x922440], 1
push 0x9223f8
mov dword [esp + 0x2b8], 8
call fcn.004ceae0
push 0x57cea0
call fcn.0055e9d1
add esp, 4
mov dword [esp + 0x2b4], 0xffffffff
mov edi, dword [0x5f0778]
push 0x922428
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [0x922424]
test al, al
push 0x922428
je 0x44869d
mov esi, 1
jmp 0x4486b3
mov edx, dword [0x92241c]
mov eax, dword [0x922414]
mov ecx, edi
shr ecx, 3
mov esi, dword [edx + ecx*4]
xor esi, dword [eax + edi*4]
call ebx
mov ecx, dword [esp + 0x2c8]
push ecx
call fcn.0053bec0
fmul dword [esp + 0x18]
add esp, 4
fmul dword [0x598dc8]
call fcn.00561a5c
cdq
idiv esi
mov dword [esp + 0x10], eax
test byte [0x922440], 1
jne 0x448719
or dword [0x922440], 1
push 0x9223f8
mov dword [esp + 0x2b8], 9
call fcn.004ceae0
push 0x57cea0
call fcn.0055e9d1
add esp, 4
or edi, 0xffffffff
mov dword [esp + 0x2b4], edi
jmp 0x44871c
or edi, 0xffffffff
mov eax, dword [ebp + 0xbc]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov esi, 0x9223f8
call fcn.0040adb0
mov esi, dword [0x8927a4]
mov al, byte [0x922440]
add esi, 0x26fd4
test al, 1
jne 0x448779
or dword [0x922440], 1
push 0x9223f8
mov dword [esp + 0x2b8], 0xa
call fcn.004ceae0
push 0x57cea0
call fcn.0055e9d1
add esp, 4
mov dword [esp + 0x2b4], edi
mov esi, dword [esi + 4]
push 0x922428
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [0x922424]
test al, al
push 0x922428
je 0x44879f
mov dword [esp + 0x20], 1
jmp 0x4487ba
mov edx, dword [0x92241c]
mov ecx, esi
shr ecx, 3
mov eax, dword [edx + ecx*4]
mov ecx, dword [0x922414]
xor eax, dword [ecx + esi*4]
mov dword [esp + 0x20], eax
call ebx
mov edx, dword [esp + 0x2c8]
push edx
call fcn.0053bee0
mov eax, 0x10624dd3
imul dword [esp + 0x2d0]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x14], eax
add esp, 4
fimul dword [esp + 0x10]
fimul dword [esp + 0x1c]
call fcn.00561a5c
mov dword [esp + 0x10], eax
test byte [0x922440], 1
jne 0x448830
or dword [0x922440], 1
push 0x9223f8
mov dword [esp + 0x2b8], 0xb
call fcn.004ceae0
push 0x57cea0
call fcn.0055e9d1
add esp, 4
mov dword [esp + 0x2b4], edi
mov edx, dword [ebp + 0xa4]
push 1
lea ecx, [esp + 0x14]
push ecx
push edx
mov esi, 0x9223f8
call fcn.0040adb0
test byte [0x922440], 1
jne 0x448881
or dword [0x922440], 1
push 0x9223f8
mov dword [esp + 0x2b8], 0xc
call fcn.004ceae0
push 0x57cea0
call fcn.0055e9d1
add esp, 4
mov dword [esp + 0x2b4], edi
mov esi, dword [ebp + 0xa4]
push 0x922428
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [0x922424]
test al, al
push 0x922428
je 0x4488a7
mov ebx, 1
jmp 0x4488be
mov ecx, dword [0x92241c]
mov edx, dword [0x922414]
mov eax, esi
shr eax, 3
mov ebx, dword [ecx + eax*4]
xor ebx, dword [edx + esi*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test byte [0x922440], 1
jne 0x448901
or dword [0x922440], 1
push 0x9223f8
mov dword [esp + 0x2b8], 0xd
call fcn.004ceae0
push 0x57cea0
call fcn.0055e9d1
add esp, 4
mov dword [esp + 0x2b4], 0xffffffff
mov edi, dword [0x5f0778]
push 0x922428
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [0x922424]
test al, al
push 0x922428
je 0x448927
mov esi, 1
jmp 0x44893e
mov ecx, dword [0x92241c]
mov edx, dword [0x922414]
mov eax, edi
shr eax, 3
mov esi, dword [ecx + eax*4]
xor esi, dword [edx + edi*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
shl eax, 8
cdq
idiv esi
mov ebx, 1
mov dword [esp + 0x10], eax
test byte [0x922440], bl
jne 0x448991
or dword [0x922440], ebx
push 0x9223f8
mov dword [esp + 0x2b8], 0xe
call fcn.004ceae0
push 0x57cea0
call fcn.0055e9d1
add esp, 4
or edi, 0xffffffff
mov dword [esp + 0x2b4], edi
jmp 0x448994
or edi, 0xffffffff
mov ecx, dword [ebp + 0xa4]
push ebx
lea eax, [esp + 0x14]
push eax
push ecx
mov esi, 0x9223f8
call fcn.0040adb0
test byte [0x922440], 1
mov edx, dword [esp + 0x2d4]
mov dword [esp + 0x10], edx
jne 0x4489ee
or dword [0x922440], ebx
push 0x9223f8
mov dword [esp + 0x2b8], 0xf
call fcn.004ceae0
push 0x57cea0
call fcn.0055e9d1
add esp, 4
mov dword [esp + 0x2b4], edi
mov ecx, dword [ebp + 0xac]
push ebx
lea eax, [esp + 0x14]
push eax
push ecx
mov esi, 0x9223f8
call fcn.0040adb0
mov esi, dword [0x8927a4]
mov al, byte [0x922440]
add esi, 0x26fd4
test al, 1
jne 0x448a49
or dword [0x922440], ebx
push 0x9223f8
mov dword [esp + 0x2b8], 0x10
call fcn.004ceae0
push 0x57cea0
call fcn.0055e9d1
add esp, 4
mov dword [esp + 0x2b4], edi
mov esi, dword [esi + 4]
push 0x922428
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [0x922424]
test al, al
push 0x922428
je 0x448a6b
mov dword [esp + 0x20], ebx
jmp 0x448a85
mov eax, dword [0x92241c]
mov edx, esi
shr edx, 3
mov ecx, dword [eax + edx*4]
mov edx, dword [0x922414]
xor ecx, dword [edx + esi*4]
mov dword [esp + 0x20], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x2c8]
push eax
call fcn.0053bec0
fimul dword [esp + 0x20]
add esp, 4
call fcn.00561a5c
mov ebx, eax
mov al, byte [0x922440]
add ebx, 0x14
test al, 1
jne 0x448ae2
or dword [0x922440], 1
push 0x9223f8
mov dword [esp + 0x2b8], 0x11
call fcn.004ceae0
push 0x57cea0
call fcn.0055e9d1
add esp, 4
mov dword [esp + 0x2b4], edi
mov edi, dword [ebp + 0xac]
push 0x922428
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [0x922424]
test al, al
push 0x922428
je 0x448b10
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, 1
call edi
jmp 0x448b32
mov edx, dword [0x92241c]
mov eax, dword [0x922414]
mov ecx, edi
shr ecx, 3
mov esi, dword [edx + ecx*4]
xor esi, dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [0x922440]
sub esi, ebx
test al, 1
mov dword [esp + 0x10], esi
jne 0x448b75
or dword [0x922440], 1
push 0x9223f8
mov dword [esp + 0x2b8], 0x12
call fcn.004ceae0
push 0x57cea0
call fcn.0055e9d1
add esp, 4
mov dword [esp + 0x2b4], 0xffffffff
mov edx, dword [ebp + 0xac]
mov ebx, 1
push ebx
lea ecx, [esp + 0x14]
push ecx
push edx
mov esi, 0x9223f8
call fcn.0040adb0
test byte [0x922440], bl
jne 0x448bcc
or dword [0x922440], ebx
push 0x9223f8
mov dword [esp + 0x2b8], 0x13
call fcn.004ceae0
push 0x57cea0
call fcn.0055e9d1
add esp, 4
mov dword [esp + 0x2b4], 0xffffffff
mov esi, dword [ebp + 0xac]
push 0x922428
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [0x922424]
test al, al
push 0x922428
jne 0x448c02
mov ecx, dword [0x92241c]
mov edx, dword [0x922414]
mov eax, esi
shr eax, 3
mov ebx, dword [ecx + eax*4]
xor ebx, dword [edx + esi*4]
call edi
test byte [0x922440], 1
jne 0x448c41
or dword [0x922440], 1
push 0x9223f8
mov dword [esp + 0x2b8], 0x14
call fcn.004ceae0
push 0x57cea0
call fcn.0055e9d1
add esp, 4
mov dword [esp + 0x2b4], 0xffffffff
mov edi, dword [0x5f0778]
push 0x922428
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [0x922424]
test al, al
push 0x922428
je 0x448c67
mov esi, 1
jmp 0x448c7e
mov ecx, dword [0x92241c]
mov edx, dword [0x922414]
mov eax, edi
shr eax, 3
mov esi, dword [ecx + eax*4]
xor esi, dword [edx + edi*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
shl eax, 8
cdq
idiv esi
mov dword [esp + 0x10], eax
test byte [0x922440], 1
jne 0x448ccd
or dword [0x922440], 1
push 0x9223f8
mov dword [esp + 0x2b8], 0x15
call fcn.004ceae0
push 0x57cea0
call fcn.0055e9d1
add esp, 4
mov dword [esp + 0x2b4], 0xffffffff
mov ecx, dword [ebp + 0xac]
push 1
lea eax, [esp + 0x14]
push eax
push ecx
mov esi, 0x9223f8
call fcn.0040adb0
mov ecx, dword [0x8927a4]
push ebp
add ecx, 0x80214
call fcn.0053bc60
pop ebx
mov ecx, dword [esp + 0x2a8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x2a8
ret 0x1c