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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
push ebx
push esi
push edi
mov esi, ecx
lea edi, [esp + 0xa8]
mov ebx, eax
call fcn.00457550
mov edx, dword [eax]
mov dword [ebx + 0x84], edx
mov edx, dword [eax + 4]
lea ecx, [ebx + 0x84]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
fld dword [ecx + 8]
mov eax, dword [ebp + 0x10]
fmul dword [eax + 0xc]
sub esp, 8
fld dword [ecx + 0xc]
mov dword [esp + 0xac], ecx
fmul dword [eax + 0x10]
faddp st(1)
fadd dword [ecx + 4]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp + 4]
fld dword [eax + 0xc]
fmul dword [ecx + 0xc]
fld dword [ecx + 8]
fmul dword [eax + 0x10]
lea eax, [esp + 0x1c]
fsubp st(1)
fadd dword [ecx]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp]
call fcn.004069b0
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ebx + 0x94], ecx
mov dword [ebx + 0x98], edx
mov ecx, dword [eax + 0x1c]
mov dword [ebx + 0x9c], ecx
mov edx, dword [eax + 0x20]
mov dword [ebx + 0xa0], edx
mov ecx, dword [eax + 0xc]
mov dword [ebx + 0xa4], ecx
mov edx, dword [eax + 0x10]
lea esi, [ebx + 0xa4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 0x14]
mov dword [ebx + 0xac], ecx
mov edx, dword [eax + 0x18]
lea edi, [ebx + 0xac]
mov dword [edi + 4], edx
mov ecx, dword [eax + 0x24]
mov dword [ebx + 0xb4], ecx
mov edx, dword [eax + 0x28]
mov dword [ebx + 0xb8], edx
mov cl, byte [eax + 0x2c]
mov dl, byte [eax + 0x2d]
mov byte [esp + 0x1f], cl
mov byte [esp + 0x1e], dl
mov ecx, esi
mov edx, edi
lea eax, [esp + 0x14]
mov dword [esp + 0x30], esi
mov dword [esp + 0x20], edi
call fcn.00421e20
lea esi, [esp + 0x14]
call fcn.004499a0
fstp st(0)
fld dword [esp + 0x14]
lea edi, [ebx + 0xc4]
fchs
sub esp, 8
fstp dword [esp + 4]
mov dword [esp + 0x34], edi
fld dword [esp + 0x20]
mov eax, edi
fstp dword [esp]
call fcn.004069b0
mov ecx, dword [esp + 0x30]
lea edx, [ebx + 0x94]
lea eax, [esp + 0x3c]
call fcn.00421e20
mov ecx, edi
call fcn.00415b00
fstp dword [esp + 0xc]
cmp byte [esp + 0x1f], 0
fldz
fst dword [esp + 0x34]
mov byte [esp + 0x1d], 0
fst dword [esp + 0x24]
mov byte [esp + 0x13], 0
je 0x457c19
mov edx, dword [esp + 0x30]
fstp st(0)
lea ecx, [ebx + 0x9c]
lea eax, [esp + 0x34]
call fcn.00421e20
lea esi, [esp + 0x34]
call fcn.004499a0
fstp st(0)
fld dword [esp + 0x34]
sub esp, 8
fchs
lea esi, [ebx + 0xbc]
fstp dword [esp + 4]
mov eax, esi
fld dword [esp + 0x40]
fstp dword [esp]
call fcn.004069b0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x34]
call fcn.00421e10
fcomp dword [0x495f4c]
mov byte [esp + 0x1d], 1
fnstsw ax
test ah, 1
je 0x457bf7
mov byte [esp + 0x1d], 0
lea ecx, [ebx + 0x9c]
lea edx, [ebx + 0x94]
lea eax, [esp + 0x3c]
call fcn.00421e20
mov ecx, esi
call fcn.00415b00
fstp dword [esp + 0x34]
fldz
mov al, byte [esp + 0x1e]
test al, al
je 0x457cae
mov ecx, dword [esp + 0x20]
fstp st(0)
lea edx, [ebx + 0xb4]
lea eax, [esp + 0x24]
call fcn.00421e20
lea esi, [esp + 0x24]
call fcn.004499a0
fstp st(0)
fld dword [esp + 0x24]
sub esp, 8
fchs
lea esi, [ebx + 0xcc]
fstp dword [esp + 4]
mov eax, esi
fld dword [esp + 0x30]
fstp dword [esp]
call fcn.004069b0
lea eax, [esp + 0x24]
lea ecx, [esp + 0x14]
call fcn.00421e10
fcomp dword [0x495f4c]
mov byte [esp + 0x13], 1
fnstsw ax
test ah, 0x41
je 0x457c8a
mov byte [esp + 0x13], 0
mov ecx, dword [esp + 0x20]
lea edx, [ebx + 0x94]
lea eax, [esp + 0x3c]
call fcn.00421e20
mov ecx, esi
call fcn.00415b00
fstp dword [esp + 0x24]
fldz
mov al, byte [esp + 0x1e]
cmp byte [esp + 0x1f], 0
je 0x45809f
test al, al
je 0x457f3a
cmp byte [esp + 0x1d], 0
je 0x457e01
cmp byte [esp + 0x13], 0
fcom dword [esp + 0x34]
fnstsw ax
je 0x457d80
test ah, 0x41
jnp 0x457cfc
fcom dword [esp + 0xc]
fnstsw ax
test ah, 0x41
jnp 0x457cfc
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jnp 0x457cfe
xor eax, eax
jmp 0x457d03
fstp st(0)
mov eax, 1
test al, al
mov byte [ebx + 0xf8], al
je 0x457d44
mov ecx, dword [edi]
mov edx, dword [edi + 4]
lea eax, [ebx + 0xd4]
mov dword [eax], ecx
mov ecx, dword [ebx + 0xc0]
mov dword [eax + 4], edx
mov edx, dword [ebx + 0xcc]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0xbc]
mov dword [ebx + 0xe4], eax
mov eax, dword [ebx + 0xd0]
jmp 0x4582c2
lea esi, [esp + 0x3c]
mov eax, edi
call fcn.00450520
mov edx, dword [eax]
lea ecx, [ebx + 0xd4]
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov eax, edi
lea esi, [esp + 0x3c]
mov dword [esp + 0xc], ecx
call fcn.00450520
mov ecx, dword [eax]
mov dword [ebx + 0xe4], ecx
mov edx, dword [eax + 4]
mov eax, edi
jmp 0x457f15
test ah, 0x41
jnp 0x457da5
fcom dword [esp + 0xc]
fnstsw ax
test ah, 0x41
jp 0x457d9f
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jnp 0x457da7
xor eax, eax
jmp 0x457dac
fstp st(0)
xor eax, eax
jmp 0x457dac
fstp st(0)
mov eax, 1
test al, al
mov byte [ebx + 0xf8], al
je 0x457ddb
mov ecx, dword [edi]
mov edx, dword [edi + 4]
lea eax, [ebx + 0xd4]
mov dword [eax], ecx
mov ecx, dword [ebx + 0xc0]
mov dword [esp + 0xc], eax
mov dword [eax + 4], edx
mov eax, dword [ebx + 0xbc]
jmp 0x4582b7
lea esi, [esp + 0x3c]
mov eax, edi
call fcn.00450520
mov edx, dword [eax]
lea ecx, [ebx + 0xd4]
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
lea eax, [ebx + 0xcc]
jmp 0x457d61
cmp byte [esp + 0x13], 0
je 0x457e96
fcom dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jnp 0x457e37
fcom dword [esp + 0x34]
fnstsw ax
test ah, 0x41
jp 0x457e31
fcomp dword [esp + 0xc]
fnstsw ax
test ah, 0x41
jnp 0x457e39
xor eax, eax
jmp 0x457e3e
fstp st(0)
xor eax, eax
jmp 0x457e3e
fstp st(0)
mov eax, 1
test al, al
mov byte [ebx + 0xf8], al
je 0x457e77
mov ecx, dword [edi]
mov edx, dword [edi + 4]
lea eax, [ebx + 0xd4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [esp + 0xc], eax
mov eax, ecx
mov dword [ebx + 0xe4], eax
mov eax, dword [ebx + 0xd0]
mov ecx, edx
mov edx, dword [ebx + 0xcc]
jmp 0x4582c2
lea esi, [esp + 0x3c]
mov eax, edi
call fcn.00450520
mov edx, dword [eax]
lea ecx, [ebx + 0xd4]
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov eax, edi
jmp 0x457ef7
fcom dword [esp + 0x34]
fnstsw ax
test ah, 0x41
jp 0x457ebe
fcom dword [esp + 0xc]
fnstsw ax
test ah, 0x41
jp 0x457ebe
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jp 0x457ec0
mov eax, 1
jmp 0x457ec2
fstp st(0)
xor eax, eax
test al, al
mov byte [ebx + 0xf8], al
je 0x457ed6
mov ecx, dword [edi]
mov edx, dword [edi + 4]
jmp 0x4582a3
lea esi, [esp + 0x3c]
mov eax, edi
call fcn.00450520
mov edx, dword [eax]
lea ecx, [ebx + 0xd4]
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
lea eax, [ebx + 0xcc]
lea esi, [esp + 0x3c]
mov dword [esp + 0xc], ecx
call fcn.00450520
mov ecx, dword [eax]
mov dword [ebx + 0xe4], ecx
mov edx, dword [eax + 4]
lea eax, [ebx + 0xbc]
lea esi, [esp + 0x3c]
mov dword [ebx + 0xe8], edx
call fcn.00450520
mov ecx, dword [eax]
mov dword [ebx + 0xec], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 0xf0], edx
jmp 0x4582d4
cmp byte [esp + 0x1d], 0
fcom dword [esp + 0x34]
fnstsw ax
je 0x457fff
test ah, 0x41
jnp 0x457f5f
fcomp dword [esp + 0xc]
fnstsw ax
test ah, 0x41
jnp 0x457f61
xor eax, eax
jmp 0x457f66
fstp st(0)
mov eax, 1
sub esp, 8
test al, al
mov byte [ebx + 0xf8], al
je 0x457fc5
mov ecx, dword [edi]
mov edx, dword [edi + 4]
lea eax, [ebx + 0xd4]
mov dword [eax], ecx
mov ecx, dword [ebx + 0xc0]
mov dword [esp + 0x14], eax
mov dword [eax + 4], edx
mov eax, dword [ebx + 0xbc]
mov dword [ebx + 0xe4], eax
mov dword [ebx + 0xe8], ecx
fld dword [edi + 4]
fchs
fstp dword [esp + 4]
fld dword [edi]
fchs
lea eax, [esp + 0x1c]
fstp dword [esp]
call fcn.004069b0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
jmp 0x4582c8
fld dword [edi + 4]
lea eax, [esp + 0x1c]
fchs
fstp dword [esp + 4]
fld dword [edi]
fchs
fstp dword [esp]
call fcn.004069b0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea eax, [ebx + 0xd4]
mov dword [eax], ecx
mov ecx, dword [edi + 4]
mov dword [esp + 0xc], eax
mov dword [eax + 4], edx
mov eax, dword [edi]
sub esp, 8
jmp 0x457f93
test ah, 0x41
jp 0x458016
fcomp dword [esp + 0xc]
fnstsw ax
test ah, 0x41
jp 0x458018
mov eax, 1
jmp 0x45801a
fstp st(0)
xor eax, eax
sub esp, 8
test al, al
mov byte [ebx + 0xf8], al
je 0x458044
mov ecx, dword [edi]
mov edx, dword [edi + 4]
lea eax, [ebx + 0xd4]
mov dword [eax], ecx
mov dword [esp + 0x14], eax
mov dword [eax + 4], edx
mov eax, ecx
mov ecx, edx
jmp 0x457f93
fld dword [edi + 4]
lea eax, [esp + 0x1c]
fchs
fstp dword [esp + 4]
fld dword [edi]
fchs
fstp dword [esp]
call fcn.004069b0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea eax, [ebx + 0xd4]
mov dword [eax], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], edx
mov dword [esp + 0xc], eax
mov eax, dword [edi]
mov dword [ebx + 0xe4], eax
mov dword [ebx + 0xe8], ecx
fld dword [ebx + 0xc0]
fchs
sub esp, 8
fstp dword [esp + 4]
fld dword [ebx + 0xbc]
jmp 0x457faa
test al, al
je 0x4581ee
cmp byte [esp + 0x13], 0
fcom dword [esp + 0xc]
fnstsw ax
je 0x458132
test ah, 0x41
jnp 0x4580c8
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jnp 0x4580ca
xor eax, eax
jmp 0x4580cf
fstp st(0)
mov eax, 1
test al, al
mov byte [ebx + 0xf8], al
lea esi, [esp + 0x3c]
je 0x458114
mov ecx, dword [edi]
mov edx, dword [edi + 4]
lea eax, [ebx + 0xd4]
mov dword [esp + 0xc], eax
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, edi
call fcn.00450520
mov ecx, dword [eax]
mov dword [ebx + 0xe4], ecx
mov edx, dword [eax + 4]
mov eax, dword [ebx + 0xcc]
mov ecx, dword [ebx + 0xd0]
jmp 0x4581d7
mov eax, edi
call fcn.00450520
mov edx, dword [eax]
lea ecx, [ebx + 0xd4]
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov eax, edi
jmp 0x4581ba
test ah, 0x41
jp 0x458149
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jp 0x45814b
mov eax, 1
jmp 0x45814d
fstp st(0)
xor eax, eax
test al, al
mov byte [ebx + 0xf8], al
lea esi, [esp + 0x3c]
je 0x45819d
mov edx, dword [edi]
mov ecx, dword [edi + 4]
lea eax, [ebx + 0xd4]
mov dword [esp + 0xc], eax
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, edi
call fcn.00450520
mov edx, dword [eax]
mov ecx, dword [edi]
mov dword [ebx + 0xe4], edx
mov eax, dword [eax + 4]
mov edx, dword [edi + 4]
mov dword [ebx + 0xe8], eax
mov dword [ebx + 0xec], ecx
mov dword [ebx + 0xf0], edx
jmp 0x4582d4
mov eax, edi
call fcn.00450520
mov edx, dword [eax]
lea ecx, [ebx + 0xd4]
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
lea eax, [ebx + 0xcc]
lea esi, [esp + 0x3c]
mov dword [esp + 0xc], ecx
call fcn.00450520
mov ecx, dword [eax]
mov dword [ebx + 0xe4], ecx
mov edx, dword [eax + 4]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ebx + 0xec], eax
mov dword [ebx + 0xe8], edx
mov dword [ebx + 0xf0], ecx
jmp 0x4582d4
fcomp dword [esp + 0xc]
fnstsw ax
test ah, 0x41
jp 0x458200
mov eax, 1
jmp 0x458202
xor eax, eax
sub esp, 8
test al, al
mov byte [ebx + 0xf8], al
je 0x458282
mov edx, dword [edi]
mov ecx, dword [edi + 4]
lea eax, [ebx + 0xd4]
mov dword [eax], edx
mov dword [eax + 4], ecx
fld dword [edi + 4]
fchs
mov dword [esp + 0x14], eax
fstp dword [esp + 4]
lea eax, [esp + 0x1c]
fld dword [edi]
fchs
fstp dword [esp]
call fcn.004069b0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [ebx + 0xe8], eax
mov dword [ebx + 0xe4], edx
fld dword [edi + 4]
fchs
sub esp, 8
fstp dword [esp + 4]
lea eax, [esp + 0x1c]
fld dword [edi]
fchs
fstp dword [esp]
call fcn.004069b0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [ebx + 0xec], ecx
mov dword [ebx + 0xf0], edx
jmp 0x4582d4
fld dword [edi + 4]
lea eax, [esp + 0x1c]
fchs
fstp dword [esp + 4]
fld dword [edi]
fchs
fstp dword [esp]
call fcn.004069b0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea eax, [ebx + 0xd4]
mov dword [eax], ecx
mov ecx, dword [edi + 4]
mov dword [esp + 0xc], eax
mov dword [eax + 4], edx
mov eax, dword [edi]
mov edx, dword [edi]
mov dword [ebx + 0xe4], eax
mov eax, dword [edi + 4]
mov dword [ebx + 0xe8], ecx
mov dword [ebx + 0xec], edx
mov dword [ebx + 0xf0], eax
mov esi, dword [ebp + 0x10]
mov ecx, dword [esi + 0x94]
mov dword [ebx + 0x80], ecx
cmp dword [esi + 0x94], 0
mov dword [esp + 0x34], 0
jle 0x4583da
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x24], ebx
add esi, 0x58
fld dword [edi + 8]
sub esp, 8
fmul dword [esi - 0x44]
lea eax, [esp + 0x5c]
fld dword [esi - 0x40]
fmul dword [edi + 0xc]
faddp st(1)
fadd dword [edi + 4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp + 4]
fld dword [esi - 0x44]
fmul dword [edi + 0xc]
fld dword [edi + 8]
fmul dword [esi - 0x40]
fsubp st(1)
fadd dword [edi]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.004069b0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov dword [eax], edx
mov dword [eax + 4], ecx
fld dword [ebx + 0x8c]
fmul dword [esi - 4]
sub esp, 8
fld dword [ebx + 0x90]
lea eax, [esp + 0x44]
fmul dword [esi]
faddp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp + 4]
fld dword [ebx + 0x90]
fmul dword [esi - 4]
fld dword [ebx + 0x8c]
fmul dword [esi]
fsubp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.004069b0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov dword [eax + 0x44], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x40], edx
mov edx, dword [ebp + 0x10]
add ecx, 1
add eax, 8
add esi, 8
cmp ecx, dword [edx + 0x94]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], eax
jl 0x458306
fld dword [0x499b78]
mov eax, dword [ebp + 8]
fstp dword [ebx + 0xf4]
mov dword [eax + 0x3c], 0
lea edi, [esp + 0x3c]
mov eax, ebx
call fcn.00458900
mov edi, dword [esp + 0x3c]
test edi, edi
je 0x4588e8
fld dword [esp + 0x44]
fld dword [ebx + 0xf4]
fcompp
fnstsw ax
test ah, 5
jnp 0x4588e8
lea esi, [esp + 0x54]
call fcn.00458990
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x458471
fld dword [esp + 0x5c]
fld dword [ebx + 0xf4]
fcomp st(1)
fnstsw ax
test ah, 5
jnp 0x4588e6
fld dword [esp + 0x44]
fmul qword [0x499b58]
fadd qword [0x499b70]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fcompp
fnstsw ax
test ah, 5
jp 0x458471
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
jmp 0x45847b
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov ecx, edi
mov esi, 1
cmp ecx, esi
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xb0], edx
jne 0x458627
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
mov dword [eax + 0x38], esi
lea eax, [ebx + 0x40]
mov dword [esp + 0x24], 0
call fcn.00415b00
fstp dword [esp + 0x34]
cmp dword [ebx + 0x80], esi
jle 0x458507
lea edi, [ebx + 0x48]
nop
mov ecx, dword [esp + 0xc]
mov eax, edi
call fcn.00415b00
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [esp + 0x34]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4584ec
mov edx, esi
fstp dword [esp + 0x34]
mov dword [esp + 0x24], edx
jmp 0x4584f2
mov edx, dword [esp + 0x24]
fstp st(0)
add esi, 1
add edi, 8
cmp esi, dword [ebx + 0x80]
jl 0x4584c0
mov esi, 1
jmp 0x45850b
mov edx, dword [esp + 0x24]
lea ecx, [edx + 1]
xor eax, eax
cmp ecx, dword [ebx + 0x80]
mov byte [esp + 0x5d], dl
setge al
mov byte [esp + 0x5c], 0
mov byte [esp + 0x5e], 1
mov byte [esp + 0x5f], 0
mov byte [esp + 0x68], 0
mov byte [esp + 0x6a], 1
mov byte [esp + 0x6b], 0
sub eax, 1
and eax, ecx
cmp byte [ebx + 0xf8], 0
mov ecx, dword [ebx + edx*8]
mov dword [esp + 0x54], ecx
mov ecx, dword [ebx + edx*8 + 4]
mov edx, dword [ebx + eax*8]
mov dword [esp + 0x58], ecx
mov ecx, dword [ebx + eax*8 + 4]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
mov byte [esp + 0x69], al
je 0x4585b8
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x7c], ecx
mov ecx, dword [eax]
mov dword [esp + 0x80], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], esi
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
jmp 0x4586cb
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x74], ecx
mov ecx, dword [eax]
mov dword [esp + 0x78], edx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x2c]
fld dword [eax + 4]
sub esp, 8
fchs
mov dword [esp + 0x74], esi
fstp dword [esp + 4]
mov dword [esp + 0x78], 0
fld dword [eax]
lea eax, [esp + 0x44]
fchs
mov dword [esp + 0x84], ecx
fstp dword [esp]
mov dword [esp + 0x88], edx
call fcn.004069b0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
jmp 0x4586cb
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x30]
mov dword [edx + 0x38], 2
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x54], edx
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x64], ecx
xor ecx, ecx
lea esi, [eax + 1]
cmp esi, dword [ebx + 0x80]
mov dword [esp + 0x60], edx
mov edx, dword [ebx + eax*8]
setge cl
mov dword [esp + 0x74], edx
mov edx, dword [ebx + eax*8 + 4]
mov dword [esp + 0x78], edx
mov byte [esp + 0x5d], al
mov byte [esp + 0x69], al
mov dword [esp + 0x6c], eax
sub ecx, 1
and ecx, esi
mov edx, dword [ebx + ecx*8]
mov dword [esp + 0x7c], edx
mov edx, dword [ebx + eax*8 + 0x40]
mov eax, dword [ebx + eax*8 + 0x44]
mov dword [esp + 0x70], ecx
mov ecx, dword [ebx + ecx*8 + 4]
mov byte [esp + 0x5c], 0
mov byte [esp + 0x5e], 0
mov byte [esp + 0x5f], 1
mov byte [esp + 0x68], 0
mov byte [esp + 0x6a], 0
mov byte [esp + 0x6b], 1
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], eax
fld dword [esp + 0x84]
sub esp, 8
fchs
lea eax, [esp + 0x94]
fstp dword [esp + 4]
fld dword [esp + 0x90]
fstp dword [esp]
call fcn.004069b0
fld dword [esp + 0x90]
sub esp, 8
fchs
lea eax, [esp + 0x44]
fstp dword [esp + 4]
fld dword [esp + 0x94]
fchs
fstp dword [esp]
call fcn.004069b0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x98], ecx
lea eax, [esp + 0x74]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x9c], edx
call fcn.00415b00
fstp dword [esp + 0x94]
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x98]
call fcn.00415b00
fstp dword [esp + 0xa0]
mov esi, dword [esp + 0x6c]
fld dword [esp + 0x94]
push esi
push ecx
lea eax, [esp + 0x94]
fstp dword [esp]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edi, [esp + 0x64]
call fcn.00456260
add esp, 0x10
cmp eax, 2
jl 0x4588e8
mov edx, dword [esp + 0x70]
fld dword [esp + 0xa0]
push edx
push ecx
lea eax, [esp + 0xa0]
fstp dword [esp]
push eax
lea ecx, [esp + 0xc4]
push ecx
lea edi, [esp + 0x4c]
call fcn.00456260
add esp, 0x10
cmp eax, 2
jl 0x4588e8
cmp dword [esp + 0xa8], 1
jne 0x4587f2
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov dword [eax + 0x28], edx
mov edx, dword [esp + 0x74]
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0x30], edx
mov dword [eax + 0x34], ecx
jmp 0x458814
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + esi*8 + 0x54]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x28], edx
mov edx, dword [eax + esi*8 + 0x58]
mov dword [ecx + 0x2c], edx
mov edx, dword [eax + esi*8 + 0x14]
mov dword [ecx + 0x30], edx
mov eax, dword [eax + esi*8 + 0x18]
mov dword [ecx + 0x34], eax
mov edi, dword [ebp + 8]
lea esi, [esp + 0xb8]
mov dword [esp + 0x30], 0
mov dword [esp + 0x20], esi
add edi, 0x10
mov dword [esp + 0x2c], 2
lea ecx, [esp + 0x74]
mov edx, esi
lea eax, [esp + 0x3c]
call fcn.00421e20
lea ecx, [esp + 0x84]
call fcn.00415b00
fld dword [ebx + 0xf4]
fcompp
fnstsw ax
test ah, 1
jne 0x4588c1
cmp dword [esp + 0xa8], 1
jne 0x458895
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0xa4]
lea esi, [esp + 0x54]
call fcn.00453080
mov ecx, dword [eax]
mov dword [edi - 0x10], ecx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 8]
mov dword [edi - 0xc], edx
mov dword [edi], ecx
mov esi, eax
jmp 0x4588b9
movzx ecx, byte [esi + 0xb]
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov byte [edi + 2], cl
movzx ecx, byte [esi + 8]
mov dword [edi - 0x10], edx
mov dl, byte [esi + 0xa]
mov dword [edi - 0xc], eax
mov al, byte [esi + 9]
mov byte [edi + 3], dl
mov byte [edi], al
mov byte [edi + 1], cl
add dword [esp + 0x30], 1
add edi, 0x14
add esi, 0xc
sub dword [esp + 0x2c], 1
mov dword [esp + 0x20], esi
jne 0x458835
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x30]
mov dword [edx + 0x3c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
fstp st(0)
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc