Function at 0x408fa0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x528afb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x260
fld dword [esp + 0x274]
push ebx
fadd dword [esp + 0x27c]
push ebp
push esi
mov esi, dword [esp + 0x27c]
mov edx, dword [esi + 0x38]
fstp dword [esp + 0xd0]
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov dword [esp + 0xc8], edx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc0], eax
mov dword [esp + 0x44], edx
push edi
mov dword [esp + 0x44], ecx
lea edx, [esp + 0xbc]
push edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x288]
mov dword [esp + 0xd4], eax
mov ecx, eax
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0xc0], 0x81c7a8
mov word [esp + 0xc6], 0x200
push 0x407d30
sub esp, 0x18
mov eax, esp
xor edi, edi
mov word [esp + 0xe0], di
mov dword [eax], ecx
mov edx, dword [esp + 0xe8]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0xec]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0xf0]
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0xf4]
mov dword [eax + 0x10], ecx
mov edx, dword [esp + 0xf8]
mov ecx, dword [esp + 0x2ac]
mov dword [esp + 0xa8], esp
mov dword [eax + 0x14], edx
call fcn.0040a1b0
cmp word [esp + 0xc0], di
je 0x409d2a
fld dword [esp + 0x288]
fmul dword [esi + 0x10]
fld dword [esp + 0x288]
fmul dword [esi + 0x14]
fld dword [esp + 0x288]
fmul dword [esi + 0x18]
fstp dword [esp + 0xb8]
fxch st(1)
fadd dword [esp + 0x40]
fstp dword [esp + 0x64]
fld dword [esp + 0x44]
mov eax, dword [esp + 0x64]
fadd st(1)
mov dword [esp + 0x178], eax
fst dword [esp + 0x68]
fstp st(1)
fld dword [esp + 0x48]
fadd dword [esp + 0xb8]
fst dword [esp + 0x6c]
fxch st(1)
fstp dword [esp + 0x17c]
fstp dword [esp + 0x180]
fld dword [esp + 0x288]
fmul dword [esi + 0x10]
fld dword [esp + 0x288]
fmul dword [esi + 0x14]
fld dword [esp + 0x288]
fmul dword [esi + 0x18]
fstp dword [esp + 0xb8]
fld dword [esp + 0x40]
fsub st(2)
fstp dword [esp + 0x70]
fld dword [esp + 0x44]
mov ecx, dword [esp + 0x70]
fsub st(1)
mov dword [esp + 0xa4], ecx
fst dword [esp + 0x74]
lea ecx, [esp + 0x34]
fstp st(2)
fstp st(0)
fld dword [esp + 0x48]
fsub dword [esp + 0xb8]
fst dword [esp + 0x78]
fxch st(1)
fstp dword [esp + 0xa8]
fstp dword [esp + 0xac]
call fcn.00407ce0
mov ebp, eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], edi
cmp word [esp + 0xc0], di
mov dword [esp + 0x278], edi
mov dword [esp + 0x88], edi
jbe 0x409d00
mov ebx, dword [esp + 0x7c]
jmp 0x4091b0
mov edx, dword [esp + 0x88]
mov esi, dword [edx*4 + 0x81c7a8]
mov eax, dword [esp + 0x28c]
mov ecx, dword [eax + 0xc]
movzx eax, word [esi]
lea edx, [eax + eax*2]
lea eax, [ecx + edx*4]
mov edx, dword [eax]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x44], edx
lea edi, [esi + 0xc]
mov dword [esp + 0x48], eax
mov edx, edi
mov eax, dword [edx]
mov dword [esp + 0x58], eax
mov eax, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
fld dword [esp + 0x5c]
fmul dword [esp + 0x44]
fld dword [esp + 0x58]
fmul dword [esp + 0x40]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [esp + 0x48]
faddp st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x5c]
fmul dword [esp + 0x68]
fld dword [esp + 0x58]
fmul dword [esp + 0x64]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [esp + 0x6c]
faddp st(1)
fsub dword [esp + 0x2c]
fstp dword [esp + 0x30]
fld dword [esp + 0x5c]
fmul dword [esp + 0x74]
fld dword [esp + 0x58]
fmul dword [esp + 0x70]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [esp + 0x78]
faddp st(1)
fsub dword [esp + 0x2c]
fstp dword [esp + 0x10]
fld dword [esp + 0x30]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x4093c4
fld dword [esp + 0x30]
fcomp dword [esp + 0x284]
fnstsw ax
test ah, 0x41
je 0x409cd9
fld dword [esp + 0x10]
fcomp dword [0x5303b8]
fnstsw ax
test ah, 5
jnp 0x409cd9
fld dword [esp + 0x30]
fcomp dword [0x5303b8]
fnstsw ax
test ah, 0x41
jp 0x4093a6
fld dword [esp + 0x64]
fsub dword [esp + 0x70]
fld dword [esp + 0x68]
fsub dword [esp + 0x74]
fld dword [esp + 0x6c]
fsub dword [esp + 0x78]
fstp dword [esp + 0x23c]
fxch st(1)
mov eax, dword [esp + 0x23c]
fstp dword [esp + 0x160]
mov edx, dword [esp + 0x160]
mov dword [esp + 0x14], edx
fstp dword [esp + 0x164]
mov dword [esp + 0x168], eax
fld dword [esp + 0x10]
mov eax, dword [esp + 0x164]
fsub dword [esp + 0x30]
mov edx, dword [esp + 0x168]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
fdivr dword [esp + 0x10]
fld dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x190]
fld dword [esp + 0x18]
fmul st(1)
fstp dword [esp + 0x194]
fmul dword [esp + 0x1c]
fld dword [esp + 0x190]
fadd dword [esp + 0x70]
fld dword [esp + 0x194]
fadd dword [esp + 0x74]
fxch st(2)
fadd dword [esp + 0x78]
fstp dword [esp + 0x1dc]
mov eax, dword [esp + 0x1dc]
fstp dword [esp + 0x16c]
mov edx, dword [esp + 0x16c]
mov dword [esp + 0x174], eax
fstp dword [esp + 0x170]
mov eax, dword [esp + 0x170]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x174]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
jmp 0x409568
mov eax, dword [esp + 0x178]
mov edx, dword [esp + 0x17c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x180]
jmp 0x409560
fld dword [esp + 0x10]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 5
jp 0x40951c
fld dword [esp + 0x10]
fcomp dword [esp + 0x284]
fnstsw ax
test ah, 0x41
je 0x409cd9
fld dword [esp + 0x30]
fcomp dword [0x5303b8]
fnstsw ax
test ah, 5
jnp 0x409cd9
fld dword [esp + 0x10]
fcomp dword [0x5303b8]
fnstsw ax
test ah, 0x41
jp 0x4094f9
fld dword [esp + 0x70]
fsub dword [esp + 0x64]
fld dword [esp + 0x74]
fsub dword [esp + 0x68]
fld dword [esp + 0x78]
fsub dword [esp + 0x6c]
fstp dword [esp + 0x200]
fxch st(1)
mov edx, dword [esp + 0x200]
fstp dword [esp + 0x184]
mov eax, dword [esp + 0x184]
mov dword [esp + 0x14], eax
fstp dword [esp + 0x188]
mov dword [esp + 0x18c], edx
fld dword [esp + 0x30]
mov edx, dword [esp + 0x188]
fsub dword [esp + 0x10]
mov eax, dword [esp + 0x18c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
fdivr dword [esp + 0x30]
fld dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x19c]
fld dword [esp + 0x18]
fmul st(1)
fstp dword [esp + 0x1a0]
fmul dword [esp + 0x1c]
fld dword [esp + 0x19c]
fadd dword [esp + 0x64]
fld dword [esp + 0x1a0]
fadd dword [esp + 0x68]
fxch st(2)
fadd dword [esp + 0x6c]
fstp dword [esp + 0x20c]
mov edx, dword [esp + 0x20c]
fstp dword [esp + 0x124]
mov eax, dword [esp + 0x124]
mov dword [esp + 0x12c], edx
fstp dword [esp + 0x128]
mov edx, dword [esp + 0x128]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x12c]
jmp 0x409560
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0xac]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
jmp 0x409568
fld dword [esp + 0x30]
fcomp dword [esp + 0x284]
fnstsw ax
test ah, 0x41
je 0x409cd9
fld dword [esp + 0x30]
fcomp dword [0x5303b8]
fnstsw ax
test ah, 5
jnp 0x409cd9
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
fld dword [esp + 0x50]
sub esp, 0xc
fmul dword [esp + 0x68]
mov dword [esp + 0x1c], esp
fld dword [esp + 0x58]
fmul dword [esp + 0x64]
faddp st(1)
fld dword [esp + 0x60]
fmul dword [esp + 0x6c]
faddp st(1)
fsub dword [esp + 0x38]
fstp dword [esp + 0x38]
fld dword [esp + 0x64]
fmul dword [esp + 0x38]
fld dword [esp + 0x68]
fmul dword [esp + 0x38]
fstp dword [esp + 0xc0]
fld dword [esp + 0x6c]
fmul dword [esp + 0x38]
fstp dword [esp + 0xc4]
fsubr dword [esp + 0x58]
fld dword [esp + 0x5c]
fsub dword [esp + 0xc0]
fld dword [esp + 0x60]
fsub dword [esp + 0xc4]
fstp dword [esp + 0x230]
mov edx, dword [esp + 0x230]
fxch st(1)
fstp dword [esp + 0x10c]
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x114], edx
fstp dword [esp + 0x110]
mov eax, dword [esp + 0x114]
mov edx, dword [esp + 0x110]
mov dword [esp + 0x34], eax
movzx eax, word [esi + 2]
mov dword [esp + 0x30], edx
lea edx, [eax + eax*2]
lea eax, [ecx + edx*4]
fld dword [eax]
fst dword [esp + 0x98]
fld dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0xa0], eax
fst dword [esp + 0x9c]
movzx eax, word [esi + 4]
lea edx, [eax + eax*2]
lea eax, [ecx + edx*4]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
fld dword [eax]
fst dword [esp + 0xa4]
fld dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0xac], eax
fst dword [esp + 0xa8]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x6c]
sub esp, 0xc
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [esp + 0x28], esp
mov edx, dword [esp + 0xb8]
fxch st(1)
mov ecx, dword [esp + 0xac]
mov eax, esp
fstp dword [eax]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x58]
fstp dword [eax + 4]
sub esp, 0xc
mov eax, esp
fxch st(1)
fstp dword [eax]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x68]
fstp dword [eax + 4]
mov dword [esp + 0x34], esp
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x78]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x40], esp
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x4c], esp
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
call fcn.00404780
add esp, 0x3c
test eax, eax
je 0x409716
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
jmp 0x409c48
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x130]
push ecx
mov ecx, dword [esp + 0x28]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x9c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x20], esp
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0xb0]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x2c], esp
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x70]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0x104]
mov dword [esp + 0x38], esp
push eax
call fcn.00404e80
fld dword [esp + 0x108]
fsub dword [esp + 0x4c]
add esp, 0x2c
fld dword [esp + 0xe0]
fsub dword [esp + 0x24]
fld dword [esp + 0xe4]
fsub dword [esp + 0x28]
fstp dword [esp + 0x230]
mov ecx, dword [esp + 0x230]
fxch st(1)
fstp dword [esp + 0x13c]
mov edx, dword [esp + 0x13c]
mov dword [esp + 0x14], edx
fstp dword [esp + 0x140]
mov eax, dword [esp + 0x140]
mov dword [esp + 0x18], eax
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x134]
push edx
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
mov edx, dword [esp + 0x28]
sub esp, 0xc
faddp st(1)
mov dword [esp + 0x154], ecx
mov ecx, dword [esp + 0x30]
fld dword [esp + 0x2c]
fmul dword [esp + 0x2c]
mov eax, esp
mov dword [esp + 0x20], esp
faddp st(1)
mov dword [eax], ecx
fstp dword [esp + 0x11c]
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xa8]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xac]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0xbc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xa8]
mov dword [eax + 8], edx
mov edx, dword [esp + 0xac]
mov dword [esp + 0x2c], esp
sub esp, 0xc
mov eax, esp
mov dword [eax + 4], edx
mov dword [eax], ecx
mov ecx, dword [esp + 0xbc]
lea edx, [esp + 0x110]
mov dword [esp + 0x38], esp
push edx
mov dword [eax + 8], ecx
call fcn.00404e80
fld dword [esp + 0x114]
fsub dword [esp + 0x4c]
add esp, 0x2c
fld dword [esp + 0xec]
fsub dword [esp + 0x24]
fld dword [esp + 0xf0]
fsub dword [esp + 0x28]
fstp dword [esp + 0x218]
mov eax, dword [esp + 0x218]
fxch st(1)
fstp dword [esp + 0x148]
mov ecx, dword [esp + 0x148]
mov dword [esp + 0x14], ecx
fstp dword [esp + 0x14c]
mov edx, dword [esp + 0x14c]
mov dword [esp + 0x18], edx
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x138]
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x28]
faddp st(1)
sub esp, 0xc
mov dword [esp + 0x160], eax
fld dword [esp + 0x2c]
fmul dword [esp + 0x2c]
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x38]
faddp st(1)
mov dword [esp + 0x20], esp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x50]
sub esp, 0xc
mov dword [eax + 8], edx
mov eax, esp
fstp dword [esp + 0x12c]
mov dword [esp + 0x2c], esp
mov dword [eax], ecx
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xb4]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xb8]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0xc8]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0x11c]
mov dword [esp + 0x38], esp
push eax
call fcn.00404e80
fld dword [esp + 0x120]
fsub dword [esp + 0x4c]
add esp, 0x2c
fld dword [esp + 0xf8]
test byte [eax + edi*8], ah
add byte [eax], al
add al, bl
and al, 0x24
fld dword [esp + 0xfc]
fsub dword [esp + 0x28]
fstp dword [esp + 0x1f4]
mov ecx, dword [esp + 0x1f4]
fxch st(1)
fstp dword [esp + 0x154]
mov edx, dword [esp + 0x154]
mov dword [esp + 0x14], edx
fstp dword [esp + 0x158]
mov eax, dword [esp + 0x158]
mov dword [esp + 0x18], eax
fld dword [esp + 0x18]
fmul dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x15c], ecx
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
faddp st(1)
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
faddp st(1)
fld dword [esp + 0x10c]
fcomp dword [esp + 0x110]
fnstsw ax
test ah, 5
jp 0x409a34
fld dword [esp + 0x10c]
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 5
jp 0x409a4b
xor ebp, ebp
jmp 0x409a50
fld dword [esp + 0x110]
mov ebp, 1
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 5
jnp 0x409a50
mov ebp, 2
mov eax, ebp
sub eax, 0
je 0x409a8b
dec eax
je 0x409a74
dec eax
jne 0x409aac
mov edx, dword [esp + 0xf4]
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0xfc]
jmp 0x409aa0
mov edx, dword [esp + 0xe8]
mov eax, dword [esp + 0xec]
mov ecx, dword [esp + 0xf0]
jmp 0x409aa0
mov edx, dword [esp + 0xdc]
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x1c], esp
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x90]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x7c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x28], esp
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x90]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0x264]
mov dword [esp + 0x34], esp
push eax
call fcn.00404cc0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x74], ecx
fld dword [esp + 0x74]
fsub dword [esp + 0x48]
mov dword [esp + 0x78], edx
fld dword [esp + 0x78]
mov dword [esp + 0x7c], eax
fsub dword [esp + 0x4c]
fld dword [esp + 0x7c]
fsub dword [esp + 0x50]
fstp dword [esp + 0x210]
mov ecx, dword [esp + 0x210]
fxch st(1)
fstp dword [esp + 0x140]
mov edx, dword [esp + 0x140]
mov dword [esp + 0x3c], edx
fstp dword [esp + 0x144]
mov eax, dword [esp + 0x144]
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x14c], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
call fcn.004d5e30
fst dword [esp + 0x58]
fcomp dword [esp + 0x2b0]
add esp, 0x2c
fnstsw ax
test ah, 0x41
jp 0x409cd5
mov eax, ebp
sub eax, 0
je 0x409bef
dec eax
je 0x409bd5
dec eax
jne 0x409c44
mov eax, dword [esp + 0x138]
test eax, eax
jne 0x409bcc
test byte [esi + 0x30], 4
jne 0x409c00
lea eax, [esp + 0x24c]
jmp 0x409c1f
mov eax, dword [esp + 0x134]
test eax, eax
jne 0x409be6
test byte [esi + 0x30], 2
jne 0x409c00
lea eax, [esp + 0x264]
jmp 0x409c1f
mov eax, dword [esp + 0x130]
test eax, eax
jne 0x409c18
test byte [esi + 0x30], 1
je 0x409c18
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov ebx, dword [edi]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
jmp 0x409c44
lea eax, [esp + 0x258]
mov edx, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0x18]
push eax
call fcn.00403990
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov ebp, dword [esp + 0x38]
mov eax, dword [esi + 8]
fld dword [esp + 0x284]
mov ecx, dword [esp + 0x20]
fsub dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x1b4], eax
mov eax, dword [esp + 0x28]
fstp dword [esp + 0x1d0]
mov dword [esp + 0x1b8], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x1c0], eax
mov dword [esp + 0x1c8], ecx
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x1a8]
lea edi, [ebp + 4]
push eax
push ecx
mov dword [esp + 0x1c4], edx
mov edx, dword [esp + 0x8c]
push ebp
lea ecx, [esp + 0x40]
mov dword [esp + 0x1d0], ebx
mov dword [esp + 0x1d8], edx
call fcn.00407d00
push 1
lea ecx, [esp + 0x38]
mov esi, eax
call fcn.00408200
mov dword [edi], esi
mov edx, dword [esi + 4]
mov dword [edx], esi
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x88]
movzx ecx, word [esp + 0xc0]
inc eax
cmp eax, ecx
mov dword [esp + 0x88], eax
jb 0x4091b0
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x409d31
mov eax, dword [ebp]
cmp eax, ebp
mov dword [ebp], ebp
mov dword [ebp + 4], ebp
je 0x409d21
lea ecx, [ecx]
mov esi, dword [eax]
push eax
call fcn.0051647d
add esp, 4
cmp esi, ebp
mov eax, esi
jne 0x409d10
push ebp
call fcn.0051647d
add esp, 4
xor eax, eax
jmp 0x409e51
cmp eax, 1
jbe 0x409dee
xor edx, edx
mov dl, byte [0x81c7a0]
lea ecx, [esp + 0x34]
push edx
call fcn.004083a0
lea esp, [esp]
mov eax, dword [esp + 0x38]
mov esi, dword [eax]
cmp esi, eax
je 0x409dea
mov edi, edi
mov ecx, esi
cmp esi, ecx
je 0x409d89
fld dword [ecx + 0x28]
fmul dword [esi + 0x28]
fld dword [ecx + 0x24]
fmul dword [esi + 0x24]
faddp st(1)
fld dword [ecx + 0x2c]
fmul dword [esi + 0x2c]
faddp st(1)
fcomp dword [0x5303d8]
fnstsw ax
test ah, 0x41
je 0x409d9b
mov ecx, dword [ecx]
mov eax, dword [esp + 0x38]
cmp ecx, eax
jne 0x409d62
mov esi, dword [esi]
cmp esi, eax
jne 0x409d60
jmp 0x409dea
fld dword [esi + 0x30]
fcomp st(0)
fnstsw ax
test ah, 1
jne 0x409dbf
cmp ecx, dword [esp + 0x38]
je 0x409de0
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
push ecx
jmp 0x409dcf
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
push esi
call fcn.0051647d
mov eax, dword [esp + 0x40]
add esp, 4
dec eax
mov dword [esp + 0x3c], eax
cmp esi, dword [esp + 0x38]
jne 0x409d50
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x290]
cmp ebx, ecx
mov eax, dword [ebp]
jbe 0x409e02
mov ebx, ecx
test ebx, ebx
jbe 0x409e28
mov edx, dword [esp + 0x294]
mov ebp, ebx
nop
lea esi, [eax + 8]
mov edi, edx
mov ecx, 0xb
add edx, 0x2c
dec ebp
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax]
jne 0x409e10
mov ebp, dword [esp + 0x38]
mov eax, dword [ebp]
cmp eax, ebp
mov dword [ebp], ebp
mov dword [ebp + 4], ebp
je 0x409e46
mov esi, dword [eax]
push eax
call fcn.0051647d
add esp, 4
cmp esi, ebp
mov eax, esi
jne 0x409e35
push ebp
call fcn.0051647d
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x270]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x26c
ret