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

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0x41200000
mov eax, dword [esi + 0x2ec]
mov ecx, dword [esi + 0x10]
push 0
push 0x47d91c
push eax
push 0x8c
push 0x1e2
call fcn.00433840
mov ecx, dword [0x495814]
mov eax, dword [esi + 0x824]
push eax
push 0
mov edx, dword [ecx]
push 0
call dword [edx + 0x40]
mov ecx, dword [0x495814]
mov eax, dword [esi + 0x2f0]
push eax
push 0x25
mov edx, dword [ecx]
push 0x19a
call dword [edx + 0x40]
mov edi, str.Save_Name
or ecx, 0xffffffff
xor eax, eax
push 0x41200000
repne scasb al, byte es:[edi]
fld dword [0x485898]
not ecx
dec ecx
lea ebx, [esi + 0x14]
push ecx
push str.Save_Name
sub esp, 0xc
mov ecx, dword [esi + 0x10]
fstp dword [esp + 8]
fld dword [0x485894]
fstp dword [esp + 4]
fld dword [0x48589c]
fstp dword [esp]
push 0x3f0b3333
push ecx
mov ecx, ebx
call fcn.00439d00
mov edi, str.Level
or ecx, 0xffffffff
xor eax, eax
push 0x41200000
repne scasb al, byte es:[edi]
fld dword [0x485898]
not ecx
dec ecx
mov edx, dword [esi + 0x10]
push ecx
push str.Level
sub esp, 0xc
mov ecx, ebx
fstp dword [esp + 8]
fld dword [0x485894]
fstp dword [esp + 4]
fld dword [0x48589c]
fstp dword [esp]
push 0x3f43d70a
push edx
call fcn.00439d00
or ecx, 0xffffffff
push 0x41200000
mov edi, str.Score
xor eax, eax
repne scasb al, byte es:[edi]
fld dword [0x485898]
not ecx
dec ecx
mov eax, dword [esi + 0x10]
push ecx
push str.Score
sub esp, 0xc
mov ecx, ebx
fstp dword [esp + 8]
fld dword [0x485894]
fstp dword [esp + 4]
fld dword [0x48589c]
fstp dword [esp]
push 0x3f5a3d71
push eax
call fcn.00439d00
push 1
push 0
push 0x41200000
push 0x47da00
lea ecx, [esi + 0x1964]
push 0
push ecx
mov ecx, dword [esi + 0x10]
call fcn.00433aa0
mov edx, dword [0x495814]
mov edi, dword [esi + 0x381c]
mov dword [esp + 0x18], edi
fld dword [edx + 0x34]
fadd dword [esi + 0x416c]
fst dword [esi + 0x416c]
fild dword [esp + 0x18]
fmul dword [0x4858a0]
fxch st(1)
fcompp
fnstsw ax
and eax, 0x100
jne 0x41c3ad
mov dword [esi + 0x416c], 0
fld dword [esi + 0x416c]
fdiv dword [0x4858a0]
call fcn.0046bda4
sub edi, eax
mov dword [esp + 0x14], 0xf0
dec edi
xor ecx, ecx
mov dword [0x4858a4], edi
mov ebx, dword [esi + 0x4168]
mov dword [esp + 0x18], ecx
mov eax, dword [esi + 0x381c]
cmp eax, 0xf
jl 0x41c3eb
mov eax, 0xf
cmp ecx, eax
jge 0x41c5f3
cmp ecx, dword [0x4858a4]
jne 0x41c478
lea eax, [esi + 0x14]
xor ebp, ebp
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x11c]
cmp eax, dword [ebp*4 + 0x47dae0]
jl 0x41c419
inc ebp
cmp ebp, 0x14
jbe 0x41c40a
xor edi, edi
test ebp, ebp
jle 0x41c482
mov eax, edi
mov ecx, 5
cdq
idiv ecx
mov ecx, dword [0x47db30]
push 0x41200000
imul eax, dword [0x47db34]
imul edx, ecx
add edx, 0x78
add eax, 0xc8
mov dword [esp + 0x44], edx
add ecx, edx
mov edx, dword [0x47db34]
mov dword [esp + 0x4c], eax
add edx, eax
lea eax, [esp + 0x44]
mov dword [esp + 0x48], ecx
push eax
push edi
lea ecx, [esi + 0x3814]
mov dword [esp + 0x58], edx
call fcn.0041dc70
inc edi
cmp edi, ebp
jl 0x41c41f
jmp 0x41c482
lea ecx, [esi + 0xc0]
mov dword [esp + 0x10], ecx
lea edx, [ebx + 0x108]
or ecx, 0xffffffff
fild dword [esp + 0x14]
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
fmul dword [0x47dad0]
fstp dword [esp + 0x1c]
fld dword [0x485898]
not ecx
dec ecx
push 0x41200000
push ecx
push edx
mov ebp, dword [esp + 0x28]
sub esp, 8
mov edx, dword [esi + 0x10]
mov ecx, dword [esp + 0x24]
fstp dword [esp + 4]
fld dword [0x485894]
fstp dword [esp]
push ebp
push 0x3f0b3333
push edx
call fcn.00439d00
mov eax, dword [ebx + 0x11c]
lea ecx, [esp + 0x30]
push eax
push 0x485c40
push ecx
call fcn.0046b7e3
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
fld dword [0x485898]
not ecx
dec ecx
push 0x41200000
lea edx, [esp + 0x34]
push ecx
push edx
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
sub esp, 8
repne scasb al, byte es:[edi]
fstp dword [esp + 4]
fld dword [0x485894]
not ecx
dec ecx
mov dword [esp + 0x38], eax
fstp dword [esp]
mov dword [esp + 0x34], ecx
mov eax, dword [esi + 0x10]
fild qword [esp + 0x34]
push ebp
push ecx
mov ecx, dword [esp + 0x2c]
fmul dword [0x485894]
fsubr dword [0x47d444]
fstp dword [esp]
push eax
call fcn.00439d00
mov ecx, dword [ebx + 0x128]
lea edx, [esp + 0x30]
push ecx
push 0x485c58
push edx
call fcn.0046b7e3
add esp, 0xc
or ecx, 0xffffffff
lea edi, [esp + 0x30]
xor eax, eax
push 0x41200000
repne scasb al, byte es:[edi]
fld dword [0x485898]
not ecx
dec ecx
lea eax, [esp + 0x34]
push ecx
push eax
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
sub esp, 8
repne scasb al, byte es:[edi]
fstp dword [esp + 4]
fld dword [0x485894]
not ecx
dec ecx
mov dword [esp + 0x40], eax
fstp dword [esp]
mov dword [esp + 0x3c], ecx
push ebp
fild qword [esp + 0x40]
push ecx
mov ecx, dword [esi + 0x10]
fmul dword [0x485894]
fsubr dword [0x47dad8]
fstp dword [esp]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.00439d00
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ebx, dword [ebx + 0x164]
inc ecx
add eax, 0x10
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
jmp 0x41c3db
mov edx, dword [esi + 0x2fc]
lea ecx, [esi + 0x2fc]
call dword [edx + 4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret