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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd0
fld qword [0x43aeb8]
fsub qword [0x4487b0]
push ebx
push ebp
push esi
push edi
fdiv qword [0x435a58]
push 1
push 4
fmul qword [0x435a50]
fsubr qword [0x448600]
fsub qword [0x435a80]
fst qword [esp + 0x50]
fld st(0)
fsub qword [0x431338]
fstp qword [esp + 0x80]
fld qword [0x435a38]
fsub qword [0x431330]
fst qword [esp + 0x60]
fld qword [0x435a68]
fadd st(0), st(0)
fld qword [0x435a38]
fsub st(1)
fstp qword [esp + 0x58]
fadd qword [0x435a40]
fstp qword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
fstp qword [esp + 0x18]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
fst qword [esp + 0x20]
fstp qword [esp + 0x70]
call fcn.0041d160
add esp, 8
mov esi, 0xb
lea edx, [esp + 0x60]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.00420210
fld qword [esp + 0x20]
fsub qword [0x431328]
add esp, 8
dec esi
fstp qword [esp + 0x18]
fld qword [esp + 0x68]
fsub qword [0x431328]
fstp qword [esp + 0x68]
jne 0x413412
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
lea eax, [esp + 0x60]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x7c]
lea ecx, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x74], edx
call fcn.00420210
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x18], edx
mov ecx, edx
mov dword [esp + 0x1c], eax
mov edx, eax
mov dword [esp + 0x68], ecx
lea eax, [esp + 0x68]
lea ecx, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x74], edx
call fcn.00420210
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], edx
mov ecx, edx
mov dword [esp + 0x24], eax
mov edx, eax
mov dword [esp + 0x70], ecx
lea eax, [esp + 0x70]
lea ecx, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x7c], edx
call fcn.00420210
fld qword [esp + 0x68]
fadd qword [esp + 0x70]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
push 0
push 0
fmul qword [0x431168]
push 0x138b
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
fstp qword [esp + 0x34]
call fcn.004257d0
mov esi, eax
push esi
push str.ATTDIA
call fcn.004232b0
push esi
call fcn.00428160
push 1
push 4
call fcn.0041d160
fld qword [esp + 0x50]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
fsub qword [0x431320]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x5c]
add esp, 0x38
mov dword [esp + 0x34], edx
mov dword [esp + 0x40], eax
fstp qword [esp + 0x38]
mov dword [esp + 0x44], ecx
mov esi, 0x435a88
push 0x3fe66666
push 0x66666666
push 1
push 1
push esi
push 0
push 0
push 0x400c0000
lea edx, [esp + 0x50]
push 0
push edx
call fcn.0041e2c0
fld qword [esp + 0x60]
fsub qword [0x431328]
add esi, 0x28
add esp, 0x28
cmp esi, 0x435c18
fstp qword [esp + 0x38]
jl 0x41356a
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x43aeb0]
xor ebp, ebp
mov dword [esp + 0x18], eax
test ecx, ecx
jl 0x41367a
mov esi, 0x43afa7
mov ebx, 0x449820
mov dword [esp + 0x28], esi
cmp ebx, 0x449828
jl 0x4135f2
fld qword [ebx]
fsub qword [ebx - 8]
fcomp qword [0x4311b8]
fnstsw ax
test ah, 1
jne 0x413660
fld qword [ebx]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
fst qword [esp + 0x10]
fstp qword [esp + 0x30]
fld qword [esp + 0x18]
fsub qword [0x431320]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov edi, 7
fstp qword [esp + 0x38]
push 0x3fe99999
push 0x9999999a
push 1
push 1
push esi
push 0
push 0
push 0x400c0000
lea ecx, [esp + 0x50]
push 0
push ecx
call fcn.0041e2c0
fld qword [esp + 0x60]
fsub qword [0x431328]
add esp, 0x28
add esi, 0x20
dec edi
fstp qword [esp + 0x38]
jne 0x41361f
mov ecx, dword [0x43aeb0]
mov esi, dword [esp + 0x28]
inc ebp
add ebx, 8
add esi, 0x227
cmp ebp, ecx
mov dword [esp + 0x28], esi
jle 0x4135d8
fld qword [esp + 0x48]
fsub qword [0x431318]
mov esi, 1
cmp ecx, esi
fstp qword [esp + 0x18]
jl 0x4137e6
mov ebx, 0x43b2ce
mov edi, 0x449828
fld qword [edi]
fsub qword [edi - 8]
fcomp qword [0x4311b8]
fnstsw ax
test ah, 1
jne 0x4137d4
lea edx, [esp + 0x80]
push edx
push esi
call fcn.004139a0
lea eax, [esp + 0xa8]
push eax
push esi
call fcn.00413b70
fld qword [edi - 8]
fadd qword [edi]
lea ecx, [ebx - 0x20]
lea edx, [esp + 0xd0]
push ecx
push ebx
fmul qword [0x431168]
push str._s__s_
push edx
fstp qword [esp + 0x30]
call fcn.00428d42
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x40]
fld qword [esp + 0x38]
mov eax, dword [esp + 0x30]
push 0x3fe99999
fsub qword [0x431320]
mov dword [esp + 0x58], ecx
push 0x9999999a
push 1
lea ecx, [esp + 0xac]
push 1
push ecx
fstp qword [esp + 0x6c]
push 0
mov dword [esp + 0x78], edx
push 0
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x60]
push 0x400c0000
lea edx, [esp + 0x70]
push 0
push edx
mov dword [esp + 0x8c], eax
call fcn.0041e2c0
fld qword [esp + 0x80]
add esp, 0x48
lea eax, [esp + 0xa0]
fsub qword [0x431328]
push 0x3fe99999
push 0x9999999a
push 1
push 1
push eax
push 0
fstp qword [esp + 0x50]
push 0
push 0x400c0000
lea ecx, [esp + 0x50]
push 0
push ecx
call fcn.0041e2c0
fld qword [esp + 0x60]
fsub qword [0x431328]
push 0x3fe99999
push 0x9999999a
push 1
lea edx, [esp + 0xf4]
push 1
push edx
fstp qword [esp + 0x74]
push 0
push 0
push 0x400c0000
lea eax, [esp + 0x78]
push 0
push eax
call fcn.0041e2c0
mov ecx, dword [0x43aeb0]
add esp, 0x50
inc esi
add edi, 8
add ebx, 0x227
cmp esi, ecx
jle 0x41369f
pop edi
mov eax, 0x13ec
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret