Function at 0x4ae4fd
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push esi
push edi
mov eax, dword [ebp + 8]
movsx ecx, word [eax + 0x22]
test ecx, ecx
je 0x4ae546
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x74]
fld qword [eax]
fchs
sub esp, 8
fstp qword [esp]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xa4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd0]
push ecx
push 0x5fd0ec
push 0x600c10
call fcn.00530919
add esp, 0x18
push 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
add eax, 1
push eax
call fcn.00530b2b
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4ae59d
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
add edx, 1
test edx, edx
je 0x4ae59d
push 0x5fd11c
push 0x13d
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
add ecx, 4
push ecx
push 0x5fd158
push 0x600c10
call fcn.00530919
add esp, 0x14
push 1
call fcn.00530c95
push 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
add eax, 1
push eax
call fcn.00530b2b
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4ae5f4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
add edx, 1
test edx, edx
je 0x4ae5f4
push 0x5fd18c
push 0x13e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
add ecx, 4
push ecx
push 0x5fd1c8
push 0x600c10
call fcn.00530919
add esp, 0x14
push 1
call fcn.00530c95
push 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
add eax, 1
push eax
call fcn.00530b2b
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4ae64b
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
add edx, 1
test edx, edx
je 0x4ae64b
push 0x5fd1fc
push 0x13f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
add ecx, 4
push ecx
push 0x5fd238
push 0x600c10
call fcn.00530919
add esp, 0x14
push 1
call fcn.00530c95
push 8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
add eax, 1
push eax
call fcn.00530b2b
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4ae6a2
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
add edx, 1
test edx, edx
je 0x4ae6a2
push 0x5fd26c
push 0x140
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
add ecx, 8
push ecx
push 0x5fd2a8
push 0x600c10
call fcn.00530919
add esp, 0x14
push 1
call fcn.00530c95
push 2
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
add eax, 1
push eax
call fcn.00530b2b
add esp, 8
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4ae6f9
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x2c]
add edx, 1
test edx, edx
je 0x4ae6f9
push 0x5fd2dc
push 0x141
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
add ecx, 2
push ecx
push 0x5fd318
push 0x600c10
call fcn.00530919
add esp, 0x14
push 1
call fcn.00530c95
push 2
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x34]
add eax, 1
push eax
call fcn.00530b2b
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4ae750
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x34]
add edx, 1
test edx, edx
je 0x4ae750
push 0x5fd34c
push 0x142
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
add ecx, 2
push ecx
push 0x5fd388
push 0x600c10
call fcn.00530919
add esp, 0x14
push 1
call fcn.00530c95
push 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x34]
add eax, 1
push eax
call fcn.00530b2b
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x4ae7a7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x34]
add edx, 1
test edx, edx
je 0x4ae7a7
push 0x5fd3bc
push 0x143
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
add ecx, 4
push ecx
push 0x5fd3f8
push 0x600c10
call fcn.00530919
add esp, 0x14
push 1
call fcn.00530c95
mov dword [ebp - 0x38], 0
jmp 0x4ae7b9
mov edx, dword [ebp - 0x38]
add edx, 1
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [eax + 0x2c]
jg 0x4ae7d2
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
mov word [eax + edx*2], 1
jmp 0x4ae7b0
mov dword [ebp - 0x38], 0
jmp 0x4ae7e4
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x38]
cmp eax, dword [edx + 0x34]
jge 0x4ae7fd
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0xc]
mov word [edx + ecx*2], 0
jmp 0x4ae7db
mov dword [ebp - 0x38], 0
jmp 0x4ae80f
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x38]
cmp edx, dword [ecx + 0x2c]
jge 0x4ae829
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 8]
mov dword [ecx + eax*4], 0
jmp 0x4ae806
mov dword [ebp - 0x38], 0
jmp 0x4ae83b
mov edx, dword [ebp - 0x38]
add edx, 1
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [eax + 0x34]
jg 0x4ae855
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
mov dword [eax + edx*4], 0
jmp 0x4ae832
mov dword [ebp - 0x38], 0
jmp 0x4ae867
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x38]
cmp eax, dword [edx + 0x2c]
jg 0x4ae8c4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x90]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 8]
mov edx, dword [edx + eax*4]
cmp edx, dword [ecx + 0x2c]
jle 0x4ae8aa
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x90]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp + 8]
mov ecx, dword [ecx + edx*4]
sub ecx, dword [eax + 0x2c]
mov edx, dword [ebp - 0xc]
mov word [edx + ecx*2 - 2], 1
jmp 0x4ae8c2
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x90]
mov edx, dword [ebp - 0x38]
mov eax, dword [ecx + edx*4]
mov ecx, dword [ebp - 0x2c]
mov word [ecx + eax*2], 0
jmp 0x4ae85e
mov dword [ebp - 0x38], 1
jmp 0x4ae8d6
mov edx, dword [ebp - 0x38]
add edx, 1
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [eax + 0x2c]
jg 0x4ae973
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
movsx ecx, word [eax + edx*2]
test ecx, ecx
je 0x4ae96e
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x68]
mov ecx, dword [ebp - 0x38]
mov edx, dword [eax + ecx*4 - 4]
add edx, 1
mov dword [ebp - 0x40], edx
jmp 0x4ae911
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x68]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [edx + eax*4]
jg 0x4ae96e
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
mov ecx, dword [ebp - 0x40]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
movsx edx, word [ecx + eax*2 - 2]
test edx, edx
je 0x4ae96c
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + eax*4]
add edx, 1
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + eax*4], edx
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + edx*4 - 4]
add ecx, 1
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
mov dword [eax + edx*4 - 4], ecx
jmp 0x4ae908
jmp 0x4ae8cd
mov dword [ebp - 0x38], 1
jmp 0x4ae985
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x38]
cmp eax, dword [edx + 0x2c]
jg 0x4ae9a4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x90]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x38]
mov dword [edx + eax*4], ecx
jmp 0x4ae97c
mov dword [ebp - 0x38], 1
jmp 0x4ae9b6
mov edx, dword [ebp - 0x38]
add edx, 1
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [eax + 0x2c]
jg 0x4ae9d5
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x94]
mov ecx, dword [ebp - 0x38]
mov word [eax + ecx*2], 1
jmp 0x4ae9ad
mov dword [ebp - 0x38], 1
jmp 0x4ae9e7
mov edx, dword [ebp - 0x38]
add edx, 1
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [eax + 0x34]
jg 0x4aea0c
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x38]
add eax, dword [edx + 0x2c]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x94]
mov word [edx + eax*2], 0
jmp 0x4ae9de
mov dword [ebp - 0x38], 0
jmp 0x4aea1e
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x38]
cmp edx, dword [ecx + 0x2c]
jg 0x4aea4b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x70]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x74]
mov esi, dword [ebp - 0x38]
mov edi, dword [ecx + edx*8]
mov dword [eax + esi*8], edi
mov ecx, dword [ecx + edx*8 + 4]
mov dword [eax + esi*8 + 4], ecx
jmp 0x4aea15
mov dword [ebp - 0x38], 1
jmp 0x4aea5d
mov edx, dword [ebp - 0x38]
add edx, 1
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [eax + 0x34]
jg 0x4aeb1f
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x2c]
add eax, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x98]
mov eax, dword [ebp - 0x28]
movsx ecx, word [edx + eax*2]
test ecx, ecx
jne 0x4aeb1a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x84]
mov ecx, dword [ebp - 0x28]
mov edx, dword [eax + ecx*8]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax + ecx*8 + 4]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x5c]
mov eax, dword [ebp - 0x38]
mov ecx, dword [edx + eax*4 - 4]
mov dword [ebp - 0x40], ecx
jmp 0x4aeac4
mov edx, dword [ebp - 0x40]
add edx, 1
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x5c]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
cmp eax, dword [ecx + edx*4]
jge 0x4aeb1a
mov ecx, dword [ebp - 0x40]
shl ecx, 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
mov ecx, dword [eax + ecx]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x74]
mov edx, dword [ebp - 0x40]
shl edx, 4
mov esi, dword [ebp + 8]
mov esi, dword [esi + 0x58]
fld qword [ebp - 0x1c]
fmul qword [esi + edx + 8]
fsubr qword [eax + ecx*8]
mov eax, dword [ebp - 0x40]
shl eax, 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x58]
mov eax, dword [edx + eax]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x74]
fstp qword [edx + eax*8]
jmp 0x4aeabb
jmp 0x4aea54
mov dword [ebp - 0x38], 1
jmp 0x4aeb31
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x38]
cmp edx, dword [ecx + 0x2c]
jg 0x4aeb79
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x98]
mov edx, dword [ebp - 0x38]
movsx eax, word [ecx + edx*2]
test eax, eax
jne 0x4aeb77
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x74]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x84]
mov esi, dword [ebp - 0x38]
fld qword [edx + eax*8]
fsub qword [ecx + esi*8]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x74]
mov ecx, dword [ebp - 0x38]
fstp qword [eax + ecx*8]
jmp 0x4aeb28
mov edx, dword [ebp + 8]
mov dword [edx + 0xa4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0xa8], 0
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x30]
cmp edx, dword [ecx + 0x2c]
jge 0x4aed00
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ecx + 0x2c]
jle 0x4aebd2
mov dword [ebp - 0x3c], 1
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 8]
cmp dword [edx + ecx*4 - 4], 1
jne 0x4aecfb
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
movsx edx, word [ecx + eax*2]
test edx, edx
je 0x4aecfb
mov dword [ebp - 0x30], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x68]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ecx + edx*4 - 4]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x60]
mov eax, dword [ebp - 0x40]
mov ecx, dword [edx + eax*4]
mov edx, dword [ebp - 0xc]
movsx eax, word [edx + ecx*2 - 2]
test eax, eax
jne 0x4aec3b
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov dword [ebp - 0x40], ecx
jmp 0x4aec18
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
mov ecx, dword [ebp - 0x40]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov word [ecx + eax*2 - 2], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x34]
mov dword [eax + edx*4], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x5c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + eax*4 - 4]
mov dword [ebp - 0x40], ecx
jmp 0x4aec7f
mov edx, dword [ebp - 0x40]
add edx, 1
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x5c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x40]
cmp eax, dword [ecx + edx*4]
jge 0x4aecdb
mov ecx, dword [ebp - 0x40]
shl ecx, 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
mov ecx, dword [eax + ecx]
mov edx, dword [ebp - 0x2c]
movsx eax, word [edx + ecx*2]
test eax, eax
je 0x4aecd9
mov ecx, dword [ebp - 0x40]
shl ecx, 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
mov ecx, dword [eax + ecx]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 - 4]
sub eax, 1
mov ecx, dword [ebp - 0x40]
shl ecx, 4
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x58]
mov ecx, dword [edx + ecx]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 - 4], eax
jmp 0x4aec76
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
mov word [ecx + eax*2], 0
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004af848
add esp, 0xc
jmp 0x4aeba8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x10], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
cmp eax, dword [edx + 0x34]
jge 0x4aee7a
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
cmp eax, dword [edx + 0x34]
jle 0x4aed38
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x34]
cmp dword [eax + edx*4], 1
jne 0x4aee75
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
movsx eax, word [edx + ecx*2 - 2]
test eax, eax
je 0x4aee75
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x5c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + eax*4 - 4]
add ecx, 1
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
sub edx, 1
shl edx, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x58]
mov edx, dword [ecx + edx]
mov eax, dword [ebp - 0x2c]
movsx ecx, word [eax + edx*2]
test ecx, ecx
jne 0x4aeda6
mov edx, dword [ebp - 0x40]
add edx, 1
mov dword [ebp - 0x40], edx
jmp 0x4aed7e
mov eax, dword [ebp - 0x40]
sub eax, 1
shl eax, 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x58]
mov eax, dword [edx + eax]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x2c]
mov word [edx + ecx*2], 0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 8]
mov dword [ecx + eax*4 - 4], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x68]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [eax + ecx*4 - 4]
add edx, 1
mov dword [ebp - 0x40], edx
jmp 0x4aedf3
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x68]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [edx + eax*4]
jg 0x4aee45
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
mov ecx, dword [ebp - 0x40]
mov edx, dword [eax + ecx*4]
mov eax, dword [ebp - 0xc]
movsx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x4aee43
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
mov ecx, dword [ebp - 0x40]
mov edx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + edx*4]
sub ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
mov edx, dword [ebp - 0x40]
mov eax, dword [eax + edx*4]
mov edx, dword [ebp - 0x34]
mov dword [edx + eax*4], ecx
jmp 0x4aedea
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov word [ecx + eax*2 - 2], 0
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax*4 - 4], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x3c]
mov dword [ecx + eax*4 - 4], edx
jmp 0x4aed0e
mov dword [ebp - 0x40], 1
jmp 0x4aee8c
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x40]
cmp edx, dword [ecx + 0x34]
jg 0x4aefb2
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
movsx edx, word [ecx + eax*2 - 2]
test edx, edx
je 0x4aefad
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov word [ecx + eax*2 - 2], 0
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x40]
add ecx, dword [eax + 0x2c]
push ecx
mov edx, dword [ebp + 8]
xor eax, eax
mov eax, dword [edx + 0x2c]
add eax, dword [ebp - 0x40]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x98]
mov ax, word [edx + eax*2]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004af520
add esp, 0x10
mov dword [ebp - 0x3c], 1
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x3c]
cmp eax, dword [edx + 0x2c]
jg 0x4aef2f
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x2c]
movsx eax, word [edx + ecx*2]
test eax, eax
je 0x4aef24
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x24]
fld qword [edx + ecx*8]
fcomp qword [0x5b0958]
fnstsw ax
test ah, 0x40
je 0x4aef2f
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
jmp 0x4aeef5
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ecx + 0x2c]
jle 0x4aef47
push 0x5fd42c
call fcn.004a5510
add esp, 4
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
mov word [ecx + eax*2], 0
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004af214
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x74]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x24]
fld qword [eax + ecx*8]
fdiv qword [esi + edx*8]
fstp qword [ebp - 0x1c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
add ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004afb94
add esp, 0x14
mov eax, dword [ebp + 8]
push eax
call fcn.004af456
add esp, 4
jmp 0x4aee83
mov ecx, dword [ebp - 0x20]
sub ecx, 1
mov dword [ebp - 0x38], ecx
jmp 0x4aefc6
mov edx, dword [ebp - 0x38]
sub edx, 1
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x38], 0
jl 0x4af0ec
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0x2c]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], 0
jmp 0x4af006
mov edx, dword [ebp - 0x40]
add edx, 1
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [eax + 0x2c]
jg 0x4af028
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x24]
mov dword [eax + edx*8], 0
mov dword [eax + edx*8 + 4], 0
jmp 0x4aeffd
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x5c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + eax*4 - 4]
mov dword [ebp - 0x40], ecx
jmp 0x4af043
mov edx, dword [ebp - 0x40]
add edx, 1
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x5c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x40]
cmp eax, dword [ecx + edx*4]
jge 0x4af083
mov ecx, dword [ebp - 0x40]
shl ecx, 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x58]
mov edx, dword [ebp - 0x40]
shl edx, 4
mov esi, dword [ebp + 8]
mov esi, dword [esi + 0x58]
mov edx, dword [esi + edx]
mov esi, dword [ebp - 0x24]
mov edi, dword [eax + ecx + 8]
mov dword [esi + edx*8], edi
mov eax, dword [eax + ecx + 0xc]
mov dword [esi + edx*8 + 4], eax
jmp 0x4af03a
mov ecx, dword [ebp - 0x24]
fld qword [ecx]
fsub qword [0x614a20]
mov edx, dword [ebp - 0x24]
fstp qword [edx]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004af214
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x74]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x24]
fld qword [ecx + edx*8]
fdiv qword [esi + eax*8]
fstp qword [ebp - 0x1c]
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004afb94
add esp, 0x14
mov eax, dword [ebp + 8]
push eax
call fcn.004af456
add esp, 4
jmp 0x4aefbd
mov dword [ebp - 0x38], 1
jmp 0x4af0fe
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x38]
cmp eax, dword [edx + 0x2c]
jg 0x4af171
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x74]
mov eax, dword [ebp - 0x38]
fld qword [edx + eax*8]
fcomp qword [0x5b0958]
fnstsw ax
test ah, 1
je 0x4af135
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x74]
mov eax, dword [ebp - 0x38]
fld qword [edx + eax*8]
fchs
fstp qword [ebp - 0x50]
jmp 0x4af144
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x74]
mov eax, dword [ebp - 0x38]
fld qword [edx + eax*8]
fstp qword [ebp - 0x50]
mov ecx, dword [ebp + 8]
fld qword [ecx + 0x130]
fcomp qword [ebp - 0x50]
fnstsw ax
test ah, 0x41
jne 0x4af16f
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x74]
mov ecx, dword [ebp - 0x38]
mov dword [eax + ecx*8], 0
mov dword [eax + ecx*8 + 4], 0
jmp 0x4af0f5
mov edx, dword [ebp + 8]
movsx eax, word [edx + 0x22]
test eax, eax
je 0x4af1a8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x74]
fld qword [edx]
fchs
sub esp, 8
fstp qword [esp]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa4]
push ecx
push 0x5fd440
push 0x600c10
call fcn.00530919
add esp, 0x14
mov word [0x60aa74], 1
mov word [0x60aa7a], 0
mov edx, dword [ebp - 8]
push edx
call fcn.0052fd49
add esp, 4
mov eax, dword [ebp - 4]
push eax
call fcn.0052fd49
add esp, 4
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0052fd49
add esp, 4
mov edx, dword [ebp - 0x24]
push edx
call fcn.0052fd49
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0052fd49
add esp, 4
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0052fd49
add esp, 4
mov edx, dword [ebp - 0x34]
push edx
call fcn.0052fd49
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret