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

Disassembly:
call fcn.007034f0
test al, al
je 0x560323
mov dl, byte [0xc402b8]
xor eax, eax
cmp dl, al
mov ecx, pe_nt_image_headers32
je 0x56028e
mov word [0xb7c4e8], ax
mov word [0xb7c4ea], ax
mov word [0xb7c4ec], ax
mov dword [0xb7c4a0], eax
mov dword [0xb7c4a4], 0x3ecccccd
mov dword [0xb7c4a8], eax
mov dword [0xb7c4ac], eax
mov dword [0xb7c4b0], 0x3ecccccd
mov dword [0xb7c4b4], eax
mov word [0xb7c4c4], ax
mov word [0xb7c4c6], cx
mov word [0xb7c4c8], ax
mov word [0xb7c4ca], ax
mov word [0xb7c4cc], cx
mov word [0xb7c4ce], ax
cmp byte [0xc402b9], al
je 0x560323
mov word [0xb7c4e8], ax
mov word [0xb7c4ea], ax
mov word [0xb7c4ec], ax
mov dword [0xb7c4f8], 0
mov dword [0xb7c53c], eax
mov word [0xb7c540], ax
mov dword [0xb7c4a0], 0
mov dword [0xb7c4a4], 0
mov dword [0xb7c4a8], 0x3f800000
mov dword [0xb7c4ac], 0
mov dword [0xb7c4b0], 0
mov dword [0xb7c4b4], 0x3f800000
mov word [0xb7c4c4], ax
mov word [0xb7c4c6], ax
mov word [0xb7c4c8], cx
mov word [0xb7c4ca], ax
mov word [0xb7c4cc], ax
mov word [0xb7c4ce], cx
ret
sub esp, 0x460
push ebx
mov ebx, dword [esp + 0x470]
push ebp
push esi
mov esi, dword [esp + 0x470]
push edi
mov edi, dword [esp + 0x478]
push 0
push 0
push 1
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x24]
push ecx
sub esp, 0xc
mov edx, esp
mov dword [edx], esi
mov dword [edx + 4], edi
mov dword [edx + 8], ebx
call fcn.0055ffd0
add esp, 0x20
push 0
push 1
push 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x44]
push ecx
sub esp, 0xc
mov edx, esp
mov dword [edx], esi
mov dword [edx + 4], edi
mov dword [edx + 8], ebx
call fcn.0055ffd0
mov eax, dword [esp + 0x54]
add esp, 0x20
test eax, eax
je 0x56049e
push eax
push 1
push 0
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x48]
push ecx
sub esp, 0xc
mov edx, esp
mov dword [edx], esi
mov dword [edx + 4], edi
mov dword [edx + 8], ebx
call fcn.0055ffd0
mov ecx, dword [esp + 0x58]
add esp, 0x20
test ecx, ecx
je 0x5604a6
mov edx, dword [esp + 0x34]
fld dword [edx + 0xc]
fsub dword [edx]
fld dword [ecx + 0xc]
fsub dword [ecx]
fcompp
fnstsw ax
test ah, 0x41
jne 0x5604a6
fld dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
fstp dword [esp + 0x30]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x2c], eax
jmp 0x5604a6
mov dword [esp + 0x38], 0
push 0
push 0
push 0
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x5c]
push edx
sub esp, 0xc
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
call fcn.0055ffd0
movzx ecx, byte [0xb70152]
movzx edx, byte [0xb70150]
movzx eax, byte [0xb70153]
mov dword [esp + 0x3c], ecx
add esp, 0x20
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
fmul dword [0x859044]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
fmul dword [0x864e20]
faddp st(1)
fiadd dword [esp + 0x1c]
fcom dword [0x864e1c]
fnstsw ax
test ah, 5
jnp 0x56051b
fstp st(0)
fld dword [0x864e1c]
movzx ecx, byte [0x8cdecd]
mov dword [esp + 0x1c], ecx
xor ebx, ebx
mov dword [esp + 0x44], ebx
fild dword [esp + 0x1c]
fld st(1)
fcompp
fnstsw ax
test ah, 1
jne 0x56055f
jmp 0x560540
movzx edx, byte [ebx + 0x8cdece]
inc ebx
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fld st(1)
fcompp
fnstsw ax
test ah, 1
je 0x560540
mov dword [esp + 0x44], ebx
lea ebp, [ebx + 1]
and ebp, 0x80000007
jns 0x56056f
dec ebp
or ebp, 0xfffffff8
inc ebp
movzx eax, byte [ebx + 0x8cdecc]
movzx ecx, byte [ebx + 0x8cdecd]
mov dword [esp + 0x24], eax
sub ecx, eax
mov eax, dword [esp + 0x4c]
test eax, eax
fild dword [esp + 0x24]
mov dword [esp + 0x24], ecx
mov edx, dword [0xc8130c]
fsubr st(1)
mov si, word [0xc81320]
fidiv dword [esp + 0x24]
mov di, word [0xc8131c]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x40], edx
mov word [0xb7cb20], si
mov word [0xb7cb24], di
fstp dword [esp + 0x3c]
fstp st(0)
fld dword [0x858624]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x24]
je 0x5605f9
mov eax, dword [eax + 0x1c]
xor ecx, ecx
cmp eax, 8
setge cl
add ecx, 0x15
and eax, 0x80000007
mov dword [esp + 0x10], ecx
jns 0x5605f5
dec eax
or eax, 0xfffffff8
inc eax
mov dword [esp + 0x28], eax
fld dword [0x858624]
movsx esi, si
fsub dword [esp + 0x40]
push esi
push ebx
lea ecx, [esp + 0x274]
fstp dword [esp + 0x20]
call fcn.0055f4b0
push esi
push ebp
lea ecx, [esp + 0x70]
call fcn.0055f4b0
movsx edi, di
push edi
push ebx
lea ecx, [esp + 0x3cc]
mov dword [esp + 0x68], edi
call fcn.0055f4b0
push edi
push ebp
lea ecx, [esp + 0x320]
call fcn.0055f4b0
mov eax, dword [0xb6f03c]
test eax, eax
je 0x560654
add eax, 0x30
jmp 0x560659
mov eax, 0xb6f02c
fld dword [eax + 8]
fsub dword [0x858ba4]
fmul dword [0x858b4c]
fstp dword [esp + 0x20]
fld dword [0x858b50]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x560715
fld dword [0x858b50]
fst dword [esp + 0x20]
fcomp dword [0x858b50]
fnstsw ax
test ah, 0x41
jne 0x560857
fld dword [0x858624]
mov eax, esi
sub eax, 2
fsub dword [esp + 0x20]
mov esi, dword [esp + 0x20]
fstp dword [esp + 0x64]
mov edi, dword [esp + 0x64]
je 0x56073d
dec eax
jne 0x560795
push 1
push ebx
lea ecx, [esp + 0x11c]
call fcn.0055f4b0
push 0
push esi
push edi
lea edx, [esp + 0x120]
push edx
lea eax, [esp + 0x27c]
push eax
lea ecx, [esp + 0x280]
call fcn.0055f870
push 1
push ebp
lea ecx, [esp + 0x11c]
call fcn.0055f4b0
push 0
push esi
push edi
lea ecx, [esp + 0x120]
push ecx
lea edx, [esp + 0x78]
push edx
jmp 0x56078c
fld dword [esp + 0x20]
fld dword [0x858624]
fcomp dword [esp + 0x20]
fnstsw ax
test ah, 5
jp 0x560687
fstp st(0)
mov dword [esp + 0x20], 0x3f800000
jmp 0x56069c
push 0
push ebx
lea ecx, [esp + 0x11c]
call fcn.0055f4b0
push 0
push esi
push edi
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x27c]
push ecx
lea ecx, [esp + 0x280]
call fcn.0055f870
push 0
push ebp
lea ecx, [esp + 0x11c]
call fcn.0055f4b0
push 0
push esi
push edi
lea edx, [esp + 0x120]
push edx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x7c]
call fcn.0055f870
mov eax, dword [esp + 0x60]
sub eax, 2
je 0x5607f9
dec eax
jne 0x560857
push 1
push ebx
lea ecx, [esp + 0x11c]
call fcn.0055f4b0
push 0
push esi
push edi
lea ecx, [esp + 0x120]
push ecx
lea edx, [esp + 0x3d4]
push edx
lea ecx, [esp + 0x3d8]
call fcn.0055f870
push 1
push ebp
lea ecx, [esp + 0x11c]
call fcn.0055f4b0
push 0
push esi
push edi
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x328]
push ecx
jmp 0x56084b
push 0
push ebx
lea ecx, [esp + 0x11c]
call fcn.0055f4b0
push 0
push esi
push edi
lea edx, [esp + 0x120]
push edx
lea eax, [esp + 0x3d4]
push eax
lea ecx, [esp + 0x3d8]
call fcn.0055f870
push 0
push ebp
lea ecx, [esp + 0x11c]
call fcn.0055f4b0
push 0
push esi
push edi
lea ecx, [esp + 0x120]
push ecx
lea edx, [esp + 0x328]
push edx
lea ecx, [esp + 0x32c]
call fcn.0055f870
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x24]
push 0
push esi
push edi
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x27c]
push ecx
lea ecx, [esp + 0x1d4]
call fcn.0055f870
push 0
push esi
push edi
lea edx, [esp + 0x324]
push edx
lea eax, [esp + 0x3d4]
push eax
lea ecx, [esp + 0x128]
call fcn.0055f870
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x480]
push 0
push ecx
push edx
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x1d0]
push ecx
mov ecx, esi
call fcn.0055f870
fld dword [0x858624]
fdiv dword [0x8d4b5c]
movzx edx, word [esi + 0x24]
mov dword [esp + 0x18], edx
fadd dword [0x858b3c]
fmul dword [0x858c84]
fild dword [esp + 0x18]
fmul st(1)
call fcn.00821b40
mov di, ax
movzx eax, word [esi + 0x26]
mov dword [esp + 0x18], eax
mov word [esi + 0x24], di
fild dword [esp + 0x18]
fmul st(1)
call fcn.00821b40
movzx ecx, word [esi + 0x28]
mov dword [esp + 0x18], ecx
mov bx, ax
mov word [esi + 0x26], bx
fild dword [esp + 0x18]
fmul st(1)
call fcn.00821b40
movzx edx, word [esi + 0x2a]
mov dword [esp + 0x18], edx
mov bp, ax
mov word [esi + 0x28], bp
fild dword [esp + 0x18]
fmul st(1)
call fcn.00821b40
mov word [esp + 0x40], ax
mov word [esi + 0x2a], ax
movzx eax, word [esi + 0x2c]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul st(1)
call fcn.00821b40
movzx ecx, word [esi + 0x2e]
mov dword [esp + 0x18], ecx
mov word [esp + 0x20], ax
mov word [esi + 0x2c], ax
fild dword [esp + 0x18]
fmul st(1)
call fcn.00821b40
fstp st(0)
mov word [esi + 0x2e], ax
cmp di, 0xff
movzx ecx, di
jb 0x56098c
mov ecx, 0xff
cmp bx, 0xff
mov word [esi + 0x24], cx
movzx ecx, bx
jb 0x56099f
mov ecx, 0xff
cmp bp, 0xff
mov word [esi + 0x26], cx
movzx ecx, bp
jb 0x5609b2
mov ecx, 0xff
mov word [esi + 0x28], cx
mov cx, word [esp + 0x40]
cmp cx, 0xff
movzx ecx, cx
jb 0x5609ca
mov ecx, 0xff
mov word [esi + 0x2a], cx
mov cx, word [esp + 0x20]
cmp cx, 0xff
movzx ecx, cx
jb 0x5609e2
mov ecx, 0xff
cmp ax, 0xff
mov word [esi + 0x2c], cx
movzx eax, ax
jb 0x5609f4
mov eax, 0xff
mov word [esi + 0x2e], ax
mov eax, dword [0xb79e48]
test eax, eax
je 0x560a26
fild dword [0xb79e48]
fmul dword [0x864e18]
fld dword [esi + 0x50]
fst dword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x560a23
fstp st(0)
fld dword [esp + 0x18]
fstp dword [esi + 0x50]
movzx edx, byte [0xb70153]
movzx ecx, byte [0xb70152]
imul edx, edx, 0x3c
add edx, ecx
mov dword [esp + 0x18], edx
movzx edx, word [0xb70150]
fild dword [esp + 0x18]
mov dword [esp + 0x18], edx
mov eax, dword [0xb79fd0]
inc eax
fild dword [esp + 0x18]
and eax, 0xf
mov dword [0xb79fd0], eax
lea eax, [eax + eax*2]
fmul dword [0x859044]
lea ecx, [eax*4 + 0xb7ca50]
mov eax, ecx
faddp st(1)
mov dword [esp + 0x58], 0xbf333333
fmul dword [0x864e14]
fld st(0)
fsin
fadd dword [0x858cb0]
fstp dword [esp + 0x54]
mov edx, dword [esp + 0x54]
mov dword [eax], edx
fcos
mov edx, dword [esp + 0x58]
mov dword [eax + 4], edx
fsubr dword [0x858cc4]
fstp dword [esp + 0x5c]
mov edx, dword [esp + 0x5c]
mov dword [eax + 8], edx
call fcn.0059c910
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x560e6f
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jl 0x560e6f
mov edi, dword [esp + 0x28]
fld dword [esp + 0x50]
fmul dword [eax + 0x20]
movsx eax, word [esp + 0x10]
imul edi, edi, 0x17
fld dword [0x858624]
fsub st(1)
add edi, eax
movzx eax, byte [edi + 0xb7bf78]
cmp eax, 0xffffffff
mov dword [esp + 0x28], eax
je 0x560b6a
movzx ecx, word [esi + 0x24]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fmul st(1)
fild dword [esp + 0x28]
fmul st(3)
faddp st(1)
call fcn.00821b40
mov word [esi + 0x24], ax
movzx edx, byte [edi + 0xb7bec0]
movzx eax, word [esi + 0x26]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fmul st(2)
fild dword [esp + 0x10]
fmul st(2)
faddp st(1)
call fcn.00821b40
movzx edx, word [esi + 0x28]
mov word [esi + 0x26], ax
movzx ecx, byte [edi + 0xb7be08]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
fmul st(2)
fild dword [esp + 0x10]
fmul st(2)
faddp st(1)
call fcn.00821b40
mov word [esi + 0x28], ax
movzx eax, byte [edi + 0xb7bd50]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x560bed
movzx eax, word [esi + 0x2a]
fild dword [esp + 0x10]
mov dword [esp + 0x10], eax
fmul st(2)
fild dword [esp + 0x10]
fmul st(2)
faddp st(1)
call fcn.00821b40
movzx edx, word [esi + 0x2c]
mov word [esi + 0x2a], ax
movzx ecx, byte [edi + 0xb7bc98]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
fmul st(2)
fild dword [esp + 0x10]
fmul st(2)
faddp st(1)
call fcn.00821b40
movzx ecx, word [esi + 0x2e]
mov word [esi + 0x2c], ax
movzx eax, byte [edi + 0xb7bbe0]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov dword [esp + 0x10], ecx
fmul st(2)
fild dword [esp + 0x10]
fmul st(2)
faddp st(1)
call fcn.00821b40
mov word [esi + 0x2e], ax
movzx eax, byte [edi + 0xb7aaa0]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x560c5e
fild dword [esp + 0x10]
fmul st(2)
fld st(1)
fmul dword [esi + 0x68]
faddp st(1)
fstp dword [esi + 0x68]
movzx edx, byte [edi + 0xb7a9e8]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fmul st(2)
fld st(1)
fmul dword [esi + 0x6c]
faddp st(1)
fstp dword [esi + 0x6c]
movzx eax, byte [edi + 0xb7a930]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul st(2)
fld st(1)
fmul dword [esi + 0x70]
faddp st(1)
fstp dword [esi + 0x70]
movzx ecx, byte [edi + 0xb7a878]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fmul st(2)
fld st(1)
fmul dword [esi + 0x74]
faddp st(1)
fstp dword [esi + 0x74]
movzx eax, byte [edi + 0xb7c3c8]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x560cb2
fild dword [esp + 0x10]
fmul st(2)
fld st(1)
fmul dword [esi]
faddp st(1)
fstp dword [esi]
movzx edx, byte [edi + 0xb7c310]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fmul st(2)
fld st(1)
fmul dword [esi + 4]
faddp st(1)
fstp dword [esi + 4]
movzx eax, byte [edi + 0xb7c258]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul st(2)
fld st(1)
fmul dword [esi + 8]
faddp st(1)
fstp dword [esi + 8]
movzx eax, byte [edi + 0xb7c1a0]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x560d08
fild dword [esp + 0x10]
fmul st(2)
fld st(1)
fmul dword [esi + 0xc]
faddp st(1)
fstp dword [esi + 0xc]
movzx ecx, byte [edi + 0xb7c0e8]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fmul st(2)
fld st(1)
fmul dword [esi + 0x10]
faddp st(1)
fstp dword [esi + 0x10]
movzx edx, byte [edi + 0xb7c030]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fmul st(2)
fld st(1)
fmul dword [esi + 0x14]
faddp st(1)
fstp dword [esi + 0x14]
mov ax, word [edi*2 + 0xb7b1d0]
cmp ax, 0xffff
je 0x560d3e
movsx eax, ax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fcom dword [esi + 0x50]
fnstsw ax
test ah, 5
jnp 0x560d30
fstp st(0)
fld dword [esi + 0x50]
fld st(1)
fmul dword [esi + 0x50]
fxch st(1)
fmul st(3)
faddp st(1)
fstp dword [esi + 0x50]
mov ax, word [edi*2 + 0xb7b060]
cmp ax, 0xffff
je 0x560d63
movsx ecx, ax
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fmul st(2)
fld st(1)
fmul dword [esi + 0x54]
faddp st(1)
fstp dword [esi + 0x54]
movzx eax, byte [edi + 0xb7a7c0]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x560de0
fild dword [esp + 0x10]
fmul st(2)
fld st(1)
fmul dword [esi + 0x78]
faddp st(1)
fstp dword [esi + 0x78]
movzx edx, byte [edi + 0xb7a708]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fmul st(2)
fld st(1)
fmul dword [esi + 0x7c]
faddp st(1)
fstp dword [esi + 0x7c]
movzx eax, byte [edi + 0xb7a650]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul st(2)
fld st(1)
fmul dword [esi + 0x80]
faddp st(1)
fstp dword [esi + 0x80]
movzx ecx, byte [edi + 0xb7a598]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fmul st(2)
fld st(1)
fmul dword [esi + 0x84]
faddp st(1)
fstp dword [esi + 0x84]
movzx eax, byte [edi + 0xb7a4e0]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x560e6b
fild dword [esp + 0x10]
fmul st(2)
fld st(1)
fmul dword [esi + 0x88]
faddp st(1)
fstp dword [esi + 0x88]
movzx edx, byte [edi + 0xb7a428]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fmul st(2)
fld st(1)
fmul dword [esi + 0x8c]
faddp st(1)
fstp dword [esi + 0x8c]
movzx eax, byte [edi + 0xb7a370]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul st(2)
fld st(1)
fmul dword [esi + 0x90]
faddp st(1)
fstp dword [esi + 0x90]
movzx ecx, byte [edi + 0xb7a2b8]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fmul st(2)
fxch st(1)
fmul dword [esi + 0x94]
faddp st(1)
fstp dword [esi + 0x94]
jmp 0x560e6d
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x14]
test eax, eax
je 0x560ea5
movzx edx, byte [eax + 0x1a]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fmul dword [0x864e10]
fmul dword [esp + 0x48]
fld dword [0x858624]
fsub dword [esp + 0x48]
fmul dword [esi + 0xa8]
faddp st(1)
fstp dword [esi + 0xa8]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x560ee0
movsx eax, word [eax + 0x18]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fcom dword [esi + 0x50]
fnstsw ax
test ah, 5
jnp 0x560ec8
fstp st(0)
fld dword [esi + 0x50]
fld dword [0x858624]
fsub dword [esp + 0x2c]
fmul dword [esi + 0x50]
fxch st(1)
fmul dword [esp + 0x2c]
faddp st(1)
fstp dword [esi + 0x50]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x560f1b
movsx ecx, word [eax + 0x18]
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fcom dword [esi + 0x50]
fnstsw ax
test ah, 5
jnp 0x560f03
fstp st(0)
fld dword [esi + 0x50]
fld dword [0x858624]
fsub dword [esp + 0x30]
fmul dword [esi + 0x50]
fxch st(1)
fmul dword [esp + 0x30]
faddp st(1)
fstp dword [esi + 0x50]
mov eax, dword [0xb7c484]
fld dword [0xb7cb5c]
test eax, eax
fmul dword [0x864e0c]
je 0x560f53
fadd dword [0xb79e3c]
fld dword [0x858624]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x560f79
fstp st(0)
mov dword [0xb79e3c], 0x3f800000
jmp 0x560f92
fsubr dword [0xb79e3c]
fld dword [0x858b50]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x560f79
fstp st(0)
mov dword [0xb79e3c], 0
jmp 0x561003
fstp dword [0xb79e3c]
fld dword [0xb79e3c]
fcomp dword [0x858b50]
fnstsw ax
test ah, 0x41
jne 0x561003
fld dword [0x858624]
mov ebx, dword [0xb79e40]
fsub dword [0xb79e3c]
mov edi, dword [0xb79e44]
push ebx
push edi
lea ecx, [esp + 0x1c8]
fstp dword [esp + 0x1c]
call fcn.0055f4b0
imul edi, edi, 0x17
lea eax, [edi + ebx]
mov cl, byte [eax + 0xb7bf78]
test cl, cl
jne 0x560fe4
mov cl, byte [eax + 0xb7bec0]
test cl, cl
jne 0x560fe4
mov cl, byte [eax + 0xb7be08]
test cl, cl
jne 0x560fe4
mov al, 1
jmp 0x560fe6
xor al, al
mov edx, dword [0xb79e3c]
push eax
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x1cc]
push ecx
push esi
mov ecx, esi
call fcn.0055f870
fld dword [0xc8132c]
fcomp dword [0x858b50]
fnstsw ax
test ah, 0x41
jne 0x561124
mov edx, dword [esp + 0x44]
push 0x14
push edx
lea ecx, [esp + 0x11c]
call fcn.0055f4b0
mov eax, dword [esp + 0x1c]
push 0x14
push eax
lea ecx, [esp + 0x1c8]
call fcn.0055f4b0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
push 0
push ecx
push edx
lea eax, [esp + 0x1cc]
push eax
lea ecx, [esp + 0x124]
push ecx
lea ecx, [esp + 0x7c]
call fcn.0055f870
fld dword [0x858624]
mov dx, word [esp + 0x8c]
fsub dword [0xc8132c]
mov ax, word [esp + 0x8e]
mov cx, word [esp + 0x90]
mov word [esp + 0x8c], dx
mov dx, word [esp + 0x92]
mov word [esp + 0x92], dx
mov edx, dword [esp + 0x68]
mov word [esp + 0x8e], ax
mov ax, word [esp + 0x94]
mov word [esp + 0x90], cx
mov cx, word [esp + 0x96]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x74]
mov word [esp + 0x94], ax
mov eax, dword [esp + 0x6c]
mov word [esp + 0x96], cx
mov ecx, dword [esp + 0x70]
push 0
mov dword [esp + 0x78], edx
mov edx, dword [0xc8132c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x80]
push edx
push ecx
mov dword [esp + 0x84], eax
fstp dword [esp]
lea eax, [esp + 0x74]
push eax
mov dword [esp + 0x8c], ecx
push esi
mov ecx, esi
call fcn.0055f870
fld dword [0xc81334]
fcomp dword [0x858b50]
fnstsw ax
test ah, 0x41
jne 0x5611c2
fld dword [0x858624]
mov eax, dword [0x8cdee0]
fsub dword [0xc81334]
mov edi, eax
and edi, 0x80000007
fstp dword [esp + 0x14]
jns 0x56115f
dec edi
or edi, 0xfffffff8
inc edi
cdq
and edx, 7
add eax, edx
mov ebx, eax
sar ebx, 3
add ebx, 0x15
push ebx
push edi
lea ecx, [esp + 0x1c8]
call fcn.0055f4b0
imul edi, edi, 0x17
mov al, byte [edi + ebx + 0xb7bf78]
add edi, ebx
test al, al
jne 0x5611a3
mov al, byte [edi + 0xb7bec0]
test al, al
jne 0x5611a3
mov al, byte [edi + 0xb7be08]
test al, al
jne 0x5611a3
mov al, 1
jmp 0x5611a5
xor al, al
mov ecx, dword [0xc81334]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
lea eax, [esp + 0x1cc]
push eax
push esi
mov ecx, esi
call fcn.0055f870
fld dword [esi]
call fcn.00821b40
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [0x859a3c]
fstp dword [esi]
fld dword [esi + 4]
call fcn.00821b40
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [0x859a3c]
fstp dword [esi + 4]
fld dword [esi + 8]
call fcn.00821b40
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [0x859a3c]
fstp dword [esi + 8]
fld dword [esi + 0xc]
call fcn.00821b40
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [0x859a3c]
fstp dword [esi + 0xc]
fld dword [esi + 0x10]
call fcn.00821b40
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [0x859a3c]
fstp dword [esi + 0x10]
fld dword [esi + 0x14]
call fcn.00821b40
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [0x859a3c]
fstp dword [esi + 0x14]
mov eax, dword [0xb79fd0]
lea ecx, [eax*4 + 0xb79e50]
push ecx
lea edx, [eax*4 + 0xb79e90]
push edx
lea ecx, [eax*4 + 0xb79ed0]
push ecx
lea edx, [eax*4 + 0xb79f10]
push edx
lea ecx, [eax*4 + 0xb79f50]
push ecx
lea edx, [eax*4 + 0xb79f90]
push edx
lea eax, [eax + eax*2]
lea ecx, [eax*4 + 0xb7ca50]
mov eax, dword [ecx]
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
call fcn.007076c0
fld dword [0xb6f9b4]
fcomp dword [0x858cac]
add esp, 0x24
fnstsw ax
test ah, 5
jnp 0x561301
mov al, byte [0xc812ac]
test al, al
jne 0x5612e9
call fcn.0072ddc0
test al, al
jne 0x561301
call fcn.0072ddb0
test al, al
jne 0x561301
mov al, byte [0xb5f851]
test al, al
jne 0x561301
mov eax, dword [0xb79e48]
dec eax
xor edx, edx
test eax, eax
setle dl
dec edx
and edx, eax
mov dword [0xb79e48], edx
jmp 0x56131b
mov eax, dword [0xb79e48]
inc eax
cmp eax, 0x40
mov dword [0xb79e48], eax
jl 0x56131b
mov dword [0xb79e48], 0x40
mov eax, dword [0xb6f03c]
test eax, eax
je 0x561329
add eax, 0x30
jmp 0x56132e
mov eax, 0xb6f02c
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
fld dword [esp + 0x20]
fcomp dword [0x858a48]
fnstsw ax
test ah, 5
jnp 0x5613a6
fld dword [esp + 0x20]
fcomp dword [0x858b58]
fld dword [esi + 0x50]
fnstsw ax
test ah, 0x41
jne 0x561371
fcom dword [0x858c4c]
fnstsw ax
test ah, 5
jnp 0x5613a3
fstp st(0)
fld dword [0x858c4c]
jmp 0x5613a3
fcomp dword [0x858c4c]
fnstsw ax
test ah, 0x41
jne 0x5613a6
fld dword [esp + 0x20]
fsub dword [0x858a48]
fmul dword [0x864e08]
fld dword [0x858624]
fsub st(1)
fmul dword [esi + 0x50]
fxch st(1)
fmul dword [0x858c4c]
faddp st(1)
fstp dword [esi + 0x50]
mov ecx, dword [esp + 0x44]
movzx edx, byte [ecx + 0x8cded8]
mov eax, dword [esp + 0x1c]
movzx ecx, byte [eax + 0x8cded8]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
mov dword [esp + 0x14], ecx
fmul dword [esp + 0x24]
fild dword [esp + 0x14]
fmul dword [esp + 0x3c]
faddp st(1)
call fcn.00821b40
fld dword [0x858624]
fsub dword [0xc8132c]
movzx edx, al
movzx eax, word [0xb7c4ca]
mov dword [esp + 0x14], edx
fimul dword [esp + 0x14]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [0xc8132c]
fadd st(1)
call fcn.00821b40
movzx ecx, word [0xb7c4cc]
mov dword [esp + 0x14], ecx
mov byte [0xb7cb10], al
fild dword [esp + 0x14]
fmul dword [0xc8132c]
fadd st(1)
call fcn.00821b40
movzx edx, word [0xb7c4ce]
mov dword [esp + 0x14], edx
mov byte [0xb7cb11], al
fild dword [esp + 0x14]
fmul dword [0xc8132c]
fadd st(1)
call fcn.00821b40
fstp st(0)
mov byte [0xb7cb12], al
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
fild dword [0xba6784]
fcom dword [0x858fb4]
fnstsw ax
test ah, 5
jp 0x5614a2
fmul dword [0x859aa0]
fmul dword [0x858c98]
fadd dword [0x858cc4]
fld st(0)
fmul dword [esi]
fstp dword [esi]
fld st(0)
fmul dword [esi + 4]
fstp dword [esi + 4]
fld st(0)
fmul dword [esi + 8]
jmp 0x5614fb
fsub dword [0x858fb4]
fmul dword [0x858b88]
fadd dword [0x858624]
fld dword [esi + 4]
fld dword [esi]
fst dword [esp + 0x14]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x5614cc
fstp st(0)
fld dword [esp + 0x14]
mov eax, dword [esi + 8]
mov dword [esp + 0x1c], eax
fcom dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
je 0x5614e4
fstp st(0)
fld dword [esp + 0x1c]
fld st(0)
fmul st(2)
fsubrp st(1)
fld st(0)
fadd dword [esi]
fstp dword [esi]
fld st(0)
fadd dword [esi + 4]
fstp dword [esi + 4]
fadd dword [esi + 8]
fstp dword [esi + 8]
fcom dword [0x858624]
fnstsw ax
test ah, 0x41
jne 0x5615d0
fsub dword [0x858624]
fmul dword [0x859934]
fld dword [esi + 4]
fld dword [esi]
fst dword [esp + 0x14]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x561533
fstp st(0)
fld dword [esp + 0x14]
mov ecx, dword [esi + 8]
mov dword [esp + 0x1c], ecx
fcom dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
je 0x56154b
fstp st(0)
fld dword [esp + 0x1c]
fcom dword [0x858b50]
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov dword [esp + 0x10], eax
fnstsw ax
mov dword [esp + 0x14], edx
mov dword [esp + 0x28], ecx
test ah, 0x44
jp 0x561581
mov eax, 0x3a83126f
fstp st(0)
fld dword [0x858cdc]
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi], eax
fld st(1)
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x5615a4
fdivp st(1)
fld st(0)
fmul dword [esi]
fstp dword [esi]
fld st(0)
fmul dword [esi + 4]
fstp dword [esi + 4]
fmul dword [esi + 8]
fstp dword [esi + 8]
jmp 0x5615a8
fstp st(0)
fstp st(0)
fld dword [esi]
fsub dword [esp + 0x14]
fstp dword [0xb79e38]
fld dword [esi + 4]
fsub dword [esp + 0x10]
fstp dword [0xb79e34]
fld dword [esi + 8]
fsub dword [esp + 0x28]
fstp dword [0xb79e30]
jmp 0x5615d2
fstp st(0)
fld dword [0x858b50]
fld dword [esp + 0x474]
fcomp dword [0x859a90]
fnstsw ax
test ah, 5
jp 0x5615fd
fstp st(0)
fld dword [0x859a90]
fsub dword [esp + 0x474]
jmp 0x561620
fld dword [esp + 0x474]
fcomp dword [0x859a94]
fnstsw ax
test ah, 0x41
jne 0x561620
fstp st(0)
fld dword [esp + 0x474]
fsub dword [0x859a94]
fld dword [esp + 0x478]
fcomp dword [0x859a90]
fld dword [esp + 0x478]
fnstsw ax
test ah, 5
jp 0x561645
fadd dword [0x859a94]
fsubp st(1)
jmp 0x561661
fcomp dword [0x859a94]
fnstsw ax
test ah, 0x41
jne 0x561661
fld dword [esp + 0x478]
fsub dword [0x859a94]
faddp st(1)
fcom dword [0x858c4c]
fnstsw ax
test ah, 1
jne 0x56168d
fstp st(0)
fld dword [esi + 0xa8]
fadd st(0), st(0)
fstp dword [esi + 0xa8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x460
jmp 0x560210
fcom dword [0x858b50]
fnstsw ax
test ah, 1
jne 0x5616c1
fmul dword [0x858cdc]
fadd dword [0x858624]
fmul dword [esi + 0xa8]
fstp dword [esi + 0xa8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x460
jmp 0x560210
fstp st(0)
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x460
jmp 0x560210