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

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
mov ebx, ecx
push edi
push 0x41200000
mov eax, dword [ebx + 0x2ec]
mov ecx, dword [ebx + 0x10]
push 0
push 0x47d90c
push eax
push 0x8c
push 0x1e2
call fcn.00433840
mov ecx, dword [0x495814]
mov eax, dword [ebx + 0x824]
push eax
push 0
mov edx, dword [ecx]
push 0
call dword [edx + 0x40]
mov ecx, dword [0x495814]
mov eax, dword [ebx + 0x2f0]
push eax
push 0x25
mov edx, dword [ecx]
push 0x19a
call dword [edx + 0x40]
mov edi, str.Saved_Games
or ecx, 0xffffffff
xor eax, eax
push 0x41200000
repne scasb al, byte es:[edi]
fld dword [0x48588c]
not ecx
dec ecx
lea esi, [ebx + 0x14]
push ecx
push str.Saved_Games
sub esp, 0xc
mov ecx, dword [ebx + 0x10]
fstp dword [esp + 8]
fld dword [0x485888]
fstp dword [esp + 4]
fld dword [0x485890]
fstp dword [esp]
push 0x3f0b3333
push ecx
mov ecx, esi
call fcn.00439d00
mov edi, str.Level
or ecx, 0xffffffff
xor eax, eax
push 0x41200000
repne scasb al, byte es:[edi]
fld dword [0x48588c]
not ecx
dec ecx
mov edx, dword [ebx + 0x10]
push ecx
push str.Level
sub esp, 0xc
mov ecx, esi
fstp dword [esp + 8]
fld dword [0x485888]
fstp dword [esp + 4]
fld dword [0x485890]
fstp dword [esp]
push 0x3f566666
push edx
call fcn.00439d00
push 1
lea esi, [ebx + 0x1964]
push 0
mov ecx, dword [ebx + 0x10]
push 0x41200000
push 0x47d9e0
push 0
push esi
call fcn.00433aa0
mov ecx, dword [ebx + 0x10]
push 1
push 0
push 0x41200000
push 0x47d9f0
push 0
push esi
call fcn.00433aa0
lea esi, [ebx + 0x4060]
mov edi, 2
mov eax, dword [ebx + 0x10]
mov ecx, esi
push eax
call fcn.00442f90
add esi, 0x84
dec edi
jne 0x41c007
mov ecx, dword [0x495628]
mov esi, dword [ebx + 0x4168]
test ecx, ecx
mov dword [esp + 0x10], esi
je 0x41c040
mov eax, ecx
mov edx, dword [esi + 0x164]
dec eax
mov dword [esp + 0x10], edx
mov esi, edx
jne 0x41c031
lea ebp, [ebx + 0x3820]
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 0xe0
mov dword [esp + 0x1c], ebp
jmp 0x41c062
mov ecx, dword [0x495628]
mov eax, dword [esp + 0x18]
add ecx, eax
mov eax, dword [0x49562c]
cmp ecx, eax
mov ecx, ebp
jne 0x41c1f8
call fcn.00442d90
lea eax, [ebx + 0x14]
test esi, esi
mov dword [esp + 0x24], eax
je 0x41c0ff
mov esi, dword [esi + 0x11c]
xor ebp, ebp
cmp esi, dword [ebp*4 + 0x47dae0]
jl 0x41c09e
inc ebp
cmp ebp, 0x14
jbe 0x41c08f
xor esi, esi
test ebp, ebp
jle 0x41c0f7
mov eax, esi
mov ecx, 5
cdq
idiv ecx
mov ecx, dword [0x47db30]
mov edi, dword [0x47db34]
push 0x41200000
imul edx, ecx
imul eax, edi
add edx, 0x78
add eax, 0xc8
mov dword [esp + 0x34], edx
add ecx, edx
lea edx, [esp + 0x34]
mov dword [esp + 0x38], ecx
add edi, eax
push edx
push esi
lea ecx, [ebx + 0x3814]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edi
call fcn.0041dc70
inc esi
cmp esi, ebp
jl 0x41c0a4
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x10]
push ecx
mov ecx, ebp
call fcn.00442f90
test esi, esi
je 0x41c1a9
mov edx, dword [esi + 0x11c]
lea eax, [esp + 0x14]
push edx
push 0x485c40
push eax
call fcn.0046b7e3
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
fld dword [0x48588c]
not ecx
dec ecx
push 0x41200000
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea edi, [esp + 0x20]
sub esp, 0x10
or ecx, 0xffffffff
fstp dword [esp + 0xc]
fld dword [0x485888]
fstp dword [esp + 8]
fild dword [esp + 0x3c]
repne scasb al, byte es:[edi]
fmul dword [0x47dad0]
fstp dword [esp + 4]
not ecx
dec ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
mov edx, dword [ebx + 0x10]
fild qword [esp + 0x44]
mov ecx, dword [esp + 0x40]
fmul dword [0x485888]
fsubr dword [0x47dad4]
fstp dword [esp]
push edx
call fcn.00439d00
mov eax, dword [esi + 0x164]
mov dword [esp + 0x10], eax
mov esi, eax
mov eax, dword [esp + 0x18]
add ebp, 0x84
inc eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
add eax, 0x10
cmp eax, 0x1e0
mov dword [esp + 0x20], eax
jb 0x41c05c
mov ecx, dword [ebx + 0x10]
push ecx
lea ecx, [ebx + 0x372c]
call fcn.00443400
mov edx, dword [ebx + 0x2fc]
lea ecx, [ebx + 0x2fc]
call dword [edx + 4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
call fcn.00442d70
lea eax, [ebx + 0xc0]
mov dword [esp + 0x24], eax
jmp 0x41c0ff