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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x44
mov ecx, dword [0xd9aea4]
push ebx
xor ebx, ebx
cmp ecx, ebx
push esi
push edi
je 0x524323
test byte [ecx], 1
je 0x524323
cmp byte [0xe74d8d], bl
je 0x524323
lea eax, [ecx + 0xc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
lea edi, [edx + ecx + 0x24]
lea esi, [eax + ecx + 0x1f8]
mov ecx, esi
mov edx, dword [ecx]
mov dword [esp + 0x40], edx
mov eax, dword [ecx + 4]
push 1
lea edx, [esp + 0x44]
mov dword [esp + 0x48], eax
mov ecx, dword [ecx + 8]
push edx
push 1
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], 0x41500000
call fcn.0052e640
mov ecx, 1
add esp, 0xc
cmp eax, ecx
jne 0x523bfb
mov eax, dword [esp + 0x18]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [eax + 4], 0x3f8ccccd
jmp 0x524052
mov ecx, dword [esp + 0x18]
fld dword [ecx + 4]
fcomp dword [0x87076c]
fnstsw ax
test ah, 0x41
jne 0x523c22
push 0x40
call fcn.0042d710
add esp, 4
test ax, ax
je 0x52404d
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
push 0x3d4ccccd
push 0x3f7c28f6
push edi
push esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
call fcn.00513e00
fld dword [esi]
fsub dword [esp + 0x40]
add esp, 0x10
cmp eax, 1
fadd dword [esi + 0x18]
fstp dword [esi + 0x18]
fld dword [esi + 4]
fsub dword [esp + 0x34]
fadd dword [esi + 0x1c]
fstp dword [esi + 0x1c]
fld dword [esi + 8]
fsub dword [esp + 0x38]
fadd dword [esi + 0x20]
fstp dword [esi + 0x20]
jne 0x523c94
mov eax, dword [esp + 0x18]
fld dword [eax + 4]
mov ecx, dword [0xd9aea4]
fadd dword [0x8cafec]
fstp dword [eax + 4]
jmp 0x523d2e
cmp eax, 0xffffffff
jne 0x523cb1
mov eax, dword [esp + 0x18]
fld dword [eax + 4]
mov ecx, dword [0xd9aea4]
fadd dword [0x87b754]
fstp dword [eax + 4]
jmp 0x523d2e
push 0x40
call fcn.0042d710
add esp, 4
test ax, ax
jne 0x523d1c
push 0xc8
call fcn.0042d710
movzx edx, ax
mov eax, dword [0xd9aea4]
sub edx, 0x64
mov dword [esp + 0x28], edx
push 0xc8
fild dword [esp + 0x2c]
fmul dword [eax + 8]
fmul dword [0x8cb084]
fadd dword [edi]
fstp dword [edi]
call fcn.0042d710
movzx ecx, ax
add esp, 8
sub ecx, 0x64
mov dword [esp + 0x24], ecx
mov ecx, dword [0xd9aea4]
fild dword [esp + 0x24]
fmul dword [ecx + 8]
fmul dword [0x8cb084]
fadd dword [edi + 8]
fstp dword [edi + 8]
jmp 0x523d22
mov ecx, dword [0xd9aea4]
fld dword [edi + 4]
fadd dword [0x8cb080]
fstp dword [edi + 4]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x24], ebx
jmp 0x523d40
fld dword [edx + 4]
add edi, 0xc
fcomp dword [0x879dc4]
add esi, 0x30
fnstsw ax
test ah, 0x44
jp 0x523ed8
fld dword [edi]
push 0x20
fmul dword [0x8cb07c]
fstp dword [edi]
fld dword [edi + 4]
fmul dword [0x8cb07c]
fstp dword [edi + 4]
fld dword [edi + 8]
fmul dword [0x8cb07c]
fstp dword [edi + 8]
call fcn.0042d710
add esp, 4
test ax, ax
jne 0x523e11
push 0xc8
call fcn.0042d710
movzx edx, ax
mov eax, dword [esp + 0x24]
sub edx, 0x64
mov dword [esp + 0x18], edx
push 0xc8
fild dword [esp + 0x1c]
fmul dword [eax + 4]
fmul dword [0x8cb078]
fadd dword [edi]
fstp dword [edi]
call fcn.0042d710
mov edx, dword [esp + 0x28]
movzx ecx, ax
sub ecx, 0x64
mov dword [esp + 0x1c], ecx
push 0xc8
fild dword [esp + 0x20]
fmul dword [edx + 4]
fmul dword [0x8cb074]
fadd dword [edi + 4]
fstp dword [edi + 4]
call fcn.0042d710
mov ecx, dword [esp + 0x2c]
movzx eax, ax
add esp, 0xc
sub eax, 0x64
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [ecx + 4]
fmul dword [0x8cb078]
fadd dword [edi + 8]
fstp dword [edi + 8]
cmp dword [esp + 0x24], ebx
jbe 0x523e62
fld dword [esi - 0x30]
fsub dword [esi - 0x60]
fld dword [esi]
fsub dword [esi - 0x30]
fsubp st(1)
fmul dword [0x8cb070]
fadd dword [edi]
fstp dword [edi]
fld dword [esi - 0x2c]
fsub dword [esi - 0x5c]
fld dword [esi + 4]
fsub dword [esi - 0x2c]
fsubp st(1)
fmul dword [0x8cb070]
fadd dword [edi + 4]
fstp dword [edi + 4]
fld dword [esi - 0x28]
fsub dword [esi - 0x58]
fld dword [esi + 8]
fsub dword [esi - 0x28]
fsubp st(1)
fmul dword [0x8cb070]
fadd dword [edi + 8]
fstp dword [edi + 8]
mov ecx, dword [0xd9aea4]
fld dword [esi]
mov edx, dword [esp + 0x18]
fadd dword [edi]
fstp dword [esi]
fld dword [edi + 4]
fadd dword [esi + 4]
fstp dword [esi + 4]
fld dword [esi + 8]
fadd dword [edi + 8]
fstp dword [esi + 8]
fld dword [edi]
fadd dword [esi + 0x18]
fstp dword [esi + 0x18]
fld dword [edi + 4]
fadd dword [esi + 0x1c]
fstp dword [esi + 0x1c]
fld dword [esi + 0x20]
fadd dword [edi + 8]
fstp dword [esi + 0x20]
fld dword [edx + 4]
fcomp dword [0x879dc4]
fnstsw ax
test ah, 0x41
jne 0x523ef1
fld dword [esi + 4]
fcomp dword [0x886010]
fnstsw ax
test ah, 0x41
jne 0x523ee6
fld dword [0xd9aea0]
fadd dword [esi + 4]
fstp dword [esi + 4]
fld dword [0xd9aea0]
fadd dword [esi + 0x1c]
fstp dword [esi + 0x1c]
jmp 0x523ef1
fld dword [edi + 4]
fmul dword [0x8cb06c]
fstp dword [edi + 4]
jmp 0x523e68
mov eax, 0x3d4ccccd
mov dword [esi + 4], eax
mov dword [esi + 0x1c], eax
fld dword [esi - 0x30]
fsub dword [esi]
fstp dword [esp + 0x30]
fld dword [esi - 0x2c]
fsub dword [esi + 4]
fstp dword [esp + 0x34]
fld dword [esi - 0x28]
fsub dword [esi + 8]
fst dword [esp + 0x38]
fmul dword [esp + 0x38]
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
faddp st(1)
fld dword [esp + 0x30]
fmul dword [esp + 0x30]
faddp st(1)
fsqrt
fst dword [esp + 0x14]
fcomp dword [ecx + 8]
fnstsw ax
test ah, 0x41
jne 0x523f90
fld dword [esp + 0x14]
fcomp dword [0x879dc4]
fnstsw ax
test ah, 0x44
jnp 0x523f90
fld dword [esp + 0x14]
fsub dword [ecx + 8]
fdiv dword [esp + 0x14]
fld dword [esp + 0x30]
fmul st(1)
fld st(1)
fmul dword [esp + 0x34]
fstp dword [esp + 0x34]
fld st(1)
fmul dword [esp + 0x38]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fmul st(2)
fstp dword [esp + 0x3c]
fadd dword [esi]
fstp dword [esi]
fstp st(0)
fld dword [esp + 0x34]
fadd dword [esi + 4]
fstp dword [esi + 4]
fld dword [esp + 0x38]
fadd dword [esi + 8]
fstp dword [esi + 8]
fld dword [esi - 0x18]
fsub dword [esi + 0x18]
fstp dword [esp + 0x30]
fld dword [esi - 0x14]
fsub dword [esi + 0x1c]
fstp dword [esp + 0x34]
fld dword [esi - 0x10]
fsub dword [esi + 0x20]
fst dword [esp + 0x38]
fmul dword [esp + 0x38]
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
faddp st(1)
fld dword [esp + 0x30]
fmul dword [esp + 0x30]
faddp st(1)
fsqrt
fst dword [esp + 0x14]
fcomp dword [ecx + 8]
fnstsw ax
test ah, 0x41
jne 0x524030
fld dword [esp + 0x14]
fcomp dword [0x879dc4]
fnstsw ax
test ah, 0x44
jnp 0x524030
fld dword [esp + 0x14]
fsub dword [ecx + 8]
fdiv dword [esp + 0x14]
fld dword [esp + 0x30]
fmul st(1)
fld st(1)
fmul dword [esp + 0x34]
fstp dword [esp + 0x34]
fld st(1)
fmul dword [esp + 0x38]
fstp dword [esp + 0x38]
fxch st(1)
fmul dword [esp + 0x3c]
fstp dword [esp + 0x3c]
fadd dword [esi + 0x18]
fstp dword [esi + 0x18]
fld dword [esp + 0x34]
fadd dword [esi + 0x1c]
fstp dword [esi + 0x1c]
fld dword [esp + 0x38]
fadd dword [esi + 0x20]
fstp dword [esi + 0x20]
mov eax, dword [esp + 0x24]
inc eax
cmp eax, 0xc
mov dword [esp + 0x24], eax
jb 0x523d40
mov dword [edx], 1
jmp 0x5242f2
mov ecx, 1
cmp dword [0xd9ae98], ecx
mov eax, dword [0xd9ae9c]
jne 0x52407f
cmp eax, ecx
jne 0x524079
push 2
call fcn.0042d710
add esp, 4
neg ax
sbb eax, eax
inc eax
mov dword [esp + 0x1c], eax
jmp 0x52408b
mov dword [esp + 0x1c], ecx
jmp 0x524087
cmp eax, ecx
jne 0x524087
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x1c]
push eax
push edi
push esi
call fcn.005114d0
fld dword [esi]
fmul dword [0x886824]
push 0x12c
fstp dword [esi]
fld dword [esi + 4]
fchs
fmul dword [0x886824]
fstp dword [esi + 4]
fld dword [esi + 8]
fmul dword [0x886824]
fstp dword [esi + 8]
call fcn.0042d710
movzx edx, ax
mov dword [esp + 0x34], edx
mov eax, dword [0xd9ae94]
mov dword [edi + 4], eax
fild dword [esp + 0x34]
mov ecx, esi
lea eax, [esi + 0x18]
add esp, 0x10
fmul dword [0x871038]
mov dword [esp + 0x24], 2
fadd dword [0x873814]
fmul dword [0xd9ae90]
fld st(0)
fmul dword [edi]
fst dword [edi]
fxch st(1)
fmul dword [edi + 8]
fstp dword [edi + 8]
fadd dword [esi]
fstp dword [esi]
fld dword [edi + 4]
fadd dword [esi + 4]
fstp dword [esi + 4]
fld dword [esi + 8]
fadd dword [edi + 8]
fstp dword [esi + 8]
mov edx, dword [ecx]
fld dword [0x87076c]
mov dword [eax], edx
fdiv dword [0xd9ae90]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov eax, dword [0xd9aea4]
lea ecx, [esi + 0x30]
fld st(0)
fmul dword [edi + 8]
fmul dword [eax + 4]
fadd dword [esi + 0x18]
fstp dword [esi + 0x18]
fmul dword [edi]
fmul dword [eax + 4]
lea eax, [edi + 0x10]
fadd dword [esi + 0x20]
fstp dword [esi + 0x20]
lea ebx, [ebx]
mov dword [eax - 4], ebx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov edx, esi
mov ebx, dword [edx]
mov edi, ecx
mov dword [edi], ebx
mov ebx, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [edi + 4], ebx
mov dword [edi + 8], edx
lea edi, [ecx - 0x18]
mov ebx, dword [edi]
lea edx, [ecx + 0x18]
mov dword [edx], ebx
mov ebx, dword [edi + 4]
mov edi, dword [edi + 8]
mov dword [edx + 4], ebx
mov dword [edx + 8], edi
xor edx, edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov edi, ecx
mov ebx, dword [edi]
lea edx, [ecx + 0x30]
mov dword [edx], ebx
mov ebx, dword [edi + 4]
mov edi, dword [edi + 8]
mov dword [edx + 4], ebx
mov dword [edx + 8], edi
mov edi, dword [ecx + 0x18]
lea edx, [ecx + 0x48]
mov dword [edx], edi
mov edi, dword [ecx + 0x1c]
mov dword [edx + 4], edi
mov edi, dword [ecx + 0x20]
mov dword [edx + 8], edi
xor ebx, ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov edi, dword [ecx + 0x30]
lea edx, [ecx + 0x60]
mov dword [edx], edi
mov edi, dword [ecx + 0x34]
mov dword [edx + 4], edi
mov edi, dword [ecx + 0x38]
mov dword [edx + 8], edi
mov edi, dword [ecx + 0x48]
lea edx, [ecx + 0x78]
mov dword [edx], edi
mov edi, dword [ecx + 0x4c]
mov dword [edx + 4], edi
mov edi, dword [ecx + 0x50]
mov dword [edx + 8], edi
mov dword [eax + 0x20], ebx
mov dword [eax + 0x24], ebx
mov dword [eax + 0x28], ebx
mov edi, dword [ecx + 0x60]
lea edx, [ecx + 0x90]
mov dword [edx], edi
mov edi, dword [ecx + 0x64]
mov dword [edx + 4], edi
mov edi, dword [ecx + 0x68]
mov dword [edx + 8], edi
mov edi, dword [ecx + 0x78]
lea edx, [ecx + 0xa8]
mov dword [edx], edi
mov edi, dword [ecx + 0x7c]
mov dword [edx + 4], edi
mov edi, dword [ecx + 0x80]
mov dword [edx + 8], edi
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], ebx
mov edi, dword [ecx + 0x90]
lea edx, [ecx + 0xc0]
mov dword [edx], edi
mov edi, dword [ecx + 0x94]
mov dword [edx + 4], edi
mov edi, dword [ecx + 0x98]
mov dword [edx + 8], edi
mov edi, dword [ecx + 0xa8]
lea edx, [ecx + 0xd8]
mov dword [edx], edi
mov edi, dword [ecx + 0xac]
mov dword [edx + 4], edi
mov edi, dword [ecx + 0xb0]
mov dword [edx + 8], edi
mov dword [eax + 0x38], ebx
mov dword [eax + 0x3c], ebx
mov dword [eax + 0x40], ebx
mov edi, dword [ecx + 0xc0]
lea edx, [ecx + 0xf0]
mov dword [edx], edi
mov edi, dword [ecx + 0xc4]
mov dword [edx + 4], edi
mov edi, dword [ecx + 0xc8]
mov dword [edx + 8], edi
mov edi, dword [ecx + 0xd8]
lea edx, [ecx + 0x108]
mov dword [edx], edi
mov edi, dword [ecx + 0xdc]
mov dword [edx + 4], edi
mov edi, dword [ecx + 0xe0]
mov dword [edx + 8], edi
mov edx, dword [esp + 0x24]
add eax, 0x48
add esi, 0x120
add ecx, 0x120
dec edx
mov dword [esp + 0x24], edx
jne 0x524160
mov eax, dword [esp + 0x18]
mov ecx, dword [0xd9aea4]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
add eax, 0x9c
add edi, 0x270
add esi, 8
cmp eax, 0x1d4
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], esi
jb 0x523b90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret