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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x4a4
mov ecx, dword [ebp + 8]
test ecx, ecx
push ebx
push esi
push edi
jne 0x526e60
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
mov ecx, dword [ebp + 0x14]
je 0x526e70
mov eax, dword [eax + 0x40]
test eax, eax
je 0x526e70
mov ecx, eax
push ecx
lea eax, [esp + 0xe4]
push eax
call fcn.0059ff05
xor eax, eax
mov ecx, 0x4c
lea edi, [esp + 0x250]
rep stosd dword es:[edi], eax
mov ecx, 0x4c
lea edi, [esp + 0x380]
rep stosd dword es:[edi], eax
mov ecx, 0x4c
lea edi, [esp + 0x120]
rep stosd dword es:[edi], eax
cmp dword [0x76c3f0], 3
mov dword [esp + 0xec], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov ebx, 0x6e6250
je 0x526f0a
mov ebx, 0x6e62b0
add ebx, 0x14
xor edi, edi
nop
fld dword [0x6bde38]
push 0x3f800000
fsub dword [ebx - 4]
sub esp, 8
lea esi, [esp + edi + 0x25c]
fstp dword [esp + 4]
fld dword [ebx - 8]
fadd dword [0x6bdd84]
fstp dword [esp]
call fcn.00526360
fld dword [esi]
add esp, 0xc
fld dword [esp + edi + 0x254]
lea eax, [esp + 0xe0]
fchs
push eax
fstp dword [esi]
mov ecx, dword [esi]
fld dword [esp + edi + 0x25c]
mov dword [esp + 0x24], ecx
fchs
lea ecx, [esp + 0x24]
fstp dword [esp + edi + 0x258]
mov edx, dword [esp + edi + 0x258]
mov dword [esp + 0x28], edx
push ecx
fst dword [esp + edi + 0x260]
lea edx, [esp + 0x28]
fstp dword [esp + 0x30]
push edx
mov dword [esp + 0x38], 0
call fcn.0059fa63
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + edi + 0x254], ecx
mov dword [esp + edi + 0x258], edx
mov dword [esi], eax
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
mov dword [esp + edi + 0x120], eax
mov dword [esp + edi + 0x124], ecx
mov dword [esp + edi + 0x128], edx
mov dword [esp + edi + 0x12c], 0
add edi, 0x10
add ebx, 0xc
cmp edi, 0x70
jl 0x526f10
mov esi, dword [ebp + 0xc]
lea eax, [esp + 0x40]
push eax
mov eax, esi
call fcn.00525410
mov dword [esp + 0x1c], eax
add eax, 8
add esp, 4
cmp eax, 0x13
jle 0x52700f
mov dword [esp + 0x18], 0xb
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x1c], edx
jle 0x5271de
xor edi, edi
mov esi, dword [esp + ebx*4 + 0x40]
fld dword [esi + 0x10]
fsub dword [esp + 0x3c]
fstp dword [esp + edi + 0x2c0]
fld dword [esi + 0x14]
fsub dword [esp + 0x1c]
fstp dword [esp + edi + 0x2c4]
fld dword [esi + 0x18]
fsub dword [esp + 0xc]
fstp dword [esp + edi + 0x2c8]
mov eax, dword [esi + 0xc]
mov ecx, eax
and ecx, 0xff
test ecx, ecx
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
jge 0x52707e
fadd dword [0x6bdcac]
mov edx, eax
fstp dword [esp + 0x34]
shr edx, 8
and edx, 0xff
test edx, edx
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
jge 0x52709f
fadd dword [0x6bdcac]
shr eax, 0x10
fstp dword [esp + 0x38]
and eax, 0xff
test eax, eax
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
jge 0x5270bd
fadd dword [0x6bdcac]
mov al, byte [esi + 4]
fstp dword [esp + 0x14]
cmp al, 3
je 0x527105
fld dword [esp + 0x34]
fmul dword [0x6a8588]
fmul dword [esp + ebx*4 + 0x68]
fstp dword [esp + edi + 0x190]
fld dword [esp + 0x38]
fmul dword [0x6a8588]
fmul dword [esp + ebx*4 + 0x68]
fstp dword [esp + edi + 0x194]
fld dword [esp + 0x14]
fmul dword [0x6a8588]
fmul dword [esp + ebx*4 + 0x68]
jmp 0x5271c7
fld dword [esi + 0x34]
fmul dword [0x6bdec0]
fadd dword [0x6bdde4]
call fcn.00666390
push eax
call fcn.00546ea0
fstp dword [esp + 0x14]
mov eax, dword [ebp + 0xc]
fld dword [eax]
lea ecx, [esp + 0x24]
fsub dword [esi + 0x10]
fstp dword [esp + 0x24]
fld dword [eax + 4]
fsub dword [esi + 0x14]
fstp dword [esp + 0x28]
fld dword [eax + 8]
lea eax, [esp + 0x24]
fsub dword [esi + 0x18]
push eax
push ecx
fstp dword [esp + 0x34]
call fcn.00599e10
fld dword [esp + 0x34]
add esp, 0xc
fmul dword [esi + 0x28]
fld dword [esp + 0x24]
fmul dword [esi + 0x24]
faddp st(1)
fld dword [esp + 0x20]
fmul dword [esi + 0x20]
faddp st(1)
fcom dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x52718b
fsub dword [esp + 0x10]
fld dword [0x6bda18]
fsub dword [esp + 0x10]
fdivp st(1)
jmp 0x527193
fstp st(0)
fld dword [0x6bda00]
fmul dword [esp + ebx*4 + 0x68]
fld dword [esp + 0x34]
fmul st(1)
fmul dword [0x6a8588]
fstp dword [esp + edi + 0x190]
fld dword [esp + 0x38]
fmul st(1)
fmul dword [0x6a8588]
fstp dword [esp + edi + 0x194]
fmul dword [esp + 0x14]
fmul dword [0x6a8588]
mov eax, dword [esp + 0x18]
fstp dword [esp + edi + 0x198]
inc ebx
add edi, 0x10
cmp ebx, eax
jl 0x527033
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x527252
push eax
lea edx, [esp + 0x44]
push edx
call fcn.0059ff05
mov eax, dword [esp + 0x18]
add eax, 8
test eax, eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
jle 0x527252
lea esi, [esp + 0x250]
mov edi, eax
lea esp, [esp]
lea eax, [esp + 0x40]
push eax
push esi
push esi
call fcn.0059f3cf
add esi, 0x10
dec edi
jne 0x527240
mov ebx, dword [esp + 0x18]
add ebx, 8
test ebx, ebx
jle 0x52727f
xor esi, esi
mov edi, ebx
lea ecx, [esp + esi + 0x250]
push ecx
lea edx, [esp + esi + 0x384]
push edx
call fcn.00599e10
add esp, 8
add esi, 0x10
dec edi
jne 0x527261
test ebx, ebx
fld dword [0x6bda00]
fst dword [esp + 0x10]
jle 0x5272fd
lea eax, [esp + 0x128]
mov ecx, ebx
fld dword [eax - 4]
mov edx, dword [eax + 4]
fld dword [eax]
mov dword [esp + 0xc], edx
fld dword [eax - 8]
add eax, 0x10
dec ecx
fmul dword [0x6bdbc4]
fstp dword [eax - 0x18]
fxch st(1)
fmul dword [0x6bdbc4]
fstp dword [eax - 0x14]
fmul dword [0x6bdbc4]
fstp dword [eax - 0x10]
fld dword [esp + 0xc]
fmul dword [0x6bdbc4]
fstp dword [eax - 0xc]
fld dword [eax - 0x10]
fmul dword [0x6bdebc]
fld dword [eax - 0x14]
fmul dword [0x6bdeb8]
faddp st(1)
fld dword [eax - 0x18]
fmul dword [0x6bdeb4]
faddp st(1)
fst dword [eax - 0xc]
faddp st(1)
jne 0x527296
fst dword [esp + 0x10]
fmul dword [0x6e6318]
push ecx
fstp dword [esp]
call fcn.00526dc0
fsubr dword [0x6bda18]
add esp, 4
fld dword [esp + 0x10]
fcomp dword [0x6e631c]
fnstsw ax
test ah, 0x41
jne 0x527332
fstp st(0)
fld dword [0x6e631c]
fdiv dword [esp + 0x10]
xor edi, edi
cmp ebx, edi
jle 0x527370
lea eax, [esp + 0x128]
mov ecx, ebx
fld dword [eax - 4]
mov edx, dword [eax + 4]
fld dword [eax]
mov dword [esp + 0xc], edx
fld st(2)
add eax, 0x10
dec ecx
fmul dword [eax - 0x18]
fstp dword [eax - 0x18]
fxch st(1)
fmul st(2)
fstp dword [eax - 0x14]
fmul st(1)
fstp dword [eax - 0x10]
fld dword [esp + 0xc]
fmul st(1)
fstp dword [eax - 0xc]
jne 0x527341
fstp st(0)
lea eax, [esp + 0x48]
mov ecx, 0xa
jmp 0x527380
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax - 4], edi
mov dword [eax - 8], edi
add eax, 0x10
dec ecx
jne 0x527380
cmp ebx, edi
jle 0x5273bd
jmp 0x5273a0
lea esi, [esp + edi + 0x120]
lea ecx, [esp + edi + 0x380]
lea eax, [esp + 0x40]
call fcn.00525bf0
add edi, 0x10
dec ebx
jne 0x5273a0
mov eax, dword [0x6e6244]
mov ecx, dword [0x6e6240]
mov edx, dword [0x6e623c]
push eax
mov eax, dword [0x72a378]
push ecx
push edx
lea ecx, [esp + 0x4c]
call fcn.00525fc0
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esi + 0x120], eax
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x124], ecx
mov ecx, dword [esp + 0x50]
mov dword [esi + 0x128], edx
mov edx, dword [esp + 0x54]
mov dword [esi + 0x12c], eax
mov eax, dword [esp + 0x58]
mov dword [esi + 0x130], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esi + 0x134], edx
mov edx, dword [esp + 0x60]
mov dword [esi + 0x138], eax
mov eax, dword [esp + 0x64]
mov dword [esi + 0x13c], ecx
mov ecx, dword [esp + 0x68]
mov dword [esi + 0x140], edx
mov edx, dword [esp + 0x6c]
mov dword [esi + 0x144], eax
mov eax, dword [esp + 0x70]
mov dword [esi + 0x148], ecx
mov ecx, dword [esp + 0x74]
mov dword [esi + 0x14c], edx
mov edx, dword [esp + 0x78]
mov dword [esi + 0x150], eax
mov eax, dword [esp + 0x7c]
mov dword [esi + 0x154], ecx
mov ecx, dword [esp + 0x80]
mov dword [esi + 0x158], edx
mov edx, dword [esp + 0x84]
mov dword [esi + 0x15c], eax
mov eax, dword [esp + 0x88]
mov dword [esi + 0x160], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esi + 0x164], edx
mov edx, dword [esp + 0x90]
mov dword [esi + 0x168], eax
mov eax, dword [esp + 0x94]
mov dword [esi + 0x16c], ecx
mov ecx, dword [esp + 0x98]
mov dword [esi + 0x170], edx
mov edx, dword [esp + 0x9c]
mov dword [esi + 0x174], eax
mov eax, dword [esp + 0xa0]
mov dword [esi + 0x178], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esi + 0x17c], edx
mov edx, dword [esp + 0xa8]
mov dword [esi + 0x180], eax
mov eax, dword [esp + 0xac]
mov dword [esi + 0x184], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esi + 0x188], edx
mov edx, dword [esp + 0xb4]
mov dword [esi + 0x18c], eax
mov eax, dword [esp + 0xb8]
mov dword [esi + 0x190], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esi + 0x194], edx
mov edx, dword [esp + 0xc0]
mov dword [esi + 0x198], eax
mov eax, dword [esp + 0xc4]
mov dword [esi + 0x19c], ecx
mov ecx, dword [esp + 0xc8]
mov dword [esi + 0x1a0], edx
mov edx, dword [esp + 0xcc]
mov dword [esi + 0x1a4], eax
mov dword [esi + 0x1a8], ecx
mov eax, dword [esp + 0xd0]
fld dword [esp + 0x120]
fmul dword [0x6bdbc8]
mov ecx, dword [esp + 0xd4]
mov dword [esi + 0x1ac], edx
mov edx, dword [esp + 0xd8]
mov dword [esi + 0x1b0], eax
mov eax, dword [esp + 0xdc]
mov dword [esi + 0x1b4], ecx
mov dword [esi + 0x1b8], edx
mov dword [esi + 0x1bc], eax
fstp dword [esi]
fld dword [esp + 0x124]
mov ecx, dword [esp + 0x380]
fmul dword [0x6bdbc8]
mov edx, dword [esp + 0x384]
mov eax, dword [esp + 0x388]
mov dword [esi + 0x40], ecx
fstp dword [esi + 4]
mov ecx, dword [esp + 0x390]
fld dword [esp + 0x128]
mov dword [esi + 0x50], edx
fmul dword [0x6bdbc8]
mov edx, dword [esp + 0x394]
mov dword [esi + 0x60], eax
mov eax, dword [esp + 0x398]
fstp dword [esi + 8]
mov dword [esi + 0x44], ecx
fld dword [esp + 0x130]
mov ecx, dword [esp + 0x3a0]
fmul dword [0x6bdbc8]
mov dword [esi + 0x54], edx
mov edx, dword [esp + 0x3a4]
mov dword [esi + 0x64], eax
fstp dword [esi + 0x10]
mov eax, dword [esp + 0x3a8]
fld dword [esp + 0x134]
mov dword [esi + 0x48], ecx
fmul dword [0x6bdbc8]
mov dword [esi + 0x58], edx
mov dword [esi + 0x68], eax
fstp dword [esi + 0x14]
fld dword [esp + 0x138]
fmul dword [0x6bdbc8]
fstp dword [esi + 0x18]
fld dword [esp + 0x140]
fmul dword [0x6bdbc8]
fstp dword [esi + 0x20]
fld dword [esp + 0x144]
fmul dword [0x6bdbc8]
fstp dword [esi + 0x24]
fld dword [esp + 0x148]
fmul dword [0x6bdbc8]
fstp dword [esi + 0x28]
fld dword [0x6e6230]
fmul dword [esi + 0x120]
call fcn.00666390
test eax, eax
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
jge 0x5276c6
fadd dword [0x6bdcac]
fst dword [esi + 0x30]
fld dword [0x6e6230]
fmul dword [esi + 0x124]
call fcn.00666390
test eax, eax
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
jge 0x5276ec
fadd dword [0x6bdcac]
fst dword [esp + 0xc]
fstp dword [esi + 0x34]
fld dword [0x6e6230]
fmul dword [esi + 0x128]
call fcn.00666390
test eax, eax
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
jge 0x527716
fadd dword [0x6bdcac]
fst dword [esp + 0x1c]
mov ecx, 0x437f0000
fstp dword [esi + 0x38]
fcomp dword [0x6bdbc8]
fnstsw ax
test ah, 0x41
jne 0x527732
mov dword [esi + 0x30], ecx
fld dword [esp + 0xc]
fcomp dword [0x6bdbc8]
fnstsw ax
test ah, 0x41
jne 0x527746
mov dword [esi + 0x34], ecx
fld dword [esp + 0x1c]
fcomp dword [0x6bdbc8]
fnstsw ax
test ah, 0x41
jne 0x52775a
mov dword [esi + 0x38], ecx
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret