Function at 0x4489a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x50fcbe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.004947e0
mov eax, dword [esp + 0x5c]
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x64], esp
push str.flareBig:0
mov dword [esp + 0x34], 0
mov dword [esi], 0x529f50
mov dword [esi + 0x20], 0x529f40
mov dword [esi + 0x1d0], eax
call fcn.00402110
mov ecx, dword [0x55cd0c]
mov ecx, dword [ecx + 0x874]
call fcn.004960f0
cmp dword [esi + 0x7c], eax
je 0x448a19
mov edx, dword [esi]
mov ecx, esi
mov dword [esi + 0x7c], eax
call dword [edx + 0x54]
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov edx, dword [esi]
lea eax, [esi + 0x80]
mov dword [eax], edi
mov dword [eax + 4], ebp
mov ecx, esi
mov dword [eax + 8], ebx
call dword [edx + 0x54]
mov eax, dword [esp + 0x30]
test eax, eax
jle 0x448bee
fld dword [esp + 0x4c]
mov dword [esp + 0x34], eax
fmul dword [0x51f8dc]
fstp dword [esp + 0x14]
fld dword [esp + 0x44]
fsub dword [esp + 0x40]
fstp dword [esp + 0x18]
call fcn.004ed97f
mov dword [esp + 0x5c], eax
fild dword [esp + 0x5c]
fmul qword [0x51f780]
fadd st(0), st(0)
fsub dword [0x51f66c]
fstp dword [esp + 0x30]
fld dword [esp + 0x14]
fmul dword [esp + 0x30]
fadd dword [esp + 0x48]
fstp dword [esp + 0x44]
call fcn.004ed97f
mov dword [esp + 0x5c], eax
fild dword [esp + 0x5c]
fmul qword [0x51f780]
fld dword [esp + 0x18]
fmul st(1)
fadd dword [esp + 0x40]
fstp dword [esp + 0x5c]
fstp st(0)
fld dword [esp + 0x4c]
fcomp qword [0x51f770]
fnstsw ax
test ah, 5
jp 0x448adb
fld dword [esp + 0x30]
fmul dword [0x51f768]
fcos
fmul dword [esp + 0x5c]
fstp dword [esp + 0x5c]
mov eax, dword [esp + 0x50]
test eax, eax
push 0x200
jne 0x448b62
call fcn.004fd765
mov esi, eax
add esp, 4
mov dword [esp + 0x30], esi
test esi, esi
mov byte [esp + 0x28], 1
je 0x448bcf
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x44]
push eax
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x28], esp
push edx
mov dword [eax], 0xffffffff
mov eax, dword [esp + 0x6c]
push eax
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edi
mov dword [ecx + 4], ebp
push 1
push ecx
mov dword [ecx + 8], ebx
mov ecx, esp
mov dword [esp + 0x84], esp
push str.spark:1
call fcn.00402110
mov edx, dword [0x55cd0c]
mov ecx, dword [edx + 0x874]
call fcn.004960f0
push eax
mov ecx, esi
call fcn.00448c20
jmp 0x448bd1
call fcn.004fd765
mov esi, eax
add esp, 4
mov dword [esp + 0x30], esi
test esi, esi
mov byte [esp + 0x28], 2
je 0x448bcf
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x64]
push edx
push eax
push ecx
sub esp, 0xc
mov edx, esp
push 1
push ecx
mov dword [edx], edi
mov dword [edx + 4], ebp
mov ecx, esp
mov dword [esp + 0x84], esp
push str.spark:0
mov dword [edx + 8], ebx
call fcn.00402110
mov eax, dword [0x55cd0c]
mov ecx, dword [eax + 0x874]
call fcn.004960f0
push eax
mov ecx, esi
call fcn.00448c20
jmp 0x448bd1
xor eax, eax
mov ecx, dword [esp + 0x10]
push eax
mov byte [esp + 0x2c], 0
call fcn.00403010
dec dword [esp + 0x34]
jne 0x448a64
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x448bff
mov dword [esi + 0x78], 0xffff4000
jmp 0x448c02
mov dword [esi + 0x78], eax
mov ecx, dword [esp + 0x20]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 0x30