Function at 0x52b070
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.005d5710
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 0x52b0b2
inc edx
test dl, dl
jne 0x52b0be
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 0x52b180
mov edi, dword [ebp + 0x5c]
xor edx, edx
xor eax, eax
and edi, 0x20000
jne 0x52b10c
inc eax
test al, al
jne 0x52b115
mov edx, 1
test dl, dl
je 0x52b120
mov eax, 0xce
jmp 0x52b122
xor eax, eax
test eax, eax
je 0x52b21d
mov al, byte [ebx + 0x150]
shr al, 3
and al, 1
je 0x52b21d
test dl, dl
je 0x52b146
mov ecx, 0xce
jmp 0x52b148
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 0x52b21d
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 0x52b21d
cmp dword [ebx + 0x3d4], 6
jne 0x52b1f7
mov esi, dword [ebp + 0x5c]
xor ecx, ecx
xor eax, eax
and esi, 0x40000
jne 0x52b199
inc eax
test al, al
jne 0x52b1a2
mov ecx, 1
test cl, cl
je 0x52b1b0
mov eax, 0xd1
jmp 0x52b1b2
xor eax, eax
test eax, eax
je 0x52b1f7
test cl, cl
je 0x52b1c1
mov edx, 0xd1
jmp 0x52b1c3
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 0x52b21d
fld dword [0x69430c]
fstp dword [esp + 0x24]
fld dword [0x694310]
fstp dword [esp + 0x28]
fld dword [0x694314]
fstp dword [esp + 0x2c]
jmp 0x52b21d
mov eax, dword [ebp + 0x5c]
and eax, 0x200000
je 0x52b208
mov esi, 0x3e
jmp 0x52b20d
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 0x52b22d
inc eax
test al, al
jne 0x52b236
mov edx, 1
test dl, dl
je 0x52b241
mov eax, 0xcf
jmp 0x52b243
xor eax, eax
test eax, eax
je 0x52b264
test dl, dl
je 0x52b252
mov ecx, 0xcf
jmp 0x52b254
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 0x52b274
inc eax
test al, al
jne 0x52b27d
mov ecx, 1
test cl, cl
je 0x52b288
mov eax, 0xd0
jmp 0x52b28a
xor eax, eax
test eax, eax
je 0x52b2b2
cmp dword [esp + 0x14], 0
jne 0x52b2b2
test cl, cl
je 0x52b2a0
mov edi, 0xd0
jmp 0x52b2a2
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 0x52b2f7
mov eax, dword [esp + 0x14]
movzx eax, word [eax + 0x2e]
and eax, 1
je 0x52b2f7
mov ecx, ebx
call fcn.004f4930
test al, al
je 0x52b2e5
cmp byte [ebx + 0x61c], 0
jne 0x52b2e5
add esp, 0x98
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, ebx
call fcn.0052d120
add esp, 0x98
pop ebp
pop edi
pop esi
pop ebx
ret
cmp dword [esp + 0x14], 0
je 0x52b322
mov eax, dword [esp + 0x14]
or word [eax + 0x2e], 4
fld dword [eax + 0x1c]
fcomp dword [0x69414c]
fnstsw ax
test ah, 5
jne 0x52b322
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 0x52b332
inc eax
test al, al
jne 0x52b33b
mov edx, 1
test dl, dl
je 0x52b346
mov eax, 0xcf
jmp 0x52b348
xor eax, eax
test eax, eax
je 0x52b369
test dl, dl
je 0x52b357
mov esi, 0xcf
jmp 0x52b359
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 [0x974b2c]
cmp edi, eax
jae 0x52b37e
mov byte [esp + 0x10], 1
cmp dword [esp + 0xc], 0
mov byte [esp + 0x1c], 0
jne 0x52b41e
mov esi, dword [ebp + 0x5c]
xor ecx, ecx
xor eax, eax
and esi, 0x100000
jne 0x52b39e
inc eax
test al, al
jne 0x52b3a7
mov ecx, 1
test cl, cl
je 0x52b3b2
mov eax, 0xcf
jmp 0x52b3b4
xor eax, eax
test eax, eax
je 0x52b41e
test cl, cl
je 0x52b3c3
mov edx, 0xcf
jmp 0x52b3c5
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 0x52b41e
mov ecx, ebx
call fcn.004f4930
test al, al
je 0x52b3e9
mov byte [esp + 0x1c], 1
mov eax, dword [ebp + 0x34]
mov edi, dword [ebp + 0x34]
sub eax, 7
cmp eax, 5
ja case.default.0x52b3f7
jmp dword [eax*4 + 0x694658]
jmp case.0x52b3f7.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 0x52b48c
mov esi, dword [ebp + 0x5c]
xor edx, edx
xor eax, eax
and esi, 0x1000
jne 0x52b435
inc eax
test al, al
jne 0x52b43e
mov edx, 1
test dl, dl
je 0x52b450
mov eax, 0xce
jmp 0x52b452
xor eax, eax
test eax, eax
je 0x52b48c
test dl, dl
je 0x52b461
mov ecx, 0xce
jmp 0x52b463
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 0x52b48c
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 0x52b522
mov esi, dword [ebp + 0x5c]
xor ecx, ecx
mov edi, esi
xor eax, eax
and edi, 0x2000
jne 0x52b4a9
inc eax
test al, al
jne 0x52b4b2
mov ecx, 1
test cl, cl
je 0x52b4c0
mov eax, 0xce
jmp 0x52b4d2
mov eax, esi
and eax, 0x80000
je 0x52b4d0
mov eax, 0xd1
jmp 0x52b4d2
xor eax, eax
test eax, eax
je 0x52b4f5
test cl, cl
je 0x52b4e1
mov esi, 0xce
jmp 0x52b4f2
and esi, 0x80000
je 0x52b4f0
mov esi, 0xd1
jmp 0x52b4f2
xor esi, esi
push esi
jmp 0x52b4f7
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 0x52b522
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 0x52c330
cmp byte [esp + 0x1c], 0
je 0x52c5a8
mov ecx, ebx
call fcn.004f4930
test al, al
fldz
je 0x52c5b1
mov dl, byte [ebx + 0x61c]
test dl, dl
jne 0x52b569
fld dword [ebx + 0x5fc]
fcomp dword [0x694180]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x52b577
mov eax, dword [esp + 0xc]
or word [eax + 0x2e], 1
jmp 0x52c5b8
test dl, dl
jne 0x52c5c0
mov eax, dword [esp + 0xc]
fld dword [eax + 0x20]
fst st(1)
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x45
jne 0x52c5c7
mov eax, dword [esp + 0xc]
fld st(0)
fsub dword [eax + 0x28]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 4
jne 0x52c5d0
and ah, 0x45
test ah, 0x41
je 0x52c5d0
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 0x52b657
mov eax, dword [esp + 0xc]
fld st(1)
fsub dword [eax + 0x28]
fcomp st(1)
fnstsw ax
test ah, 4
jne 0x52b657
and ah, 0x45
test ah, 0x41
je 0x52b657
mov al, byte [ebx + 0x150]
shr al, 4
and al, 1
jne 0x52b650
cmp dword [ebx + 0x3d4], 6
jne 0x52b637
mov eax, dword [ebp + 0x5c]
and eax, 0x40000
je 0x52b627
mov esi, 0xd1
jmp 0x52b629
xor esi, esi
mov eax, dword [esp + 0xc]
movsx eax, word [eax + 0x2c]
cmp eax, esi
jne 0x52b637
jmp 0x52b650
mov eax, dword [ebp + 0x5c]
and eax, 0x80
je 0x52b650
or dword [ebx + 0x234], 4
jmp 0x52b657
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 0x52b7f6
cmp byte [esp + 0x1c], 0
jne 0x52b6a3
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 0x52b7f6
mov eax, dword [esp + 0xc]
fld dword [eax + 0x20]
fsub dword [eax + 0x28]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 4
jne 0x52b7f6
and ah, 0x45
test ah, 0x41
je 0x52b7f6
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 0x52b6f1
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.004dff20
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.005d45e0
movsx eax, byte [ebx + 0x504]
fldz
lea eax, [eax + eax*2]
mov esi, dword [ebx + eax*8 + 0x40c]
cmp esi, 4
jne 0x52b7b3
mov eax, dword [ebx + 0x108]
fld dword [0x69420c]
test eax, eax
fstp st(1)
je 0x52b78b
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, 0xa10b8a
fst dword [esp]
mov eax, dword [ebx + 0x64]
push 0x36
push eax
fstp st(0)
call fcn.005f9da0
mov ecx, ebx
call fcn.004f4930
test al, al
je 0x52b7ec
push 0xb4
jmp 0x52b7d8
mov eax, dword [ebx + 0x64]
mov ecx, 0xa10b8a
push dword [0x69414c]
push 0x35
push eax
fstp st(0)
call fcn.005f9da0
mov ecx, ebx
call fcn.004f4930
test al, al
je 0x52b7ec
push 0x5a
push 0xf0
push 0
call fcn.004ab060
pop ecx
mov ecx, eax
call fcn.004ad2e0
mov byte [esp + 0x10], 0
jmp 0x52c5d7
mov eax, dword [edx]
cmp eax, 0xb
jne 0x52b820
fcompp
mov eax, dword [ebx + 0x64]
mov ecx, 0xa10b8a
push dword [0x69414c]
push 0x34
push eax
call fcn.005f9da0
jmp 0x52c5e0
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 0x52bb50
mov eax, dword [esp + 0xc]
fld st(1)
fsub dword [eax + 0x28]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 4
jne 0x52bb50
and ah, 0x45
test ah, 0x41
je 0x52bb50
mov eax, dword [esp + 0xc]
movzx eax, word [eax + 0x2e]
and eax, 1
je 0x52bb50
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 0x52b886
cmp eax, 0xb
jne 0x52b8e6
mov eax, dword [esp + 0xc]
cmp word [eax + 0x2c], 0xce
jne 0x52b8a5
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.004dff20
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 0x52b995
cmp dword [ebp], 0
jne 0x52b930
lea eax, [esp + 0x48]
lea edx, [ebx + 4]
fcompp
push eax
lea eax, [esp + 0x90]
push edx
push eax
call fcn.004dff20
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 0x52b995
fcompp
mov eax, dword [ebx + 0x4c]
push eax
call fcn.0057f250
mov esi, eax
mov eax, dword [esp + 0x10]
cmp word [eax + 0x2c], 0xce
pop ecx
jne 0x52b960
cmp dword [ebp + 0x34], 7
jne 0x52b960
mov ecx, dword [ebx + 0x1d0]
mov eax, dword [ecx + 0x14]
jmp 0x52b969
mov edx, dword [ebx + 0x1c0]
mov eax, dword [edx + 0x14]
push eax
push esi
call fcn.00646390
mov edi, eax
pop ecx
pop ecx
push esi
call fcn.00646370
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.00647160
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.005d45e0
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 0x52b9ef
mov esi, dword [eax]
mov ecx, esi
cmp ecx, 0xd
je 0x52b9ef
mov edx, esi
cmp edx, 0xf
je 0x52b9ef
cmp esi, 0xe
jne 0x52ba03
mov edx, dword [eax]
push edx
call fcn.005d5710
mov eax, dword [eax + 0x54]
pop ecx
mov ecx, ebx
push eax
call fcn.004ffd80
movsx eax, byte [ebx + 0x504]
lea eax, [eax + eax*2]
cmp dword [ebx + eax*8 + 0x414], 0
jne 0x52ba2d
cmp dword [ebp], 0
je 0x52ba2d
call fcn.004bc120
cmp eax, ebx
je 0x52ba2d
mov ecx, ebx
call fcn.0051c800
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 0x52bb3f
mov dword [esp + 8], 0
mov edx, dword [ebx + 0x108]
test edx, edx
je 0x52ba92
fld dword [0x69414c]
fcomp dword [ebx + 0x104]
fnstsw ax
and ah, 0x44
cmp ah, 0x40
je 0x52ba85
mov al, byte [edx + 0x50]
and al, 7
cmp al, 1
je 0x52ba92
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.0x52baa0.8
jmp dword [eax*4 + 0x694640]
mov eax, dword [esp + 0xc]
movsx eax, word [eax + 0x2c]
cmp eax, 0xcd
je 0x52babd
cmp eax, 0xcf
jne case.0x52baa0.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 0x52bb09
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, 0xa10b8a
push eax
call fcn.005f9da0
mov al, byte [ebx + 0x14c]
shr al, 2
and al, 1
jne 0x52bb34
mov eax, dword [ebx + 0x548]
mov esi, dword [0x974b2c]
cmp esi, eax
jae 0x52bb3f
mov eax, dword [esp + 0xc]
mov dword [eax + 0x30], 0
mov byte [esp + 0x10], 0
jmp 0x52c5e7
mov eax, dword [esp + 0xc]
fld dword [eax + 0x24]
fcomp dword [0x694148]
fnstsw ax
and ah, 5
cmp ah, 1
jne 0x52c5f0
mov eax, dword [esp + 0xc]
fstp st(0)
mov dword [eax + 0x24], 0x3f800000
cmp dword [ebp + 0x34], 0xf
jne 0x52c5f7
cmp dword [ebp], 1
jne 0x52c600
mov eax, dword [esp + 0xc]
fld dword [eax + 0x20]
fst st(1)
fcomp dword [0x694148]
fnstsw ax
test ah, 0x45
jne 0x52c607
mov eax, dword [esp + 0xc]
fld st(0)
fsub dword [eax + 0x28]
fcomp dword [0x694148]
fnstsw ax
test ah, 4
jne 0x52c610
and ah, 0x45
test ah, 0x41
je 0x52c610
mov eax, dword [esp + 0xc]
movzx eax, word [eax + 0x2e]
and eax, 1
je 0x52c617
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.0057f250
mov edx, dword [ebx + 0x1c0]
mov edi, eax
mov eax, dword [edx + 0x14]
pop ecx
push eax
push edi
call fcn.00646390
pop ecx
pop ecx
push edi
mov esi, eax
call fcn.00646370
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.00647160
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 0x52bcb0
and ah, 0x45
test ah, 0x41
je 0x52bcb0
mov dword [esp + 0x6c], 0x3f800000
jmp 0x52bcdc
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.005d0560
mov ecx, ebx
call fcn.004f4930
test al, al
fldz
fldz
je 0x52c620
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 0x52bd54
mov ecx, dword [edx]
mov eax, ecx
cmp eax, 3
je 0x52bd54
cmp ecx, 0xa
jne 0x52c627
fld dword [esp + 0x28]
fstp st(2)
fld dword [esp + 0x28]
fcomp dword [0x694328]
fnstsw ax
test ah, 5
jne 0x52bd77
fld dword [0x694314]
fadd dword [esp + 0x2c]
fstp st(2)
mov eax, dword [esp + 0xc]
movzx eax, word [eax + 0x2e]
and eax, 1
je 0x52c630
mov eax, dword [esp + 0xc]
fld dword [eax + 0x20]
fst st(1)
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 5
jne 0x52c637
fcom st(1)
fnstsw ax
test ah, 4
jne 0x52c640
and ah, 0x45
test ah, 0x41
je 0x52c640
fcompp
mov eax, dword [edx]
push eax
call fcn.005748e0
pop ecx
mov ecx, ebx
call fcn.004f4930
test al, al
je 0x52be20
push 0
call fcn.004ab060
pop ecx
mov ecx, eax
call fcn.004aa390
test al, al
je 0x52be20
cmp byte [esp + 0x10], 0
jne 0x52be20
mov eax, dword [esp + 0xc]
fld dword [eax + 0x20]
fcomp dword [ebp + 0x50]
fnstsw ax
test ah, 0x45
jne 0x52be20
push ebx
mov eax, dword [esp + 0x10]
push 0
mov dword [eax + 0x1c], 0xc0800000
call fcn.0052cac0
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 0x52be51
mov eax, dword [esp + 0xc]
movzx eax, word [eax + 0x2e]
and eax, 1
jne 0x52c660
cmp dword [ebp], 2
je 0x52c667
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 0x52bfb5
mov edi, dword [ebp + 0x5c]
xor edx, edx
xor eax, eax
and edi, 0x8000
jne 0x52be88
inc eax
test al, al
jne 0x52be91
mov edx, 1
test dl, dl
je 0x52bea0
mov eax, 0xcf
jmp 0x52bea2
xor eax, eax
test eax, eax
je 0x52bfb5
cmp dword [esp + 0x14], 0
jne 0x52bfb5
movzx eax, byte [0xa10afb]
imul eax, eax, 0x2e
cmp byte [eax*8 + 0x94ae69], 0
jne 0x52c647
mov al, byte [ebx + 0x150]
shr al, 4
and al, 1
je 0x52bf13
test dl, dl
je 0x52bee5
mov eax, 0xd0
jmp 0x52bee7
xor eax, eax
test eax, eax
je 0x52bf13
test dl, dl
je 0x52bef6
mov eax, 0xd0
jmp 0x52bef8
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 0x52bf3b
test dl, dl
je 0x52bf20
mov eax, 0xcf
jmp 0x52bf22
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 0x52c880
call fcn.004016a0
mov ecx, ebx
call fcn.0050b9c0
mov ecx, ebx
call fcn.0050b4a0
mov al, byte [ebx + 0x14c]
mov ecx, 0xa10b8a
and al, 0xf7
mov byte [ebx + 0x14c], al
mov al, byte [ebx + 0x14c]
and al, 0xfb
mov byte [ebx + 0x14c], al
mov eax, dword [0x974b2c]
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.005f9da0
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 0x52c210
and ah, 0x45
test ah, 0x41
je 0x52c210
mov al, byte [ebx + 0x14c]
shr al, 2
and al, 1
jne 0x52c000
mov eax, dword [ebx + 0x548]
mov esi, dword [0x974b2c]
cmp esi, eax
jae 0x52c210
mov eax, dword [ecx + 4]
cmp eax, 2
jne 0x52c013
mov eax, dword [ecx]
cmp eax, 0x21
jne 0x52c210
cmp dword [ebp], 0
jne 0x52c657
cmp byte [0x68dd68], 0
je 0x52c650
push 0
push ebx
fstp st(0)
call fcn.0052e000
mov byte [esp + 0x28], al
cmp byte [esp + 0x28], 1
pop ecx
pop ecx
ja 0x52c08f
movsx eax, byte [ebx + 0x504]
lea eax, [eax + eax*2]
mov edx, dword [ebx + eax*8 + 0x408]
cmp edx, 6
jne 0x52c160
cmp byte [esp + 0x20], 0
jne 0x52c160
mov al, byte [ebx + 0x14c]
and al, 1
je 0x52c160
mov esi, dword [ebx + 0x394]
test esi, esi
je 0x52c160
mov al, byte [esi + 0x50]
and al, 7
cmp al, 2
jne 0x52c160
mov esi, dword [ebp + 0x5c]
xor edx, edx
mov edi, esi
xor eax, eax
and edi, 0x2000
jne 0x52c0a1
inc eax
test al, al
jne 0x52c0aa
mov edx, 1
test dl, dl
je 0x52c0b5
mov ecx, 0xce
jmp 0x52c0c7
mov eax, esi
and eax, 0x80000
je 0x52c0c5
mov ecx, 0xd1
jmp 0x52c0c7
xor ecx, ecx
mov eax, dword [esp + 0xc]
movsx eax, word [eax + 0x2c]
cmp eax, ecx
jne 0x52c0e4
mov ecx, dword [esp + 0xc]
push dword [0x694194]
call fcn.00401770
jmp 0x52c14a
test dl, dl
je 0x52c0f0
mov eax, 0xce
jmp 0x52c102
mov eax, esi
and eax, 0x80000
je 0x52c100
mov eax, 0xd1
jmp 0x52c102
xor eax, eax
test eax, eax
je 0x52c130
test dl, dl
je 0x52c111
mov eax, 0xce
jmp 0x52c122
and esi, 0x80000
je 0x52c120
mov eax, 0xd1
jmp 0x52c122
xor eax, eax
mov ebp, dword [ebp + 0x34]
push dword [0x694224]
push eax
push ebp
jmp 0x52c13a
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.0052cac0
call fcn.004016a0
jmp 0x52c2f6
mov edi, dword [ebp + 0x5c]
xor ecx, ecx
xor eax, eax
and edi, 0x1000
jne 0x52c170
inc eax
test al, al
jne 0x52c179
mov ecx, 1
test cl, cl
je 0x52c184
mov eax, 0xce
jmp 0x52c186
xor eax, eax
test eax, eax
je 0x52c1f1
test cl, cl
je 0x52c195
mov edx, 0xce
jmp 0x52c197
xor edx, edx
mov eax, dword [esp + 0xc]
movsx eax, word [eax + 0x2c]
cmp eax, edx
jne 0x52c1b4
mov esi, dword [ebp + 0x34]
push dword [0x694224]
push 0xcd
push esi
jmp 0x52c1cd
test cl, cl
je 0x52c1c0
mov eax, 0xce
jmp 0x52c1c2
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.0052cac0
call fcn.004016a0
jmp 0x52c2f6
mov ecx, dword [esp + 0xc]
push dword [esp + 0x24]
call fcn.00401770
mov eax, dword [esp + 0xc]
or word [eax + 0x2e], 1
jmp 0x52c2f6
mov ecx, ebx
fstp st(0)
call fcn.004f4930
test al, al
je 0x52c272
cmp dword [ebx + 0x508], 0
je 0x52c272
mov al, byte [ebx + 0x14c]
shr al, 7
test al, al
je 0x52c272
movsx eax, byte [ebx + 0x504]
lea eax, [eax + eax*2]
mov edi, dword [ebx + eax*8 + 0x40c]
cmp edi, 2
je 0x52c272
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.0052ddf0
jmp 0x52c2f6
mov ecx, ebx
call fcn.0050b4a0
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 0x52c2be
movsx eax, byte [ebx + 0x504]
mov ecx, 0xa10b8a
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.005f9da0
movsx eax, byte [ebx + 0x504]
lea eax, [eax + eax*2]
mov esi, dword [ebx + eax*8 + 0x408]
cmp esi, 0x1f
jne 0x52c2f6
mov eax, dword [esp + 0xc]
movzx eax, word [eax + 0x2e]
and eax, 1
je 0x52c2f6
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 0x52c30d
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 0x52c59d
cmp dword [esp + 0x18], 0
jne 0x52c59d
cmp byte [esp + 0x10], 0
jne 0x52c357
push ebx
push 0
call fcn.0052cac0
pop ecx
pop ecx
add esp, 0x98
pop ebp
pop edi
pop esi
pop ebx
ret
cmp dword [ebp], 2
jne 0x52c380
mov ecx, ebx
call fcn.004f4930
test al, al
je 0x52c380
cmp byte [ebx + 0x61c], 0
jne 0x52c380
add esp, 0x98
pop ebp
pop edi
pop esi
pop ebx
ret
mov al, byte [ebx + 0x150]
shr al, 4
and al, 1
je 0x52c3f1
mov al, byte [ebx + 0x150]
shr al, 3
and al, 1
je 0x52c3f1
mov edi, dword [ebp + 0x5c]
xor edx, edx
xor eax, eax
and edi, 0x20000
jne 0x52c3aa
inc eax
test al, al
jne 0x52c3b3
mov edx, 1
test dl, dl
je 0x52c3c0
mov eax, 0xce
jmp 0x52c3c2
xor eax, eax
test eax, eax
je 0x52c3f1
test dl, dl
je 0x52c3d1
mov eax, 0xce
jmp 0x52c3d3
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 0x52c54f
mov eax, dword [ebp + 0x5c]
and eax, 0x1000
je 0x52c402
mov eax, 0xce
jmp 0x52c404
xor eax, eax
test eax, eax
je 0x52c446
call fcn.006499f0
movzx eax, ax
and eax, 1
je 0x52c446
mov eax, dword [ebp + 0x5c]
and eax, 0x1000
je 0x52c426
mov eax, 0xce
jmp 0x52c428
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 0x52c54f
cmp byte [0x68dd68], 0
je 0x52c4d0
cmp dword [ebp], 0
jne 0x52c4d0
mov eax, dword [ebp + 0x5c]
mov ecx, eax
and ecx, 0x2000
je 0x52c470
mov eax, 0xce
jmp 0x52c482
and eax, 0x80000
je 0x52c480
mov eax, 0xd1
jmp 0x52c482
xor eax, eax
test eax, eax
je 0x52c4d0
push 0
push ebx
call fcn.0052e000
cmp ax, 1
pop ecx
pop ecx
jbe 0x52c4d0
mov eax, dword [ebp + 0x5c]
mov edi, eax
and edi, 0x2000
je 0x52c4b0
mov eax, 0xce
jmp 0x52c4c2
and eax, 0x80000
je 0x52c4c0
mov eax, 0xd1
jmp 0x52c4c2
xor eax, eax
mov esi, dword [ebp + 0x34]
push dword [0x694224]
push eax
push esi
jmp 0x52c541
cmp dword [ebx + 0x3d4], 6
jne 0x52c520
mov edx, dword [ebp + 0x5c]
xor ecx, ecx
xor eax, eax
and edx, 0x40000
jne 0x52c4e9
inc eax
test al, al
jne 0x52c4f2
mov ecx, 1
test cl, cl
je 0x52c500
mov eax, 0xd1
jmp 0x52c502
xor eax, eax
test eax, eax
je 0x52c520
test cl, cl
je 0x52c511
mov eax, 0xd1
jmp 0x52c513
xor eax, eax
mov ebp, dword [ebp + 0x34]
push dword [0x694224]
push eax
push ebp
jmp 0x52c541
mov eax, dword [ebp + 0x5c]
and eax, 0x200000
je 0x52c531
mov eax, 0x3e
jmp 0x52c536
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.0052cac0
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 0x52c581
mov ecx, esi
push dword [0x69414c]
call fcn.00401770
mov ecx, ebx
call fcn.004f4930
test al, al
je 0x52c59d
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 0x52b5c6
fldz
jmp 0x52b5c6
fldz
jmp 0x52b5c6
fldz
jmp 0x52b5c6
fldz
jmp 0x52b5c6
fldz
jmp 0x52b5c6
fldz
jmp 0x52bb78
fldz
jmp 0x52bb78
fldz
jmp 0x52bb78
fstp st(0)
jmp 0x52bb78
fstp st(0)
jmp 0x52bd0d
fstp st(0)
jmp 0x52bd0d
fstp st(0)
jmp 0x52bd0d
fstp st(0)
jmp 0x52bd0d
fstp st(0)
jmp 0x52bd0d
fcompp
jmp 0x52bdc4
fcompp
jmp 0x52bdc4
fcompp
jmp 0x52bdc4
fcompp
jmp 0x52bdc4
fcompp
jmp 0x52bdc4
fstp st(0)
jmp 0x52bf48
fstp st(0)
jmp 0x52c041
fstp st(0)
jmp 0x52c160
fstp st(0)
jmp 0x52c2f6
fstp st(0)
jmp 0x52c2f6