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

Disassembly:
sub esp, 0xa4
mov edx, dword [esp + 0xac]
push ebx
push ebp
push esi
mov esi, eax
mov eax, dword [edx + 4]
mov cx, word [eax + 0x1c]
mov eax, dword [0x6bf288]
test eax, eax
push edi
mov word [esp + 0x40], cx
je 0x65302b
mov ecx, dword [eax + 0x64]
test ecx, ecx
je 0x65302b
push edx
mov edx, dword [esp + 0xbc]
push edx
lea edx, [esi + 0x48]
push edx
lea edx, [esi + 0x30]
push edx
lea edx, [esi + 0x18]
push edx
push esi
push eax
call ecx
add esp, 0x1c
lea eax, [esp + 0x78]
mov dword [esp + 0x8c], eax
mov ecx, eax
lea edx, [esp + 0x84]
mov eax, edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x98], edx
mov dword [esp + 0x7c], eax
lea ecx, [esp + 0x90]
lea eax, [esp + 0x6c]
mov dword [esp + 0x74], ecx
mov edx, ecx
mov ecx, eax
mov dword [esp + 0x88], edx
mov dword [esp + 0x94], ecx
lea ecx, [esi + 0x18]
lea edx, [esi + 0x48]
lea edi, [esi + 0x30]
mov dword [esp + 0x80], eax
mov dword [esp + 0x90], edx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x78], ecx
mov dword [esp + 0x84], edi
mov esi, dword [esi + 0x10]
cmp esi, dword [ecx + 0x10]
mov ebx, eax
lea eax, [esp + 0x78]
lea ebp, [esp + 0x84]
lea edx, [esp + 0x90]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x3c], edx
jle 0x6530d1
mov eax, ebx
lea ebx, [esp + 0x78]
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], ebx
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x10]
cmp ecx, dword [edi + 0x10]
jle 0x6530ec
mov ebp, eax
lea eax, [esp + 0x84]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x14], eax
mov ecx, dword [ebp]
mov esi, dword [esp + 0x90]
mov ecx, dword [ecx + 0x10]
cmp ecx, dword [esi + 0x10]
jle 0x65310f
mov edx, ebp
lea ebp, [esp + 0x90]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x30], ebp
mov ecx, dword [ebp]
mov esi, dword [eax]
mov esi, dword [esi + 0x10]
cmp esi, dword [ecx + 0x10]
jle 0x65312a
mov ecx, ebp
mov ebp, eax
mov eax, ecx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x14], eax
mov ecx, dword [eax]
mov esi, dword [ebx]
mov esi, dword [esi + 0x10]
cmp esi, dword [ecx + 0x10]
jle 0x653144
mov ecx, eax
mov eax, ebx
mov ebx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], ebx
mov ecx, dword [ebp]
mov esi, dword [eax]
mov esi, dword [esi + 0x10]
cmp esi, dword [ecx + 0x10]
jle 0x65315f
mov ecx, ebp
mov ebp, eax
mov eax, ecx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x14], eax
mov edx, dword [edx]
mov edi, dword [ebx]
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x48], edx
mov edx, dword [edx + 0x10]
mov esi, edx
xor esi, ecx
test esi, 0xffff0000
mov dword [esp + 0x44], ecx
je 0x653ebe
mov eax, dword [eax]
mov esi, dword [eax + 0x10]
cmp esi, ecx
jne 0x6532a6
mov ecx, dword [ebp]
cmp edx, dword [ecx + 0x10]
mov dword [esp + 0x4c], ecx
jne 0x6532a6
mov esi, dword [edi + 0xc]
mov ebp, dword [eax + 0xc]
cmp esi, ebp
mov dword [esp + 0x20], esi
jle 0x6531b8
mov dword [esp + 0x20], ebp
mov ebp, esi
mov dword [esp + 0x18], eax
jmp 0x6531bc
mov dword [esp + 0x18], edi
mov edi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x48]
mov esi, dword [ecx + 0xc]
cmp edi, esi
jle 0x6531d6
mov eax, edi
mov edi, esi
mov esi, eax
mov dword [esp + 0x1c], ecx
jmp 0x6531de
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0xbc]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x48]
push ebp
push eax
push esi
push edi
push ecx
push edx
call fcn.00552e70
mov edx, dword [esp + 0xd8]
mov eax, dword [edx + 4]
mov cx, word [esp + 0x5c]
add esp, 0x1c
cmp cx, word [eax + 0x1c]
je 0x653ebe
mov eax, dword [edx + 4]
movsx ecx, word [eax + 0x1c]
mov edx, dword [eax + 0x20]
lea ecx, [ecx + ecx*8]
lea edx, [edx + ecx*4 - 0x24]
mov ecx, dword [esp + 0x20]
sub esi, edi
sub ebp, ecx
cmp ebp, esi
jle 0x65326b
mov ecx, dword [esp + 0x18]
mov ebx, dword [ebx]
cmp ebx, ecx
jne 0x653242
mov eax, dword [esp + 0x14]
jmp 0x65327d
mov esi, dword [esp + 0xb8]
push esi
mov eax, ebx
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
mov esi, edx
call fcn.00652310
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax]
cmp eax, ecx
jne 0x65327f
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov esi, dword [esp + 0xb8]
push esi
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
mov esi, edx
call fcn.00652310
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret
mov ecx, dword [ebp]
sub edx, dword [ecx + 0x10]
sub esi, dword [esp + 0x44]
cmp esi, edx
jne 0x653847
mov edx, dword [esp + 0x3c]
mov edx, dword [edx]
mov esi, dword [ecx + 0xc]
mov edx, dword [edx + 0xc]
mov ebp, dword [edi + 0xc]
sub edx, esi
mov esi, dword [eax + 0xc]
sub esi, ebp
cmp esi, edx
jne 0x653847
fld dword [eax + 8]
mov edx, dword [esp + 0xc0]
fsub dword [edi + 8]
fld dword [ecx + 8]
fsub dword [edi + 8]
mov dword [esp + 0x64], edx
mov eax, dword [eax + 8]
fdivp st(1)
mov dword [esp + 0x58], eax
fstp dword [esp + 0x10]
fld dword [ecx + 4]
fsub dword [edi + 4]
lea ecx, [esp + 0x5c]
push ecx
push eax
fmul dword [esp + 0x18]
fadd dword [edi + 4]
fstp dword [esp + 0x5c]
mov edx, dword [esp + 0x5c]
push edx
call fcn.00510d00
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx]
mov dword [esp + 0x5c], 1
mov ebp, dword [edx + 0xc]
mov esi, dword [ecx + 0xc]
add esp, 0xc
cmp eax, ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x4c], ebp
jle 0x653374
mov ebx, ebp
mov dword [esp + 0x20], esi
sub esi, eax
add esi, ebx
mov dword [esp + 0x18], ebx
mov ebp, eax
mov dword [esp + 0x24], edx
mov ebx, edx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x1c], esi
lea edx, [esp + 0x50]
mov dword [esp + 0x48], 1
jmp 0x653392
mov dword [esp + 0x1c], esi
sub esi, eax
lea eax, [esp + 0x50]
add esi, ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
mov ebx, eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0xb8]
xor eax, eax
cmp edx, 4
jl 0x65348b
mov ebp, dword [esp + 0xc0]
mov edx, 4
sub edx, ebp
lea eax, [ebp + 8]
mov dword [esp + 0x34], edx
mov edx, 0xfffffff8
sub edx, ebp
mov ebp, dword [esp + 0xb8]
add ebp, 0xfffffffc
shr ebp, 2
inc ebp
mov dword [esp + 0x68], ebp
shl ebp, 2
mov esi, 8
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebp
jmp 0x6533f0
mov edx, dword [esp + 0x40]
lea esp, [esp]
mov ebp, dword [edi + 0x14]
add edx, eax
add ebp, edx
mov dword [esp + 0x2c], ebp
mov ebp, dword [ecx + 0x14]
fld dword [edx + ebp]
mov ebp, dword [esp + 0x2c]
fsub dword [ebp]
fmul dword [esp + 0x10]
fadd dword [ebp]
fstp dword [eax - 8]
mov ebp, dword [edi + 0x14]
lea ebp, [edx + ebp + 4]
mov dword [esp + 0x2c], ebp
mov ebp, dword [ecx + 0x14]
fld dword [edx + ebp + 4]
mov edx, dword [esp + 0x2c]
fsub dword [edx]
fmul dword [esp + 0x10]
fadd dword [edx]
fstp dword [eax - 4]
mov ebp, dword [ecx + 0x14]
fld dword [esi + ebp]
mov edx, dword [edi + 0x14]
fsub dword [edx + esi]
add edx, esi
add esi, 0x10
fmul dword [esp + 0x10]
fadd dword [edx]
mov edx, dword [esp + 0x34]
add edx, eax
add eax, 0x10
fstp dword [eax - 0x10]
mov ebp, dword [edi + 0x14]
add ebp, edx
mov dword [esp + 0x2c], ebp
mov ebp, dword [ecx + 0x14]
fld dword [edx + ebp]
mov edx, dword [esp + 0x2c]
fsub dword [edx]
fmul dword [esp + 0x10]
fadd dword [edx]
mov edx, dword [esp + 0x68]
dec edx
mov dword [esp + 0x68], edx
fstp dword [eax - 0xc]
jne 0x6533e8
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x4c]
cmp eax, dword [esp + 0xb8]
jge 0x6534bf
mov edx, dword [edi + 0x14]
mov esi, dword [ecx + 0x14]
fld dword [esi + eax*4]
lea edx, [edx + eax*4]
fsub dword [edx]
inc eax
fmul dword [esp + 0x10]
fadd dword [edx]
mov edx, dword [esp + 0xc0]
fstp dword [edx + eax*4 - 4]
mov edx, dword [esp + 0xb8]
cmp eax, edx
jl 0x653494
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
mov edx, dword [edx]
mov eax, dword [eax]
mov esi, dword [edx + 0x10]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x2c], esi
xor esi, eax
test esi, 0xffff0000
mov esi, dword [esp + 0xbc]
je 0x6535af
mov ecx, dword [esi + 4]
mov cx, word [ecx + 0x1c]
push esi
mov word [esp + 0x44], cx
mov ecx, dword [edx + 0xc]
mov edx, dword [esp + 0x1c]
push ecx
push ecx
mov ecx, dword [esp + 0x38]
push ebp
push edx
push ecx
push eax
call fcn.00552e70
mov edx, dword [esi + 4]
mov ax, word [esp + 0x5c]
add esp, 0x1c
cmp ax, word [edx + 0x1c]
je 0x653556
mov edx, dword [esp + 0xb8]
mov ecx, esi
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push ecx
movsx ecx, word [eax + 0x1c]
push edx
mov edx, dword [eax + 0x20]
lea ecx, [ecx + ecx*8]
lea esi, [edx + ecx*4 - 0x24]
mov eax, ebx
mov ecx, edi
call fcn.00652310
mov esi, dword [esp + 0xc8]
add esp, 0xc
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov eax, dword [esp + 0x14]
mov edx, dword [ecx + 0x10]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x2c], edx
xor edx, eax
test edx, 0xffff0000
jne 0x6535af
test eax, 0xffff
je 0x6535af
mov edx, dword [esp + 0x1c]
mov edi, ebp
and edx, 0xffff0000
and edi, 0xffff0000
cmp edx, edi
jge 0x6535af
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
and edx, 0xffff0000
and edi, 0xffff0000
cmp edi, edx
jl 0x6537c7
mov edx, dword [esi + 4]
mov di, word [edx + 0x1c]
mov edx, dword [esp + 0x18]
push esi
push ebp
push edx
mov edx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push edx
push eax
mov eax, dword [ecx + 0x10]
push eax
call fcn.00552e70
mov ecx, dword [esi + 4]
add esp, 0x1c
cmp di, word [ecx + 0x1c]
je 0x65379e
mov esi, ecx
movsx eax, word [esi + 0x1c]
lea edx, [eax + eax*8]
mov eax, dword [esi + 0x20]
lea ecx, [eax + edx*4 - 0x24]
mov eax, dword [esp + 0x48]
test eax, eax
mov edx, dword [esp + 0x30]
mov dword [esp + 0x4c], ecx
mov ecx, ebx
mov dword [esp + 0x18], ecx
je 0x653767
mov eax, dword [edx]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0xb8]
mov dword [esp + 0x58], ecx
mov ecx, dword [edx]
fld dword [ecx + 4]
fsub dword [esp + 0x54]
fadd dword [eax + 4]
xor eax, eax
cmp esi, 4
fstp dword [esp + 0x54]
jl 0x65371a
mov edx, dword [esp + 0x3c]
mov edi, dword [edx]
mov esi, dword [esp + 0xc0]
mov edx, 4
sub edx, esi
mov dword [esp + 0x34], edx
lea eax, [esi + 8]
mov edx, 0xfffffff8
sub edx, esi
mov esi, dword [esp + 0xb8]
add esi, 0xfffffffc
shr esi, 2
inc esi
lea ebp, [esi*4]
mov ecx, 8
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebp
jmp 0x653684
mov edx, dword [esp + 0x40]
mov ebp, dword [edi + 0x14]
add edx, eax
add ebp, edx
mov dword [esp + 0x2c], ebp
mov ebp, dword [ebx + 0x14]
fld dword [edx + ebp]
mov ebp, dword [esp + 0x2c]
fsub dword [ebp]
fmul dword [esp + 0x10]
fadd dword [ebp]
fstp dword [eax - 8]
mov ebp, dword [edi + 0x14]
lea ebp, [edx + ebp + 4]
mov dword [esp + 0x2c], ebp
mov ebp, dword [ebx + 0x14]
fld dword [edx + ebp + 4]
mov edx, dword [esp + 0x2c]
fsub dword [edx]
fmul dword [esp + 0x10]
fadd dword [edx]
fstp dword [eax - 4]
mov ebp, dword [ebx + 0x14]
fld dword [ecx + ebp]
mov edx, dword [edi + 0x14]
fsub dword [edx + ecx]
add edx, ecx
add ecx, 0x10
fmul dword [esp + 0x10]
fadd dword [edx]
mov edx, dword [esp + 0x34]
add edx, eax
add eax, 0x10
fstp dword [eax - 0x10]
mov ebp, dword [edi + 0x14]
add ebp, edx
dec esi
mov dword [esp + 0x2c], ebp
mov ebp, dword [ebx + 0x14]
fld dword [edx + ebp]
mov edx, dword [esp + 0x2c]
fsub dword [edx]
fmul dword [esp + 0x10]
fadd dword [edx]
fstp dword [eax - 0xc]
jne 0x653680
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0xb8]
cmp eax, esi
jge 0x65374d
mov ecx, dword [esp + 0x3c]
mov edi, dword [ecx]
mov ebp, dword [esp + 0xc0]
jmp 0x653730
mov edx, dword [edi + 0x14]
mov ecx, dword [ebx + 0x14]
fld dword [ecx + eax*4]
lea edx, [edx + eax*4]
fsub dword [edx]
inc eax
cmp eax, esi
fmul dword [esp + 0x10]
fadd dword [edx]
fstp dword [ebp + eax*4 - 4]
jl 0x653730
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
lea edx, [esp + 0x50]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], edx
mov ebx, edx
jmp 0x653777
mov eax, dword [esp + 0x14]
mov ebx, dword [edx]
mov edx, dword [eax]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x28]
push edx
push eax
mov eax, ebx
call fcn.00652310
mov esi, dword [esp + 0xc8]
add esp, 0xc
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
mov edx, dword [ecx]
mov ecx, dword [eax]
mov edx, dword [edx + 0x10]
mov eax, dword [ecx + 0x10]
xor eax, edx
test eax, 0xffff0000
jne 0x6537cb
test edx, 0xffff
jne 0x653ebe
jmp 0x6537cb
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
mov di, word [ecx + 0x1c]
mov ecx, dword [eax + 0xc]
push esi
push ebp
mov ebp, dword [esp + 0x24]
push ebp
push ecx
push ecx
mov ecx, dword [eax + 0x10]
push edx
push ecx
call fcn.00552e70
mov edx, dword [esi + 4]
add esp, 0x1c
cmp di, word [edx + 0x1c]
je 0x653ebe
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0xbc]
mov eax, dword [eax + 4]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push ecx
movsx ecx, word [eax + 0x1c]
mov eax, dword [eax + 0x20]
lea edx, [ecx + ecx*8]
mov ecx, dword [esp + 0x48]
lea esi, [eax + edx*4 - 0x24]
mov eax, dword [ecx]
mov ecx, ebx
call fcn.00652310
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xb8]
mov dword [esp + 0xb0], ecx
lea ecx, [ecx + edx*4]
mov dword [esp + 0x64], ecx
mov edx, dword [edi + 0x10]
mov esi, dword [eax + 0x10]
cmp esi, edx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x38], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], esi
jne 0x6538cf
mov ebx, dword [eax + 0xc]
cmp ebx, ecx
mov dword [esp + 0x44], ebx
jge 0x6538b2
mov edx, ebx
mov ebx, ecx
mov dword [esp + 0x24], eax
mov ecx, edx
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], 1
mov dword [esp + 0x48], eax
jmp 0x653b51
mov dword [esp + 0x28], eax
mov eax, ebx
sub eax, ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], 1
mov dword [esp + 0x48], eax
jmp 0x653b51
mov edx, dword [esp + 0xbc]
mov ecx, dword [edx + 4]
mov dx, word [ecx + 0x1c]
mov esi, dword [ebx + 4]
cmp esi, dword [esp + 0x14]
mov ebp, dword [eax + 0xc]
mov word [esp + 0x40], dx
mov dword [esp + 0x48], ebp
jne 0x6538f5
mov esi, dword [ebx + 8]
fld dword [eax + 8]
mov ecx, dword [esi]
fsub dword [edi + 8]
mov eax, dword [eax + 8]
fld dword [ecx + 8]
lea ecx, [esp + 0xa8]
fsub dword [edi + 8]
mov dword [esp + 0xa4], eax
mov edx, dword [esi]
fdivp st(1)
push ecx
push eax
fstp dword [esp + 0x20]
fld dword [edx + 4]
fsub dword [edi + 4]
fmul dword [esp + 0x20]
fadd dword [edi + 4]
fstp dword [esp + 0xa8]
mov edx, dword [esp + 0xa8]
push edx
call fcn.00510d00
mov ecx, dword [esp + 0xb4]
add esp, 0xc
cmp ebp, ecx
mov dword [esp + 0x34], ecx
jge 0x65395d
mov eax, ebp
mov ebp, ecx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0xb8]
xor eax, eax
cmp edx, 4
jl 0x653a1a
add edx, 0xfffffffd
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x14]
mov ebp, dword [esi]
mov ebp, dword [ebp + 0x14]
fld dword [ebp + eax*4]
lea ecx, [ecx + eax*4]
fsub dword [ecx]
fmul dword [esp + 0x18]
fadd dword [ecx]
mov ecx, dword [esp + 0xb0]
fstp dword [ecx + eax*4]
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x14]
mov ebp, dword [esi]
mov ebp, dword [ebp + 0x14]
fld dword [ebp + eax*4 + 4]
lea ecx, [ecx + eax*4 + 4]
fsub dword [ecx]
fmul dword [esp + 0x18]
fadd dword [ecx]
mov ecx, dword [esp + 0xb0]
fstp dword [ecx + eax*4 + 4]
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x14]
mov ebp, dword [esi]
mov ebp, dword [ebp + 0x14]
fld dword [ebp + eax*4 + 8]
lea ecx, [ecx + eax*4 + 8]
fsub dword [ecx]
fmul dword [esp + 0x18]
fadd dword [ecx]
mov ecx, dword [esp + 0xb0]
fstp dword [ecx + eax*4 + 8]
mov ecx, dword [ebx]
mov ebp, dword [esi]
mov ecx, dword [ecx + 0x14]
mov ebp, dword [ebp + 0x14]
fld dword [ebp + eax*4 + 0xc]
lea ecx, [ecx + eax*4 + 0xc]
fsub dword [ecx]
add eax, 4
cmp eax, edx
fmul dword [esp + 0x18]
fadd dword [ecx]
mov ecx, dword [esp + 0xb0]
fstp dword [ecx + eax*4 - 4]
jl 0x653972
mov ebp, dword [esp + 0x48]
mov edx, dword [esp + 0xb8]
cmp eax, edx
jge 0x653a4f
mov edi, edi
mov edx, dword [ebx]
mov ecx, dword [edx + 0x14]
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
fld dword [edx + eax*4]
lea ecx, [ecx + eax*4]
fsub dword [ecx]
inc eax
fmul dword [esp + 0x18]
fadd dword [ecx]
mov ecx, dword [esp + 0xb0]
fstp dword [ecx + eax*4 - 4]
mov ecx, dword [esp + 0xb8]
cmp eax, ecx
jl 0x653a20
mov edx, dword [esp + 0x20]
xor edx, dword [esp + 0x38]
test edx, 0xffff0000
jne 0x653a84
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
sar eax, 0x10
sar ecx, 0x10
cmp ecx, eax
jge 0x653a84
mov edx, ebp
sar edx, 0x10
cmp eax, edx
jge 0x653a84
mov dword [esp + 0x1c], 1
jmp 0x653ab2
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x14]
push eax
push eax
mov eax, dword [esp + 0x2c]
push ebp
push ecx
push edx
push eax
call fcn.00552e70
add esp, 0x1c
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
mov eax, dword [eax]
mov dword [esp + 0x38], ecx
mov ecx, eax
mov esi, dword [ecx + 0xc]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xa8]
cmp esi, edx
mov ebx, ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x24], ecx
jle 0x653aef
lea ecx, [esp + 0x9c]
mov dword [esp + 0x24], ecx
jmp 0x653af6
lea eax, [esp + 0x9c]
mov ebp, dword [ecx + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [eax + 0xc]
sub eax, ebp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xbc]
mov edx, dword [eax + 4]
mov ax, word [esp + 0x40]
cmp ax, word [edx + 0x1c]
je 0x653b55
mov ecx, dword [esp + 0xbc]
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push ecx
movsx ecx, word [eax + 0x1c]
mov eax, dword [eax + 0x20]
lea ecx, [ecx + ecx*8]
lea esi, [eax + ecx*4 - 0x24]
push edx
mov eax, edx
mov ecx, edi
call fcn.00652310
add esp, 0xc
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x38]
mov ebp, ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [edx]
mov eax, dword [ecx + 0x10]
cmp eax, esi
mov dword [esp + 0x20], eax
je 0x653df8
mov eax, dword [esp + 0xbc]
mov eax, dword [eax + 4]
mov ax, word [eax + 0x1c]
mov ebp, dword [ecx + 0xc]
mov word [esp + 0x40], ax
mov eax, dword [esp + 0x3c]
mov esi, dword [eax + 4]
cmp esi, edx
jne 0x653b98
mov esi, dword [eax + 8]
fld dword [ecx + 8]
mov edx, dword [esi]
mov edi, dword [esp + 0x3c]
mov eax, dword [edi]
fsub dword [eax + 8]
mov ecx, dword [ecx + 8]
fld dword [edx + 8]
fsub dword [eax + 8]
mov dword [esp + 0x58], ecx
mov edx, dword [esi]
fdivp st(1)
fstp dword [esp + 0x14]
fld dword [edx + 4]
fsub dword [eax + 4]
fmul dword [esp + 0x14]
fadd dword [eax + 4]
lea eax, [esp + 0x5c]
push eax
push ecx
fstp dword [esp + 0x5c]
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00510d00
mov ecx, dword [esp + 0x68]
add esp, 0xc
cmp ebp, ecx
mov dword [esp + 0x34], ecx
jge 0x653bf3
mov eax, ebp
mov ebp, ecx
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0xb8]
xor eax, eax
cmp edx, 4
jl 0x653ca7
add edx, 0xfffffffd
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x14]
mov ebx, dword [esi]
mov ebx, dword [ebx + 0x14]
fld dword [ebx + eax*4]
lea ecx, [ecx + eax*4]
fsub dword [ecx]
fmul dword [esp + 0x14]
fadd dword [ecx]
mov ecx, dword [esp + 0x64]
fstp dword [ecx + eax*4]
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x14]
mov ebx, dword [esi]
mov ebx, dword [ebx + 0x14]
fld dword [ebx + eax*4 + 4]
lea ecx, [ecx + eax*4 + 4]
fsub dword [ecx]
fmul dword [esp + 0x14]
fadd dword [ecx]
mov ecx, dword [esp + 0x64]
fstp dword [ecx + eax*4 + 4]
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x14]
mov ebx, dword [esi]
mov ebx, dword [ebx + 0x14]
fld dword [ebx + eax*4 + 8]
lea ecx, [ecx + eax*4 + 8]
fsub dword [ecx]
fmul dword [esp + 0x14]
fadd dword [ecx]
mov ecx, dword [esp + 0x64]
fstp dword [ecx + eax*4 + 8]
mov ecx, dword [edi]
mov ebx, dword [esi]
mov ecx, dword [ecx + 0x14]
mov ebx, dword [ebx + 0x14]
fld dword [ebx + eax*4 + 0xc]
lea ecx, [ecx + eax*4 + 0xc]
fsub dword [ecx]
add eax, 4
cmp eax, edx
fmul dword [esp + 0x14]
fadd dword [ecx]
mov ecx, dword [esp + 0x64]
fstp dword [ecx + eax*4 - 4]
jl 0x653c08
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0xb8]
cmp eax, edx
jge 0x653ce0
jmp 0x653cb0
mov edx, dword [edi]
mov ecx, dword [edx + 0x14]
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
fld dword [edx + eax*4]
lea ecx, [ecx + eax*4]
fsub dword [ecx]
inc eax
fmul dword [esp + 0x14]
fadd dword [ecx]
mov ecx, dword [esp + 0x64]
fstp dword [ecx + eax*4 - 4]
mov ecx, dword [esp + 0xb8]
cmp eax, ecx
jl 0x653cb0
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x1c]
test eax, eax
mov eax, dword [esp + 0x38]
jne 0x653d3b
mov edx, dword [esp + 0x20]
xor edx, eax
test edx, 0xffff0000
jne 0x653d3b
mov edx, dword [esp + 0x10]
cmp edx, ebx
je 0x653d09
test eax, 0xffff
je 0x653d3b
mov esi, dword [esp + 0x34]
mov edi, ebx
and esi, 0xffff0000
and edi, 0xffff0000
cmp esi, edi
jge 0x653d3b
mov esi, ebp
and esi, 0xffff0000
and edx, 0xffff0000
cmp edx, esi
jge 0x653d3b
mov dword [esp + 0x1c], 1
jmp 0x653d69
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x38]
push ebx
push edx
mov edx, dword [esp + 0x2c]
push ebp
push ecx
push eax
push edx
call fcn.00552e70
mov ecx, dword [esp + 0x78]
add esp, 0x1c
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov dword [esp + 0x10], edx
sub ecx, dword [eax + 0xc]
mov ebx, ebp
jns 0x653d8e
lea ebp, [esp + 0x50]
neg ecx
jmp 0x653d90
mov ebp, eax
cmp ecx, dword [esp + 0x48]
jle 0x653db0
lea ecx, [esp + 0x50]
cmp ebp, ecx
mov dword [esp + 0x24], ebp
jne 0x653da8
mov dword [esp + 0x28], eax
jmp 0x653db0
lea edx, [esp + 0x50]
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax + 4]
mov dx, word [esp + 0x40]
cmp dx, word [ecx + 0x1c]
je 0x653e15
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x28]
mov eax, dword [eax + 4]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push ecx
movsx ecx, word [eax + 0x1c]
mov eax, dword [eax + 0x20]
lea edx, [ecx + ecx*8]
mov ecx, dword [esp + 0x24]
lea esi, [eax + edx*4 - 0x24]
mov eax, ebp
call fcn.00652310
add esp, 0xc
jmp 0x653e15
mov ecx, dword [ecx + 0xc]
cmp dword [esp + 0x10], ecx
jle 0x653e07
mov dword [esp + 0x10], ecx
jmp 0x653e0d
cmp ebx, ecx
jge 0x653e15
mov ebx, ecx
mov dword [esp + 0x1c], 1
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov edx, dword [esp + 0x1c]
test edx, edx
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
jne 0x653e5e
mov edx, dword [esp + 0x38]
mov esi, ecx
xor esi, edx
test esi, 0xffff0000
jne 0x653e5e
mov esi, dword [esp + 0x10]
cmp esi, ebx
je 0x653e49
test edx, 0xffff
je 0x653e5e
mov edx, eax
mov edi, ebx
sar edx, 0x10
sar edi, 0x10
cmp edx, edi
jge 0x653e5e
sar esi, 0x10
cmp esi, edx
jl 0x653ebe
mov esi, dword [esp + 0xbc]
mov edx, dword [esi + 4]
mov di, word [edx + 0x1c]
mov edx, dword [esp + 0x10]
push esi
push ebx
push edx
push eax
push eax
mov eax, dword [esp + 0x4c]
push eax
push ecx
call fcn.00552e70
mov ecx, dword [esi + 4]
add esp, 0x1c
cmp di, word [ecx + 0x1c]
je 0x653ebe
mov edx, dword [esp + 0xb8]
mov eax, ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push ecx
movsx ecx, word [eax + 0x1c]
push edx
mov edx, dword [eax + 0x20]
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
lea ecx, [ecx + ecx*8]
lea esi, [edx + ecx*4 - 0x24]
mov ecx, ebp
call fcn.00652310
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret