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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x84
mov eax, dword [0xd9b8cc]
test eax, eax
push ebx
push esi
push edi
mov dword [esp + 0x1c], eax
je 0x52d057
mov dl, byte [eax + 4]
test dl, 2
lea ecx, [eax + 4]
mov dword [esp + 0x30], ecx
jne 0x52c57d
mov dword [eax + 0x54], 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0xd9b194]
fld dword [0xd9b190]
fchs
mov ecx, dword [0xd9b190]
mov dword [esp + 0x54], edx
mov edx, dword [0xd9b19c]
mov dword [esp + 0x5c], edx
mov edx, dword [0xd9b380]
mov dword [esp + 0x60], edx
mov edx, dword [0xd9b388]
mov dword [esp + 0x50], ecx
mov ecx, dword [0xd9b198]
mov dword [esp + 0x68], edx
mov edx, dword [0xd9b178]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [0xd9b384]
mov dword [esp + 0x70], edx
mov edx, dword [0xd9b180]
mov dword [esp + 0x64], ecx
mov ecx, dword [0xd9b38c]
mov dword [esp + 0x78], edx
movzx edx, byte [eax + 0x44]
mov dword [esp + 0x6c], ecx
fstp dword [esp + 0x50]
mov ecx, dword [0xd9b17c]
fld dword [esp + 0x54]
mov dword [esp + 0x24], edx
fchs
movzx edx, byte [eax + 0x46]
mov dword [esp + 0x74], ecx
mov ecx, dword [0xd9b184]
mov dword [esp + 0x7c], ecx
fstp dword [esp + 0x54]
movzx ecx, byte [eax + 0x45]
fild dword [esp + 0x24]
fld dword [0xd9b380]
mov dword [esp + 0x24], ecx
lea ecx, [eax + 0x54]
fmul st(1)
fstp dword [esp + 0x60]
fild dword [esp + 0x24]
mov dword [esp + 0x24], edx
fld dword [esp + 0x64]
mov edx, dword [ecx]
mov dword [esp + 0x2c], edx
fmul st(1)
lea edx, [eax + 8]
fstp dword [esp + 0x64]
fild dword [esp + 0x24]
fst dword [esp + 0x24]
fmul dword [esp + 0x68]
fstp dword [esp + 0x68]
fxch st(1)
fmul dword [0xd9b178]
fmul dword [0x8cb1a4]
fstp dword [esp + 0x70]
fmul dword [esp + 0x74]
fmul dword [0x8cb1a4]
fstp dword [esp + 0x74]
fld dword [esp + 0x24]
mov dword [esp + 0x24], ecx
fmul dword [esp + 0x78]
fmul dword [0x8cb1a4]
fstp dword [esp + 0x78]
fld dword [0xe74de0]
fmul dword [0x886824]
fstp dword [esp + 0x34]
fld dword [0xe74de4]
fchs
fmul dword [0x886824]
fstp dword [esp + 0x38]
fld dword [0xe74de8]
fmul dword [0x886824]
fstp dword [esp + 0x3c]
mov dword [esp + 0x10], edx
mov dword [edx], 0
lea edx, [eax + 0x48]
lea ebx, [eax + 0x10]
mov dword [ecx], 4
mov ecx, dword [ebx]
mov dword [esp + 0x18], edx
mov edx, dword [edx]
xor edi, edi
lea ecx, [ecx + ecx*8]
add eax, 0x64
lea esi, [edx + ecx*8]
mov dword [esp + 0x20], eax
jmp 0x52c700
mov eax, dword [esi]
mov ecx, dword [esp + 0x20]
mov dword [0x909a50], eax
fld dword [ecx]
fmul dword [0x870774]
push 1
push 0x909a50
push 0
fadd dword [esi + 4]
fstp dword [0x909a54]
mov edx, dword [esi + 8]
mov dword [0x909a58], edx
call fcn.0052e640
add esp, 0xc
cmp eax, 1
jne 0x52c749
mov edx, eax
mov eax, dword [esp + 0x10]
mov ecx, edi
shl edx, cl
or dword [eax], edx
jmp 0x52c7b3
fld dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
fsub dword [0x909a50]
fstp dword [esp + 0x40]
fld dword [esp + 0x38]
fsub dword [0x909a54]
fstp dword [esp + 0x44]
fld dword [esp + 0x3c]
fsub dword [0x909a58]
fst dword [esp + 0x48]
mov eax, dword [ecx]
cmp eax, 4
fmul dword [esp + 0x48]
fld dword [esp + 0x44]
fmul dword [esp + 0x44]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [esp + 0x40]
faddp st(1)
fstp dword [esp + 0x14]
je 0x52c7a9
fld dword [esp + 0x14]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 1
je 0x52c7b3
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov dword [ecx], edi
inc edi
add esi, 0x48
cmp edi, 4
jb 0x52c700
mov ecx, dword [0xd9aff0]
mov esi, dword [esp + 0x1c]
xor edi, edi
cmp ecx, edi
jne 0x52c7d6
cmp dword [esi + 0xc], 2
je 0x52c805
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
cmp eax, 4
jae 0x52d057
cmp dword [esp + 0x2c], eax
jne 0x52c805
mov al, byte [0xe74d8d]
test al, al
je 0x52d057
mov eax, dword [esp + 0x30]
test byte [eax], 1
je 0x52d057
mov eax, dword [esi + 0xc]
dec eax
je 0x52c90b
dec eax
jne 0x52c9ba
mov edx, dword [esi + 0x58]
cmp edx, dword [esi + 0x5c]
jae 0x52c898
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov ecx, dword [ebx]
mov edi, 2
add eax, 0x90
cmp ecx, edi
jbe 0x52c890
lea esi, [eax + 0x18]
push 0x64
call fcn.0042d710
movzx ecx, ax
mov dword [esp + 0x34], ecx
push 0x64
fild dword [esp + 0x38]
fmul dword [0x8cb1b8]
fadd dword [esi - 8]
fadd dword [0x8cb1b4]
fstp dword [esi - 8]
call fcn.0042d710
movzx edx, ax
mov dword [esp + 0x38], edx
add esp, 8
inc edi
fild dword [esp + 0x30]
add esi, 0x48
fmul dword [0x8cb1b0]
fadd dword [esi - 0x48]
fadd dword [0x8cb1ac]
fstp dword [esi - 0x48]
mov eax, dword [ebx]
cmp edi, eax
jb 0x52c837
mov esi, dword [esp + 0x1c]
inc dword [esi + 0x58]
jmp 0x52c9ba
mov eax, dword [ebx]
mov edx, dword [esp + 0x18]
mov edx, dword [edx]
lea eax, [eax + eax*8]
fld dword [edx + eax*8 - 0x30]
lea eax, [edx + eax*8 - 0x48]
fabs
fld dword [eax + 0x10]
fabs
faddp st(1)
fcomp dword [0x8cb1a8]
fnstsw ax
test ah, 5
jp 0x52c8da
xor eax, eax
cmp ecx, edi
sete al
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
lea eax, [eax + eax + 1]
mov dword [esi + 0xc], eax
jmp 0x52c9ba
push 0x200
call fcn.0042d710
add esp, 4
test ax, ax
jne 0x52c9ba
push 0x20
mov dword [esi + 0x58], edi
call fcn.0042d710
movzx ecx, ax
add esp, 4
add ecx, 0x12
mov dword [esi + 0x5c], ecx
jmp 0x52c9ba
push 0x96
call fcn.0042d710
add esp, 4
test ax, ax
jne 0x52c9ba
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
mov ecx, dword [ebx]
mov edi, 2
add eax, 0x90
cmp ecx, edi
jbe 0x52c999
lea esi, [eax + 0x18]
lea ebx, [ebx]
push 0x64
call fcn.0042d710
movzx eax, ax
mov dword [esp + 0x34], eax
push 0x64
fild dword [esp + 0x38]
fmul dword [0x8cb1b8]
fadd dword [esi - 8]
fadd dword [0x8cb1b4]
fstp dword [esi - 8]
call fcn.0042d710
movzx ecx, ax
mov dword [esp + 0x38], ecx
add esp, 8
inc edi
fild dword [esp + 0x30]
add esi, 0x48
fmul dword [0x8cb1b0]
fadd dword [esi - 0x48]
fadd dword [0x8cb1ac]
fstp dword [esi - 0x48]
mov eax, dword [ebx]
cmp edi, eax
jb 0x52c940
mov esi, dword [esp + 0x1c]
push 0x2e
mov dword [esi + 0xc], 2
mov dword [esi + 0x58], 0
call fcn.0042d710
movzx edx, ax
add esp, 4
add edx, 0x1c
mov dword [esi + 0x5c], edx
mov ecx, dword [esi + 0xc]
mov eax, 2
cmp ecx, eax
jne 0x52cd6b
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
mov edx, dword [ebx]
add ecx, 0x90
cmp edx, eax
mov dword [esp + 0x20], eax
jbe 0x52cb4a
fld dword [ecx + 0x10]
mov esi, dword [ecx + 0x3c]
cmp ecx, esi
fmul dword [0x8cb1a0]
fst dword [esp + 0x30]
fstp dword [ecx + 0x10]
fld dword [ecx + 0x14]
fmul dword [0x8cb1a0]
fst dword [esp + 0x2c]
fstp dword [ecx + 0x14]
fld dword [ecx + 0x18]
fmul dword [0x8cb1a0]
fst dword [esp + 0x28]
fstp dword [ecx + 0x18]
je 0x52ca80
mov edi, dword [esi + 0xc]
fld dword [edi]
mov eax, dword [ecx + 0xc]
fsub dword [eax]
mov edx, dword [ecx + 0x38]
mov edi, dword [edx + 0xc]
fld dword [eax]
fsub dword [edi]
fsubp st(1)
fmul dword [0x8cb068]
fadd dword [esp + 0x30]
fstp dword [ecx + 0x10]
mov edi, dword [esi + 0xc]
fld dword [edi + 4]
mov edi, dword [edx + 0xc]
fsub dword [eax + 4]
fld dword [eax + 4]
fsub dword [edi + 4]
fsubp st(1)
fmul dword [0x8cb068]
fadd dword [esp + 0x2c]
fstp dword [ecx + 0x14]
mov esi, dword [esi + 0xc]
fld dword [esi + 8]
mov edx, dword [edx + 0xc]
fsub dword [eax + 8]
fld dword [eax + 8]
fsub dword [edx + 8]
fsubp st(1)
fmul dword [0x8cb068]
fadd dword [esp + 0x28]
fstp dword [ecx + 0x18]
mov eax, dword [ecx + 0x40]
fld dword [eax]
fsub dword [ecx]
mov dword [esp + 0x44], 0
fstp dword [esp + 0x40]
mov edx, dword [ecx + 0x40]
fld dword [edx + 8]
fsub dword [ecx + 8]
fst dword [esp + 0x48]
fmul dword [esp + 0x48]
fld dword [esp + 0x40]
fmul dword [esp + 0x40]
faddp st(1)
fsqrt
fst dword [esp + 0x10]
fcomp dword [0x879dc4]
fnstsw ax
test ah, 0x41
jne 0x52cb0a
fld dword [esp + 0x10]
fcomp dword [0x8cb18c]
fnstsw ax
test ah, 5
jp 0x52cb0a
fld dword [esp + 0x10]
fsub dword [0x8cb18c]
fdiv dword [esp + 0x10]
fst dword [esp + 0x14]
fmul dword [esp + 0x40]
fadd dword [ecx + 0x10]
fstp dword [ecx + 0x10]
fld dword [esp + 0x14]
fmul dword [esp + 0x44]
fadd dword [ecx + 0x14]
fstp dword [ecx + 0x14]
fld dword [esp + 0x14]
fmul dword [esp + 0x48]
fadd dword [ecx + 0x18]
fstp dword [ecx + 0x18]
fld dword [ecx + 0x14]
mov eax, dword [ecx + 0xc]
fsub dword [str._n_33]
add ecx, 0x48
fst dword [ecx - 0x34]
fld dword [ecx - 0x38]
fadd dword [eax]
fstp dword [ecx - 0x48]
fadd dword [eax + 4]
fstp dword [ecx - 0x44]
fld dword [eax + 8]
mov eax, dword [esp + 0x20]
fadd dword [ecx - 0x30]
inc eax
mov dword [esp + 0x20], eax
fstp dword [ecx - 0x40]
mov edx, dword [ebx]
cmp eax, edx
jb 0x52c9e4
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov eax, dword [ebx]
mov edx, 2
add ecx, 0x90
cmp eax, edx
jbe 0x52cd26
mov eax, dword [ecx + 0x38]
fld dword [eax]
fsub dword [ecx]
fstp dword [esp + 0x40]
mov eax, dword [ecx + 0x38]
fld dword [eax + 4]
fsub dword [ecx + 4]
fstp dword [esp + 0x44]
mov eax, dword [ecx + 0x38]
fld dword [eax + 8]
fsub dword [ecx + 8]
fst dword [esp + 0x48]
mov eax, dword [esi + 0x1c]
cmp edx, eax
fmul dword [esp + 0x48]
fld dword [esp + 0x44]
fmul dword [esp + 0x44]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [esp + 0x40]
faddp st(1)
fsqrt
fstp dword [esp + 0x10]
ja 0x52cbb4
mov eax, dword [esi + 0x24]
jmp 0x52cbb7
mov eax, dword [esi + 0x28]
fld dword [esp + 0x10]
mov dword [esp + 0x14], eax
fcomp dword [0x879dc4]
fnstsw ax
test ah, 0x41
jne 0x52cc4b
fld dword [esp + 0x10]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x44
jnp 0x52cc4b
fld dword [esp + 0x10]
fsub dword [esp + 0x14]
fdiv dword [esp + 0x10]
fld dword [esp + 0x40]
fmul st(1)
fstp dword [esp + 0x40]
fld dword [esp + 0x44]
fmul st(1)
fstp dword [esp + 0x44]
fld dword [esp + 0x48]
fmul st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fmul st(1)
fstp dword [esp + 0x4c]
fstp st(0)
fld dword [esp + 0x40]
fadd dword [ecx + 0x10]
fstp dword [ecx + 0x10]
fld dword [esp + 0x44]
fadd dword [ecx + 0x14]
fstp dword [ecx + 0x14]
fld dword [esp + 0x48]
fadd dword [ecx + 0x18]
fstp dword [ecx + 0x18]
fld dword [esp + 0x40]
fadd dword [ecx]
fstp dword [ecx]
fld dword [esp + 0x44]
fadd dword [ecx + 4]
fstp dword [ecx + 4]
fld dword [esp + 0x48]
fadd dword [ecx + 8]
fstp dword [ecx + 8]
mov eax, dword [ecx + 0x40]
fld dword [eax]
fsub dword [ecx]
fstp dword [esp + 0x40]
mov eax, dword [ecx + 0x40]
fld dword [eax + 4]
fsub dword [ecx + 4]
fstp dword [esp + 0x44]
mov eax, dword [ecx + 0x40]
fld dword [eax + 8]
fsub dword [ecx + 8]
fst dword [esp + 0x48]
fmul dword [esp + 0x48]
fld dword [esp + 0x44]
fmul dword [esp + 0x44]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [esp + 0x40]
faddp st(1)
fsqrt
fst dword [esp + 0x10]
fcomp dword [0x879dc4]
fnstsw ax
test ah, 0x41
jne 0x52cd18
fld dword [esp + 0x10]
fcomp dword [ecx + 0x20]
fnstsw ax
test ah, 0x44
jnp 0x52cd18
fld dword [esp + 0x10]
fsub dword [ecx + 0x20]
fdiv dword [esp + 0x10]
fld dword [esp + 0x40]
fmul st(1)
fstp dword [esp + 0x40]
fld dword [esp + 0x44]
fmul st(1)
fstp dword [esp + 0x44]
fld dword [esp + 0x48]
fmul st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fmul st(1)
fstp dword [esp + 0x4c]
fstp st(0)
fld dword [esp + 0x40]
fadd dword [ecx + 0x10]
fstp dword [ecx + 0x10]
fld dword [esp + 0x44]
fadd dword [ecx + 0x14]
fstp dword [ecx + 0x14]
fld dword [esp + 0x48]
fadd dword [ecx + 0x18]
fstp dword [ecx + 0x18]
fld dword [esp + 0x40]
fadd dword [ecx]
fstp dword [ecx]
fld dword [esp + 0x44]
fadd dword [ecx + 4]
fstp dword [ecx + 4]
fld dword [esp + 0x48]
fadd dword [ecx + 8]
fstp dword [ecx + 8]
mov eax, dword [ebx]
inc edx
add ecx, 0x48
cmp edx, eax
jb 0x52cb65
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov ecx, dword [ebx]
mov edx, 2
add eax, 0x90
cmp ecx, edx
jbe 0x52cd6b
add eax, 0xc
nop
mov ecx, dword [eax]
fld dword [eax + 4]
fadd dword [ecx]
inc edx
add eax, 0x48
fstp dword [ecx]
mov ecx, dword [eax - 0x48]
fld dword [eax - 0x40]
fadd dword [ecx + 4]
fstp dword [ecx + 4]
mov ecx, dword [eax - 0x48]
fld dword [eax - 0x3c]
fadd dword [ecx + 8]
fstp dword [ecx + 8]
mov ecx, dword [ebx]
cmp edx, ecx
jb 0x52cd40
mov edx, dword [esp + 0x24]
cmp dword [edx], 4
jae 0x52d057
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
mov eax, dword [ebx]
mov edi, 2
add esi, 0x90
cmp eax, edi
jbe 0x52cea3
add esi, 0x38
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov edx, dword [esi + 8]
fld dword [eax]
mov edx, dword [edx + 0xc]
fsub dword [edx]
mov ecx, dword [esi - 0x2c]
fld dword [eax + 4]
fsub dword [edx + 4]
fld dword [eax + 8]
fsub dword [edx + 8]
fld dword [ecx]
fsub dword [eax]
fstp dword [esp + 0x80]
fld dword [ecx + 4]
fsub dword [eax + 4]
fstp dword [esp + 0x84]
fld dword [ecx + 8]
fsub dword [eax + 8]
fld st(0)
fmul st(3)
fld dword [esp + 0x84]
fmul st(3)
fsubp st(1)
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x34]
fld dword [esp + 0x80]
mov dword [esp + 0x40], eax
fmul st(2)
fxch st(1)
fmul st(4)
fsubp st(1)
fstp dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x44], ecx
fstp st(0)
fld dword [esp + 0x84]
fmul st(2)
fld dword [esp + 0x80]
fmul st(2)
fsubp st(1)
fstp dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x48], edx
fstp st(0)
fstp st(0)
fld dword [esp + 0x3c]
fmul dword [esp + 0x3c]
fld dword [esp + 0x38]
fmul dword [esp + 0x38]
faddp st(1)
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
faddp st(1)
fcomp dword [0x879dc4]
fnstsw ax
test ah, 0x44
jp 0x52ce71
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0x3f800000
mov dword [esp + 0x48], 0
jmp 0x52ce80
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.00402c01
mov edx, dword [esp + 0x40]
mov dword [esi - 0xc], edx
mov eax, dword [esp + 0x44]
mov dword [esi - 8], eax
mov ecx, dword [esp + 0x48]
mov dword [esi - 4], ecx
mov eax, dword [ebx]
inc edi
add esi, 0x48
cmp edi, eax
jb 0x52cd96
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
mov edx, dword [ebx]
mov ecx, dword [esp + 0x18]
add eax, edx
mov edx, dword [ecx]
lea eax, [eax + eax*8]
mov eax, dword [edx + eax*8 + 0x1c]
push eax
lea esi, [esp + 0x74]
lea edi, [esp + 0x64]
call fcn.00529b10
mov eax, dword [ebx]
mov edx, dword [esp + 0x20]
mov edx, dword [edx + 0x4c]
lea ecx, [eax + eax*2]
lea esi, [edx + ecx*8 - 0x18]
mov edx, dword [esp + 0x1c]
mov edx, dword [edx]
lea ecx, [eax + eax*8]
lea edx, [edx + ecx*8 - 0x48]
add esp, 4
test eax, eax
lea ecx, [eax - 1]
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0
jbe 0x52d057
add edx, 0x2c
mov dword [esp + 0x1c], edx
jmp 0x52cf14
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
test ecx, ecx
mov eax, dword [ebx]
lea eax, [eax + eax*2]
lea edx, [esi + eax*8]
mov eax, esi
mov edi, dword [eax]
mov dword [edx], edi
mov edi, dword [eax + 4]
mov dword [edx + 4], edi
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
jle 0x52cfe4
cmp ecx, 1
mov eax, dword [esp + 0x1c]
jne 0x52cf56
mov ecx, dword [eax + 0x48]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x44], edx
mov eax, dword [eax + 0x50]
mov dword [esp + 0x48], eax
jmp 0x52cfc4
mov edx, dword [ebx]
dec edx
cmp ecx, edx
jne 0x52cf73
mov ecx, dword [eax]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x44], edx
mov eax, dword [eax + 8]
mov dword [esp + 0x48], eax
jmp 0x52cfc4
fld dword [eax + 0x48]
fadd dword [eax]
fstp dword [esp + 0x40]
fld dword [eax + 0x4c]
fadd dword [eax + 4]
fstp dword [esp + 0x44]
fld dword [eax + 0x50]
fadd dword [eax + 8]
fst dword [esp + 0x48]
fmul dword [esp + 0x48]
fld dword [esp + 0x44]
fmul dword [esp + 0x44]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [esp + 0x40]
faddp st(1)
fcomp dword [0x879dc4]
fnstsw ax
test ah, 0x44
jnp 0x52cfc4
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x44]
push edx
call fcn.00402c01
fld dword [esp + 0x58]
fmul dword [esp + 0x48]
fld dword [esp + 0x54]
fmul dword [esp + 0x44]
faddp st(1)
fld dword [esp + 0x50]
fmul dword [esp + 0x40]
faddp st(1)
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x14]
push eax
add esi, 0xc
push esi
lea esi, [esp + 0x68]
lea edi, [esp + 0x78]
call fcn.00529d50
fld dword [esp + 0x1c]
mov eax, dword [ebx]
fchs
mov edx, dword [esp + 0x2c]
fstp dword [esp + 4]
lea ecx, [eax + eax*2]
add esp, 4
lea eax, [edx + ecx*8 + 0xc]
push eax
lea esi, [esp + 0x68]
lea edi, [esp + 0x78]
call fcn.00529d50
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [ebx]
add esp, 8
inc eax
sub edi, 0x18
sub esi, 0x48
dec edx
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edx
jb 0x52cf0c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret