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

Disassembly:
push ebx
push esi
mov ebx, ecx
push edi
push ebp
sub esp, 0x98
movsx edx, byte [ebx + 0x504]
lea edx, [edx + edx*2]
mov eax, dword [ebx + edx*8 + 0x408]
push eax
call fcn.005d5730
mov ebp, eax
mov eax, dword [esp + 0x14]
xor eax, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0x14], eax
mov al, byte [ebx + 0x14c]
shr al, 2
pop ecx
and al, 1
jne 0x52b0d2
inc edx
test dl, dl
jne 0x52b0de
mov dword [esp + 0x10], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], 0
fld dword [ebp + 0x38]
fstp dword [esp + 0x24]
fld dword [ebp + 0x3c]
fstp dword [esp + 0x28]
fld dword [ebp + 0x40]
fstp dword [esp + 0x2c]
mov al, byte [ebx + 0x150]
shr al, 4
and al, 1
je 0x52b1a0
mov edi, dword [ebp + 0x5c]
xor edx, edx
xor eax, eax
and edi, 0x20000
jne 0x52b12c
inc eax
test al, al
jne 0x52b135
mov edx, 1
test dl, dl
je 0x52b140
mov eax, 0xce
jmp 0x52b142
xor eax, eax
test eax, eax
je 0x52b23d
mov al, byte [ebx + 0x150]
shr al, 3
and al, 1
je 0x52b23d
test dl, dl
je 0x52b166
mov ecx, 0xce
jmp 0x52b168
xor ecx, ecx
mov eax, dword [ebx + 0x4c]
push ecx
push eax
call fcn.00407780
test eax, eax
pop ecx
mov dword [esp + 0x10], eax
pop ecx
je 0x52b23d
fld dword [ebp + 0x44]
fstp dword [esp + 0x24]
fld dword [ebp + 0x48]
fstp dword [esp + 0x28]
fld dword [ebp + 0x4c]
fstp dword [esp + 0x2c]
jmp 0x52b23d
cmp dword [ebx + 0x3d4], 6
jne 0x52b217
mov esi, dword [ebp + 0x5c]
xor ecx, ecx
xor eax, eax
and esi, 0x40000
jne 0x52b1b9
inc eax
test al, al
jne 0x52b1c2
mov ecx, 1
test cl, cl
je 0x52b1d0
mov eax, 0xd1
jmp 0x52b1d2
xor eax, eax
test eax, eax
je 0x52b217
test cl, cl
je 0x52b1e1
mov edx, 0xd1
jmp 0x52b1e3
xor edx, edx
mov eax, dword [ebx + 0x4c]
push edx
push eax
call fcn.00407780
test eax, eax
pop ecx
mov dword [esp + 0x10], eax
pop ecx
je 0x52b23d
fld dword [0x69430c]
fstp dword [esp + 0x24]
fld dword [0x694310]
fstp dword [esp + 0x28]
fld dword [0x694314]
fstp dword [esp + 0x2c]
jmp 0x52b23d
mov eax, dword [ebp + 0x5c]
and eax, 0x200000
je 0x52b228
mov esi, 0x3e
jmp 0x52b22d
mov esi, 0xcd
mov eax, dword [ebx + 0x4c]
push esi
push eax
call fcn.00407780
mov dword [esp + 0x14], eax
pop ecx
pop ecx
mov edi, dword [ebp + 0x5c]
xor edx, edx
xor eax, eax
and edi, 0x8000
jne 0x52b24d
inc eax
test al, al
jne 0x52b256
mov edx, 1
test dl, dl
je 0x52b261
mov eax, 0xcf
jmp 0x52b263
xor eax, eax
test eax, eax
je 0x52b284
test dl, dl
je 0x52b272
mov ecx, 0xcf
jmp 0x52b274
xor ecx, ecx
mov eax, dword [ebx + 0x4c]
push ecx
push eax
call fcn.00407780
mov dword [esp + 0x1c], eax
pop ecx
pop ecx
mov esi, dword [ebp + 0x5c]
xor ecx, ecx
xor eax, eax
and esi, 0x8000
jne 0x52b294
inc eax
test al, al
jne 0x52b29d
mov ecx, 1
test cl, cl
je 0x52b2a8
mov eax, 0xd0
jmp 0x52b2aa
xor eax, eax
test eax, eax
je 0x52b2d2
cmp dword [esp + 0x14], 0
jne 0x52b2d2
test cl, cl
je 0x52b2c0
mov edi, 0xd0
jmp 0x52b2c2
xor edi, edi
mov eax, dword [ebx + 0x4c]
push edi
push eax
call fcn.00407780
mov dword [esp + 0x1c], eax
pop ecx
pop ecx
cmp dword [esp + 0x14], 0
je 0x52b317
mov eax, dword [esp + 0x14]
movzx eax, word [eax + 0x2e]
and eax, 1
je 0x52b317
mov ecx, ebx
call fcn.004f4950
test al, al
je 0x52b305
cmp byte [ebx + 0x61c], 0
jne 0x52b305
add esp, 0x98
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, ebx
call fcn.0052d140
add esp, 0x98
pop ebp
pop edi
pop esi
pop ebx
ret
cmp dword [esp + 0x14], 0
je 0x52b342
mov eax, dword [esp + 0x14]
or word [eax + 0x2e], 4
fld dword [eax + 0x1c]
fcomp dword [0x69414c]
fnstsw ax
test ah, 5
jne 0x52b342
mov eax, dword [esp + 0x14]
mov dword [eax + 0x1c], 0xc1000000
mov ecx, dword [ebp + 0x5c]
xor edx, edx
xor eax, eax
and ecx, 0x400
jne 0x52b352
inc eax
test al, al
jne 0x52b35b
mov edx, 1
test dl, dl
je 0x52b366
mov eax, 0xcf
jmp 0x52b368
xor eax, eax
test eax, eax
je 0x52b389
test dl, dl
je 0x52b377
mov esi, 0xcf
jmp 0x52b379
xor esi, esi
mov eax, dword [ebx + 0x4c]
push esi
push eax
call fcn.00407780
mov dword [esp + 0x20], eax
pop ecx
pop ecx
mov eax, dword [ebx + 0x548]
mov edi, dword [0x974b34]
cmp edi, eax
jae 0x52b39e
mov byte [esp + 0x10], 1
cmp dword [esp + 0xc], 0
mov byte [esp + 0x1c], 0
jne 0x52b43e
mov esi, dword [ebp + 0x5c]
xor ecx, ecx
xor eax, eax
and esi, 0x100000
jne 0x52b3be
inc eax
test al, al
jne 0x52b3c7
mov ecx, 1
test cl, cl
je 0x52b3d2
mov eax, 0xcf
jmp 0x52b3d4
xor eax, eax
test eax, eax
je 0x52b43e
test cl, cl
je 0x52b3e3
mov edx, 0xcf
jmp 0x52b3e5
xor edx, edx
mov eax, dword [ebx + 0x4c]
push edx
push eax
call fcn.00407780
test eax, eax
pop ecx
mov dword [esp + 0x10], eax
pop ecx
je 0x52b43e
mov ecx, ebx
call fcn.004f4950
test al, al
je 0x52b409
mov byte [esp + 0x1c], 1
mov eax, dword [ebp + 0x34]
mov edi, dword [ebp + 0x34]
sub eax, 7
cmp eax, 5
ja case.default.0x52b417
jmp dword [eax*4 + 0x694658]
jmp case.0x52b417.9
fld dword [0x6941f0]
fstp dword [esp + 0x2c]
fld dword [0x694194]
fstp dword [esp + 0x24]
fld dword [0x694318]
fstp dword [esp + 0x28]
cmp dword [esp + 0xc], 0
jne 0x52b4ac
mov esi, dword [ebp + 0x5c]
xor edx, edx
xor eax, eax
and esi, 0x1000
jne 0x52b455
inc eax
test al, al
jne 0x52b45e
mov edx, 1
test dl, dl
je 0x52b470
mov eax, 0xce
jmp 0x52b472
xor eax, eax
test eax, eax
je 0x52b4ac
test dl, dl
je 0x52b481
mov ecx, 0xce
jmp 0x52b483
xor ecx, ecx
mov eax, dword [ebx + 0x4c]
push ecx
push eax
call fcn.00407780
test eax, eax
pop ecx
mov dword [esp + 0x10], eax
pop ecx
je 0x52b4ac
fld dword [ebp + 0x44]
fstp dword [esp + 0x24]
fld dword [ebp + 0x48]
fstp dword [esp + 0x28]
fld dword [ebp + 0x4c]
fstp dword [esp + 0x2c]
cmp dword [esp + 0xc], 0
jne 0x52b542
mov esi, dword [ebp + 0x5c]
xor ecx, ecx
mov edi, esi
xor eax, eax
and edi, 0x2000
jne 0x52b4c9
inc eax
test al, al
jne 0x52b4d2
mov ecx, 1
test cl, cl
je 0x52b4e0
mov eax, 0xce
jmp 0x52b4f2
mov eax, esi
and eax, 0x80000
je 0x52b4f0
mov eax, 0xd1
jmp 0x52b4f2
xor eax, eax
test eax, eax
je 0x52b515
test cl, cl
je 0x52b501
mov esi, 0xce
jmp 0x52b512
and esi, 0x80000
je 0x52b510
mov esi, 0xd1
jmp 0x52b512
xor esi, esi
push esi
jmp 0x52b517
push 0x41
mov eax, dword [ebx + 0x4c]
push eax
call fcn.00407780
mov dword [esp + 0x14], eax
pop ecx
pop ecx
cmp dword [esp + 0xc], 0
je 0x52b542
fld dword [ebp + 0x44]
fstp dword [esp + 0x24]
fld dword [ebp + 0x48]
fstp dword [esp + 0x28]
fld dword [ebp + 0x4c]
fstp dword [esp + 0x2c]
cmp dword [esp + 0xc], 0
je 0x52c350
cmp byte [esp + 0x1c], 0
je 0x52c5c8
mov ecx, ebx
call fcn.004f4950
test al, al
fldz
je 0x52c5d1
mov dl, byte [ebx + 0x61c]
test dl, dl
jne 0x52b589
fld dword [ebx + 0x5fc]
fcomp dword [0x694180]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x52b597
mov eax, dword [esp + 0xc]
or word [eax + 0x2e], 1
jmp 0x52c5d8
test dl, dl
jne 0x52c5e0
mov eax, dword [esp + 0xc]
fld dword [eax + 0x20]
fst st(1)
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x45
jne 0x52c5e7
mov eax, dword [esp + 0xc]
fld st(0)
fsub dword [eax + 0x28]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 4
jne 0x52c5f0
and ah, 0x45
test ah, 0x41
je 0x52c5f0
mov eax, dword [esp + 0xc]
and word [eax + 0x2e], 0xfffe
fldz
fld dword [0x69431c]
fmul dword [esp + 0x24]
mov eax, dword [esp + 0xc]
fstp st(1)
fld dword [eax + 0x20]
fstp st(2)
fld st(1)
fcomp st(1)
fnstsw ax
test ah, 0x45
jne 0x52b677
mov eax, dword [esp + 0xc]
fld st(1)
fsub dword [eax + 0x28]
fcomp st(1)
fnstsw ax
test ah, 4
jne 0x52b677
and ah, 0x45
test ah, 0x41
je 0x52b677
mov al, byte [ebx + 0x150]
shr al, 4
and al, 1
jne 0x52b670
cmp dword [ebx + 0x3d4], 6
jne 0x52b657
mov eax, dword [ebp + 0x5c]
and eax, 0x40000
je 0x52b647
mov esi, 0xd1
jmp 0x52b649
xor esi, esi
mov eax, dword [esp + 0xc]
movsx eax, word [eax + 0x2c]
cmp eax, esi
jne 0x52b657
jmp 0x52b670
mov eax, dword [ebp + 0x5c]
and eax, 0x80
je 0x52b670
or dword [ebx + 0x234], 4
jmp 0x52b677
and dword [ebx + 0x234], 0xfffffffb
movsx edx, byte [ebx + 0x504]
lea edx, [edx*8]
lea edx, [edx + edx*2]
add edx, ebx
add edx, 0x408
mov eax, edx
mov ecx, dword [eax]
cmp ecx, 0xb
jne 0x52b816
cmp byte [esp + 0x1c], 0
jne 0x52b6c3
fld dword [esp + 0x2c]
fsub dword [0x694180]
mov eax, dword [esp + 0xc]
fcomp dword [eax + 0x20]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x52b816
mov eax, dword [esp + 0xc]
fld dword [eax + 0x20]
fsub dword [eax + 0x28]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 4
jne 0x52b816
and ah, 0x45
test ah, 0x41
je 0x52b816
lea esi, [ebp + 0x28]
lea edi, [esp + 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xc]
cmp word [eax + 0x2c], 0xce
jne 0x52b711
fld dword [0x694320]
fmul dword [ebp + 0x1c]
fsub dword [0x694148]
fstp dword [esp + 0x44]
lea eax, [esp + 0x3c]
lea edi, [ebx + 4]
fcompp
push eax
lea eax, [esp + 0x78]
push edi
push eax
call fcn.004dff40
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], edx
movsx ecx, byte [ebx + 0x504]
lea eax, [esp + 0x48]
add esp, 0xc
push eax
push ebx
lea ecx, [ecx*8]
lea ecx, [ecx + ecx*2]
add ecx, ebx
add ecx, 0x408
call fcn.005d4600
movsx eax, byte [ebx + 0x504]
fldz
lea eax, [eax + eax*2]
mov esi, dword [ebx + eax*8 + 0x40c]
cmp esi, 4
jne 0x52b7d3
mov eax, dword [ebx + 0x108]
fld dword [0x69420c]
test eax, eax
fstp st(1)
je 0x52b7ab
mov cl, byte [eax + 0x50]
and cl, 7
movzx eax, cl
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
fstp st(1)
push eax
mov ecx, 0xa10b93
fst dword [esp]
mov eax, dword [ebx + 0x64]
push 0x36
push eax
fstp st(0)
call fcn.005f9dc0
mov ecx, ebx
call fcn.004f4950
test al, al
je 0x52b80c
push 0xb4
jmp 0x52b7f8
mov eax, dword [ebx + 0x64]
mov ecx, 0xa10b93
push dword [0x69414c]
push 0x35
push eax
fstp st(0)
call fcn.005f9dc0
mov ecx, ebx
call fcn.004f4950
test al, al
je 0x52b80c
push 0x5a
push 0xf0
push 0
call fcn.004ab080
pop ecx
mov ecx, eax
call fcn.004ad300
mov byte [esp + 0x10], 0
jmp 0x52c5f7
mov eax, dword [edx]
cmp eax, 0xb
jne 0x52b840
fcompp
mov eax, dword [ebx + 0x64]
mov ecx, 0xa10b93
push dword [0x69414c]
push 0x34
push eax
call fcn.005f9dc0
jmp 0x52c600
mov eax, dword [esp + 0xc]
fld dword [eax + 0x20]
fstp st(2)
fld st(1)
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 0x45
jne 0x52bb70
mov eax, dword [esp + 0xc]
fld st(1)
fsub dword [eax + 0x28]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 4
jne 0x52bb70
and ah, 0x45
test ah, 0x41
je 0x52bb70
mov eax, dword [esp + 0xc]
movzx eax, word [eax + 0x2e]
and eax, 1
je 0x52bb70
lea esi, [ebp + 0x28]
lea edi, [esp + 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x34]
cmp eax, 0xa
je 0x52b8a6
cmp eax, 0xb
jne 0x52b906
mov eax, dword [esp + 0xc]
cmp word [eax + 0x2c], 0xce
jne 0x52b8c5
fld dword [0x694320]
fmul dword [ebp + 0x1c]
fsub dword [0x694148]
fstp dword [esp + 0x50]
lea eax, [esp + 0x48]
lea esi, [ebx + 4]
fcompp
push eax
lea eax, [esp + 0x84]
push esi
push eax
call fcn.004dff40
mov eax, dword [esp + 0x8c]
add esp, 0xc
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
jmp 0x52b9b5
cmp dword [ebp], 0
jne 0x52b950
lea eax, [esp + 0x48]
lea edx, [ebx + 4]
fcompp
push eax
lea eax, [esp + 0x90]
push edx
push eax
call fcn.004dff40
mov eax, dword [esp + 0x98]
add esp, 0xc
mov edi, dword [esp + 0x90]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], eax
jmp 0x52b9b5
fcompp
mov eax, dword [ebx + 0x4c]
push eax
call fcn.0057f270
mov esi, eax
mov eax, dword [esp + 0x10]
cmp word [eax + 0x2c], 0xce
pop ecx
jne 0x52b980
cmp dword [ebp + 0x34], 7
jne 0x52b980
mov ecx, dword [ebx + 0x1d0]
mov eax, dword [ecx + 0x14]
jmp 0x52b989
mov edx, dword [ebx + 0x1c0]
mov eax, dword [edx + 0x14]
push eax
push esi
call fcn.006463e0
mov edi, eax
pop ecx
pop ecx
push esi
call fcn.006463c0
shl edi, 6
pop ecx
lea ecx, [esp + 0x48]
add edi, eax
lea eax, [esp + 0x48]
push edi
push 1
push ecx
push eax
call fcn.006471b0
add esp, 0x10
movsx ecx, byte [ebx + 0x504]
lea eax, [esp + 0x48]
push eax
push ebx
lea ecx, [ecx*8]
lea ecx, [ecx + ecx*2]
add ecx, ebx
add ecx, 0x408
call fcn.005d4600
movsx eax, byte [ebx + 0x504]
lea eax, [eax*8]
lea eax, [eax + eax*2]
add eax, ebx
add eax, 0x408
mov esi, eax
mov edi, dword [esi]
cmp edi, 0xc
je 0x52ba0f
mov esi, dword [eax]
mov ecx, esi
cmp ecx, 0xd
je 0x52ba0f
mov edx, esi
cmp edx, 0xf
je 0x52ba0f
cmp esi, 0xe
jne 0x52ba23
mov edx, dword [eax]
push edx
call fcn.005d5730
mov eax, dword [eax + 0x54]
pop ecx
mov ecx, ebx
push eax
call fcn.004ffda0
movsx eax, byte [ebx + 0x504]
lea eax, [eax + eax*2]
cmp dword [ebx + eax*8 + 0x414], 0
jne 0x52ba4d
cmp dword [ebp], 0
je 0x52ba4d
call fcn.004bc140
cmp eax, ebx
je 0x52ba4d
mov ecx, ebx
call fcn.0051c820
movsx ecx, byte [ebx + 0x504]
lea ecx, [ecx*8]
lea ecx, [ecx + ecx*2]
add ecx, ebx
add ecx, 0x408
mov eax, ecx
mov esi, dword [eax + 4]
cmp esi, 4
jne 0x52bb5f
mov dword [esp + 8], 0
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x52bab2
fld dword [0x69414c]
fcomp dword [ebx + 0x104]
fnstsw ax
and ah, 0x44
cmp ah, 0x40
je 0x52baa5
mov al, byte [edx + 0x50]
and al, 7
cmp al, 1
je 0x52bab2
mov dl, byte [edx + 0x50]
and dl, 7
movzx eax, dl
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x34]
mov edi, dword [ebp + 0x34]
sub eax, 7
cmp eax, 5
ja case.0x52bac0.8
jmp dword [eax*4 + 0x694640]
mov eax, dword [esp + 0xc]
movsx eax, word [eax + 0x2c]
cmp eax, 0xcd
je 0x52badd
cmp eax, 0xcf
jne case.0x52bac0.8
mov ecx, dword [ecx]
mov dword [esp + 0x34], 0
shl ecx, 8
or ecx, dword [esp + 8]
mov eax, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x30], eax
push eax
fild qword [esp + 0x34]
fstp dword [esp]
push 0x2e
jmp 0x52bb29
mov edx, dword [ecx]
mov dword [esp + 0x34], 0
shl edx, 8
or edx, dword [esp + 8]
mov eax, edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x30], eax
push eax
fild qword [esp + 0x34]
fstp dword [esp]
push 0x32
mov eax, dword [ebx + 0x64]
mov ecx, 0xa10b93
push eax
call fcn.005f9dc0
mov al, byte [ebx + 0x14c]
shr al, 2
and al, 1
jne 0x52bb54
mov eax, dword [ebx + 0x548]
mov esi, dword [0x974b34]
cmp esi, eax
jae 0x52bb5f
mov eax, dword [esp + 0xc]
mov dword [eax + 0x30], 0
mov byte [esp + 0x10], 0
jmp 0x52c607
mov eax, dword [esp + 0xc]
fld dword [eax + 0x24]
fcomp dword [0x694148]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x52c610
mov eax, dword [esp + 0xc]
fstp st(0)
mov dword [eax + 0x24], 0x3f800000
cmp dword [ebp + 0x34], 0xf
jne 0x52c617
cmp dword [ebp], 1
jne 0x52c620
mov eax, dword [esp + 0xc]
fld dword [eax + 0x20]
fst st(1)
fcomp dword [0x694148]
fnstsw ax
test ah, 0x45
jne 0x52c627
mov eax, dword [esp + 0xc]
fld st(0)
fsub dword [eax + 0x28]
fcomp dword [0x694148]
fnstsw ax
test ah, 4
jne 0x52c630
and ah, 0x45
test ah, 0x41
je 0x52c630
mov eax, dword [esp + 0xc]
movzx eax, word [eax + 0x2e]
and eax, 1
je 0x52c637
lea esi, [ebp + 0x28]
lea edi, [esp + 0x54]
movsd dword es:[edi], dword [esi]
fstp st(0)
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x4c]
push eax
call fcn.0057f270
mov edx, dword [ebx + 0x1c0]
mov edi, eax
mov eax, dword [edx + 0x14]
pop ecx
push eax
push edi
call fcn.006463e0
pop ecx
pop ecx
push edi
mov esi, eax
call fcn.006463c0
shl esi, 6
pop ecx
lea ecx, [esp + 0x54]
add esi, eax
lea eax, [esp + 0x54]
push esi
push 1
push ecx
push eax
call fcn.006471b0
lea esi, [esp + 0x64]
lea edi, [esp + 0x70]
movsd dword es:[edi], dword [esi]
fldz
add esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fld dword [0x694184]
lea edx, [ebx + 0x14]
fmul dword [edx]
fsubr dword [esp + 0x60]
fstp dword [esp + 0x60]
fld dword [0x694184]
fmul dword [edx + 4]
fsubr dword [esp + 0x64]
fstp dword [esp + 0x64]
fld dword [0x694188]
lea eax, [ebx + 0x24]
fmul dword [eax + 8]
fsubr dword [esp + 0x68]
fstp dword [esp + 0x68]
lea eax, [ebx + 4]
fld dword [eax]
fstp dword [esp + 0x6c]
fld dword [eax + 4]
fstp dword [esp + 0x70]
fld dword [esp + 0x70]
fstp st(1)
fmul st(0)
fld dword [esp + 0x6c]
fmul st(0)
faddp st(1)
fcom dword [0x69414c]
fnstsw ax
test ah, 4
jne 0x52bcd0
and ah, 0x45
test ah, 0x41
je 0x52bcd0
mov dword [esp + 0x6c], 0x3f800000
jmp 0x52bcfc
fld st(0)
fsqrt
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp st(1)
fld dword [0x694148]
fdiv st(1)
fstp st(1)
fld dword [esp + 0x6c]
fmul st(1)
fstp dword [esp + 0x6c]
fld dword [esp + 0x70]
fmul st(1)
fstp dword [esp + 0x70]
movsx ecx, byte [ebx + 0x504]
lea eax, [esp + 0x60]
lea esi, [esp + 0x6c]
push dword [0x694324]
lea ecx, [ecx*8]
push esi
lea ecx, [ecx + ecx*2]
push eax
add ecx, ebx
push ebx
add ecx, 0x408
fstp st(0)
call fcn.005d0580
mov ecx, ebx
call fcn.004f4950
test al, al
fldz
fldz
je 0x52c640
movsx edx, byte [ebx + 0x504]
lea edx, [edx*8]
lea edx, [edx + edx*2]
add edx, ebx
add edx, 0x408
mov eax, edx
mov edi, dword [eax]
cmp edi, 6
je 0x52bd74
mov ecx, dword [edx]
mov eax, ecx
cmp eax, 3
je 0x52bd74
cmp ecx, 0xa
jne 0x52c647
fld dword [esp + 0x28]
fstp st(2)
fld dword [esp + 0x28]
fcomp dword [0x694328]
fnstsw ax
test ah, 5
jne 0x52bd97
fld dword [0x694314]
fadd dword [esp + 0x2c]
fstp st(2)
mov eax, dword [esp + 0xc]
movzx eax, word [eax + 0x2e]
and eax, 1
je 0x52c650
mov eax, dword [esp + 0xc]
fld dword [eax + 0x20]
fst st(1)
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 5
jne 0x52c657
fcom st(1)
fnstsw ax
test ah, 4
jne 0x52c660
and ah, 0x45
test ah, 0x41
je 0x52c660
fcompp
mov eax, dword [edx]
push eax
call fcn.00574900
pop ecx
mov ecx, ebx
call fcn.004f4950
test al, al
je 0x52be40
push 0
call fcn.004ab080
pop ecx
mov ecx, eax
call fcn.004aa3b0
test al, al
je 0x52be40
cmp byte [esp + 0x10], 0
jne 0x52be40
mov eax, dword [esp + 0xc]
fld dword [eax + 0x20]
fcomp dword [ebp + 0x50]
fnstsw ax
test ah, 0x45
jne 0x52be40
push ebx
mov eax, dword [esp + 0x10]
push 0
mov dword [eax + 0x1c], 0xc0800000
call fcn.0052cae0
pop ecx
pop ecx
add esp, 0x98
pop ebp
pop edi
pop esi
pop ebx
ret
mov eax, dword [esp + 0xc]
fldz
fld dword [eax + 0x20]
fst st(1)
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 0x45
je 0x52be71
mov eax, dword [esp + 0xc]
movzx eax, word [eax + 0x2e]
and eax, 1
jne 0x52c680
cmp dword [ebp], 2
je 0x52c687
movsx ecx, byte [ebx + 0x504]
lea ecx, [ecx*8]
lea ecx, [ecx + ecx*2]
add ecx, ebx
add ecx, 0x408
mov eax, ecx
mov esi, dword [eax + 4]
cmp esi, 2
jne 0x52bfd5
mov edi, dword [ebp + 0x5c]
xor edx, edx
xor eax, eax
and edi, 0x8000
jne 0x52bea8
inc eax
test al, al
jne 0x52beb1
mov edx, 1
test dl, dl
je 0x52bec0
mov eax, 0xcf
jmp 0x52bec2
xor eax, eax
test eax, eax
je 0x52bfd5
cmp dword [esp + 0x14], 0
jne 0x52bfd5
movzx eax, byte [0xa10b03]
imul eax, eax, 0x2e
cmp byte [eax*8 + 0x94ae71], 0
jne 0x52c667
mov al, byte [ebx + 0x150]
shr al, 4
and al, 1
je 0x52bf33
test dl, dl
je 0x52bf05
mov eax, 0xd0
jmp 0x52bf07
xor eax, eax
test eax, eax
je 0x52bf33
test dl, dl
je 0x52bf16
mov eax, 0xd0
jmp 0x52bf18
xor eax, eax
mov ebp, dword [ebp + 0x34]
push dword [0x694224]
push eax
mov eax, dword [ebx + 0x4c]
push ebp
push eax
fstp st(0)
call fcn.00405640
add esp, 0x10
jmp 0x52bf5b
test dl, dl
je 0x52bf40
mov eax, 0xcf
jmp 0x52bf42
xor eax, eax
mov ecx, dword [ebp + 0x34]
push dword [0x694224]
push eax
mov eax, dword [ebx + 0x4c]
push ecx
push eax
fstp st(0)
call fcn.00405640
add esp, 0x10
mov ecx, eax
push ebx
push 0x52c8a0
call fcn.004016a0
mov ecx, ebx
call fcn.0050b9e0
mov ecx, ebx
call fcn.0050b4c0
mov al, byte [ebx + 0x14c]
mov ecx, 0xa10b93
and al, 0xf7
mov byte [ebx + 0x14c], al
mov al, byte [ebx + 0x14c]
and al, 0xfb
mov byte [ebx + 0x14c], al
mov eax, dword [0x974b34]
mov dword [ebx + 0x548], eax
movsx eax, byte [ebx + 0x504]
lea eax, [eax + eax*2]
mov edx, dword [ebx + eax*8 + 0x408]
push eax
mov dword [esp + 0x34], edx
fild dword [esp + 0x34]
fstp dword [esp]
mov eax, dword [ebx + 0x64]
push 0x39
push eax
call fcn.005f9dc0
add esp, 0x98
pop ebp
pop edi
pop esi
pop ebx
ret
mov eax, dword [esp + 0xc]
fld dword [0x694158]
fmul dword [eax + 0x28]
fsubr st(1)
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 4
jne 0x52c230
and ah, 0x45
test ah, 0x41
je 0x52c230
mov al, byte [ebx + 0x14c]
shr al, 2
and al, 1
jne 0x52c020
mov eax, dword [ebx + 0x548]
mov esi, dword [0x974b34]
cmp esi, eax
jae 0x52c230
mov eax, dword [ecx + 4]
cmp eax, 2
jne 0x52c033
mov eax, dword [ecx]
cmp eax, 0x21
jne 0x52c230
cmp dword [ebp], 0
jne 0x52c677
cmp byte [0x68dd68], 0
je 0x52c670
push 0
push ebx
fstp st(0)
call fcn.0052e020
mov byte [esp + 0x28], al
cmp byte [esp + 0x28], 1
pop ecx
pop ecx
ja 0x52c0af
movsx eax, byte [ebx + 0x504]
lea eax, [eax + eax*2]
mov edx, dword [ebx + eax*8 + 0x408]
cmp edx, 6
jne 0x52c180
cmp byte [esp + 0x20], 0
jne 0x52c180
mov al, byte [ebx + 0x14c]
and al, 1
je 0x52c180
mov esi, dword [ebx + 0x394]
test esi, esi
je 0x52c180
mov al, byte [esi + 0x50]
and al, 7
cmp al, 2
jne 0x52c180
mov esi, dword [ebp + 0x5c]
xor edx, edx
mov edi, esi
xor eax, eax
and edi, 0x2000
jne 0x52c0c1
inc eax
test al, al
jne 0x52c0ca
mov edx, 1
test dl, dl
je 0x52c0d5
mov ecx, 0xce
jmp 0x52c0e7
mov eax, esi
and eax, 0x80000
je 0x52c0e5
mov ecx, 0xd1
jmp 0x52c0e7
xor ecx, ecx
mov eax, dword [esp + 0xc]
movsx eax, word [eax + 0x2c]
cmp eax, ecx
jne 0x52c104
mov ecx, dword [esp + 0xc]
push dword [0x694194]
call fcn.00401770
jmp 0x52c16a
test dl, dl
je 0x52c110
mov eax, 0xce
jmp 0x52c122
mov eax, esi
and eax, 0x80000
je 0x52c120
mov eax, 0xd1
jmp 0x52c122
xor eax, eax
test eax, eax
je 0x52c150
test dl, dl
je 0x52c131
mov eax, 0xce
jmp 0x52c142
and esi, 0x80000
je 0x52c140
mov eax, 0xd1
jmp 0x52c142
xor eax, eax
mov ebp, dword [ebp + 0x34]
push dword [0x694224]
push eax
push ebp
jmp 0x52c15a
push dword [0x694224]
push 0x41
push 0
mov eax, dword [ebx + 0x4c]
push eax
call fcn.00405640
add esp, 0x10
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xc]
push ebx
push fcn.0052cae0
call fcn.004016a0
jmp 0x52c316
mov edi, dword [ebp + 0x5c]
xor ecx, ecx
xor eax, eax
and edi, 0x1000
jne 0x52c190
inc eax
test al, al
jne 0x52c199
mov ecx, 1
test cl, cl
je 0x52c1a4
mov eax, 0xce
jmp 0x52c1a6
xor eax, eax
test eax, eax
je 0x52c211
test cl, cl
je 0x52c1b5
mov edx, 0xce
jmp 0x52c1b7
xor edx, edx
mov eax, dword [esp + 0xc]
movsx eax, word [eax + 0x2c]
cmp eax, edx
jne 0x52c1d4
mov esi, dword [ebp + 0x34]
push dword [0x694224]
push 0xcd
push esi
jmp 0x52c1ed
test cl, cl
je 0x52c1e0
mov eax, 0xce
jmp 0x52c1e2
xor eax, eax
mov ebp, dword [ebp + 0x34]
push dword [0x694224]
push eax
push ebp
mov eax, dword [ebx + 0x4c]
push eax
call fcn.00405640
add esp, 0x10
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xc]
push ebx
push fcn.0052cae0
call fcn.004016a0
jmp 0x52c316
mov ecx, dword [esp + 0xc]
push dword [esp + 0x24]
call fcn.00401770
mov eax, dword [esp + 0xc]
or word [eax + 0x2e], 1
jmp 0x52c316
mov ecx, ebx
fstp st(0)
call fcn.004f4950
test al, al
je 0x52c292
cmp dword [ebx + 0x508], 0
je 0x52c292
mov al, byte [ebx + 0x14c]
shr al, 7
test al, al
je 0x52c292
movsx eax, byte [ebx + 0x504]
lea eax, [eax + eax*2]
mov edi, dword [ebx + eax*8 + 0x40c]
cmp edi, 2
je 0x52c292
mov ecx, dword [esp + 0xc]
push dword [esp + 0x28]
call fcn.00401770
mov eax, dword [esp + 0xc]
mov ecx, ebx
and word [eax + 0x2e], 0xfffe
mov eax, dword [ebx + 0x508]
push eax
call fcn.0052de10
jmp 0x52c316
mov ecx, ebx
call fcn.0050b4c0
mov eax, dword [esp + 0xc]
fld dword [eax + 0x20]
fsub dword [eax + 0x28]
fcomp dword [esp + 0x28]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x52c2de
movsx eax, byte [ebx + 0x504]
mov ecx, 0xa10b93
lea eax, [eax + eax*2]
mov edx, dword [ebx + eax*8 + 0x408]
push eax
mov dword [esp + 0x34], edx
fild dword [esp + 0x34]
fstp dword [esp]
mov eax, dword [ebx + 0x64]
push 0x39
push eax
call fcn.005f9dc0
movsx eax, byte [ebx + 0x504]
lea eax, [eax + eax*2]
mov esi, dword [ebx + eax*8 + 0x408]
cmp esi, 0x1f
jne 0x52c316
mov eax, dword [esp + 0xc]
movzx eax, word [eax + 0x2e]
and eax, 1
je 0x52c316
mov eax, dword [esp + 0xc]
or word [eax + 0x2e], 4
and word [eax + 0x2e], 0xfffe
mov dword [eax + 0x1c], 0xc0800000
mov eax, dword [esp + 0xc]
fld dword [eax + 0x20]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 0x45
jne 0x52c32d
mov byte [esp + 0x10], 0
mov al, byte [ebx + 0x14c]
and byte [esp + 0x10], 1
and al, 0xfb
shl byte [esp + 0x10], 2
or al, byte [esp + 0x10]
mov byte [ebx + 0x14c], al
jmp 0x52c5bd
cmp dword [esp + 0x18], 0
jne 0x52c5bd
cmp byte [esp + 0x10], 0
jne 0x52c377
push ebx
push 0
call fcn.0052cae0
pop ecx
pop ecx
add esp, 0x98
pop ebp
pop edi
pop esi
pop ebx
ret
cmp dword [ebp], 2
jne 0x52c3a0
mov ecx, ebx
call fcn.004f4950
test al, al
je 0x52c3a0
cmp byte [ebx + 0x61c], 0
jne 0x52c3a0
add esp, 0x98
pop ebp
pop edi
pop esi
pop ebx
ret
mov al, byte [ebx + 0x150]
shr al, 4
and al, 1
je 0x52c411
mov al, byte [ebx + 0x150]
shr al, 3
and al, 1
je 0x52c411
mov edi, dword [ebp + 0x5c]
xor edx, edx
xor eax, eax
and edi, 0x20000
jne 0x52c3ca
inc eax
test al, al
jne 0x52c3d3
mov edx, 1
test dl, dl
je 0x52c3e0
mov eax, 0xce
jmp 0x52c3e2
xor eax, eax
test eax, eax
je 0x52c411
test dl, dl
je 0x52c3f1
mov eax, 0xce
jmp 0x52c3f3
xor eax, eax
mov esi, dword [ebp + 0x34]
push dword [0x694224]
push eax
mov eax, dword [ebx + 0x4c]
push esi
push eax
call fcn.00405640
add esp, 0x10
mov esi, eax
jmp 0x52c56f
mov eax, dword [ebp + 0x5c]
and eax, 0x1000
je 0x52c422
mov eax, 0xce
jmp 0x52c424
xor eax, eax
test eax, eax
je 0x52c466
call fcn.00649a40
movzx eax, ax
and eax, 1
je 0x52c466
mov eax, dword [ebp + 0x5c]
and eax, 0x1000
je 0x52c446
mov eax, 0xce
jmp 0x52c448
xor eax, eax
mov ebp, dword [ebp + 0x34]
push dword [0x694224]
push eax
mov eax, dword [ebx + 0x4c]
push ebp
push eax
call fcn.00405640
add esp, 0x10
mov esi, eax
jmp 0x52c56f
cmp byte [0x68dd68], 0
je 0x52c4f0
cmp dword [ebp], 0
jne 0x52c4f0
mov eax, dword [ebp + 0x5c]
mov ecx, eax
and ecx, 0x2000
je 0x52c490
mov eax, 0xce
jmp 0x52c4a2
and eax, 0x80000
je 0x52c4a0
mov eax, 0xd1
jmp 0x52c4a2
xor eax, eax
test eax, eax
je 0x52c4f0
push 0
push ebx
call fcn.0052e020
cmp ax, 1
pop ecx
pop ecx
jbe 0x52c4f0
mov eax, dword [ebp + 0x5c]
mov edi, eax
and edi, 0x2000
je 0x52c4d0
mov eax, 0xce
jmp 0x52c4e2
and eax, 0x80000
je 0x52c4e0
mov eax, 0xd1
jmp 0x52c4e2
xor eax, eax
mov esi, dword [ebp + 0x34]
push dword [0x694224]
push eax
push esi
jmp 0x52c561
cmp dword [ebx + 0x3d4], 6
jne 0x52c540
mov edx, dword [ebp + 0x5c]
xor ecx, ecx
xor eax, eax
and edx, 0x40000
jne 0x52c509
inc eax
test al, al
jne 0x52c512
mov ecx, 1
test cl, cl
je 0x52c520
mov eax, 0xd1
jmp 0x52c522
xor eax, eax
test eax, eax
je 0x52c540
test cl, cl
je 0x52c531
mov eax, 0xd1
jmp 0x52c533
xor eax, eax
mov ebp, dword [ebp + 0x34]
push dword [0x694224]
push eax
push ebp
jmp 0x52c561
mov eax, dword [ebp + 0x5c]
and eax, 0x200000
je 0x52c551
mov eax, 0x3e
jmp 0x52c556
mov eax, 0xcd
mov edi, dword [ebp + 0x34]
push dword [0x694224]
push eax
push edi
mov eax, dword [ebx + 0x4c]
push eax
call fcn.00405640
add esp, 0x10
mov esi, eax
mov ecx, esi
push ebx
push fcn.0052cae0
call fcn.004016a0
or word [esi + 0x2e], 1
mov eax, dword [esi + 0x14]
fld dword [esi + 0x20]
fcomp dword [eax + 0x20]
fnstsw ax
and ah, 0x44
cmp ah, 0x40
jne 0x52c5a1
mov ecx, esi
push dword [0x69414c]
call fcn.00401770
mov ecx, ebx
call fcn.004f4950
test al, al
je 0x52c5bd
mov dword [ebx + 0x618], 0
mov byte [ebx + 0x61c], 0
add esp, 0x98
pop ebp
pop edi
pop esi
pop ebx
ret
fldz
fldz
jmp 0x52b5e6
fldz
jmp 0x52b5e6
fldz
jmp 0x52b5e6
fldz
jmp 0x52b5e6
fldz
jmp 0x52b5e6
fldz
jmp 0x52b5e6
fldz
jmp 0x52bb98
fldz
jmp 0x52bb98
fldz
jmp 0x52bb98
fstp st(0)
jmp 0x52bb98
fstp st(0)
jmp 0x52bd2d
fstp st(0)
jmp 0x52bd2d
fstp st(0)
jmp 0x52bd2d
fstp st(0)
jmp 0x52bd2d
fstp st(0)
jmp 0x52bd2d
fcompp
jmp 0x52bde4
fcompp
jmp 0x52bde4
fcompp
jmp 0x52bde4
fcompp
jmp 0x52bde4
fcompp
jmp 0x52bde4
fstp st(0)
jmp 0x52bf68
fstp st(0)
jmp 0x52c061
fstp st(0)
jmp 0x52c180
fstp st(0)
jmp 0x52c316
fstp st(0)
jmp 0x52c316