Function at 0x4a9272
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movsx eax, word [ebp + 0x10]
test eax, eax
je 0x4a9289
movsx ecx, word [ebp + 0x10]
cmp ecx, 1
jne 0x4a9299
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0x3ff00000
jmp 0x4a92bf
movsx edx, word [ebp + 0x10]
cmp edx, 2
jne 0x4a92b2
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xbff00000
jmp 0x4a92bf
push 0x5fba10
call fcn.004a5510
add esp, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xfc]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0xfc], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0xfc], 1
jne 0x4a947c
push 4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xfc]
push edx
call fcn.00530b2b
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x100], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x100], 0
jne 0x4a9349
mov eax, dword [ebp + 8]
cmp dword [eax + 0xfc], 0
je 0x4a9349
push 0x5fba2c
push 0x28a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xfc]
shl edx, 2
push edx
push 0x5fba68
push 0x600c10
call fcn.00530919
add esp, 0x14
push 1
call fcn.00530c95
push 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xfc]
push ecx
call fcn.00530b2b
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx + 0x104], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x104], 0
jne 0x4a93ae
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xfc], 0
je 0x4a93ae
push 0x5fba9c
push 0x28b
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xfc]
shl eax, 3
push eax
push 0x5fbad8
push 0x600c10
call fcn.00530919
add esp, 0x14
push 1
call fcn.00530c95
push 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xfc]
push edx
call fcn.00530b2b
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x108], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x108], 0
jne 0x4a9413
mov eax, dword [ebp + 8]
cmp dword [eax + 0xfc], 0
je 0x4a9413
push 0x5fbb0c
push 0x28c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xfc]
shl edx, 3
push edx
push 0x5fbb48
push 0x600c10
call fcn.00530919
add esp, 0x14
push 1
call fcn.00530c95
push 2
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xfc]
push ecx
call fcn.00530b2b
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx + 0x10c], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10c], 0
jne 0x4a9477
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xfc], 0
je 0x4a9477
push 0x5fbb7c
push 0x28d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xfc]
shl eax, 1
push eax
push 0x5fbbb8
push 0x600c10
call fcn.00530919
add esp, 0x14
push 1
call fcn.00530c95
jmp 0x4a963a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xfc]
shl edx, 2
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x100]
push ecx
call fcn.00530dc2
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx + 0x100], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x100], 0
jne 0x4a94ec
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xfc], 0
je 0x4a94ec
push 0x5fbbec
push 0x290
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xfc]
shl eax, 2
push eax
push 0x5fbc28
push 0x600c10
call fcn.00530919
add esp, 0x14
push 1
call fcn.00530c95
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xfc]
shl edx, 3
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x104]
push ecx
call fcn.00530dc2
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx + 0x104], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x104], 0
jne 0x4a955c
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xfc], 0
je 0x4a955c
push 0x5fbc5c
push 0x291
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xfc]
shl eax, 3
push eax
push 0x5fbc98
push 0x600c10
call fcn.00530919
add esp, 0x14
push 1
call fcn.00530c95
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xfc]
shl edx, 3
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x108]
push ecx
call fcn.00530dc2
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx + 0x108], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x108], 0
jne 0x4a95cc
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xfc], 0
je 0x4a95cc
push 0x5fbccc
push 0x292
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xfc]
shl eax, 3
push eax
push 0x5fbd08
push 0x600c10
call fcn.00530919
add esp, 0x14
push 1
call fcn.00530c95
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xfc]
shl edx, 1
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10c]
push ecx
call fcn.00530dc2
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx + 0x10c], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10c], 0
jne 0x4a963a
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xfc], 0
je 0x4a963a
push 0x5fbd3c
push 0x293
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xfc]
shl eax, 1
push eax
push 0x5fbd78
push 0x600c10
call fcn.00530919
add esp, 0x14
push 1
call fcn.00530c95
push 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x34]
add edx, 1
push edx
call fcn.00530b2b
add esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xfc]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x100]
mov dword [ecx + edx*4 - 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xfc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x100]
cmp dword [edx + eax*4 - 4], 0
jne 0x4a96b7
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
add ecx, 1
test ecx, ecx
je 0x4a96b7
push 0x5fbdac
push 0x295
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x34]
add eax, 8
push eax
push 0x5fbde8
push 0x600c10
call fcn.00530919
add esp, 0x14
push 1
call fcn.00530c95
fld qword [ebp + 0x14]
fmul qword [ebp - 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xfc]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x104]
fstp qword [ecx + edx*8 - 8]
mov dword [ebp - 4], 1
jmp 0x4a96e5
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x34]
jg 0x4a971a
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
fld qword [ebp - 0xc]
fmul qword [eax + edx*8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xfc]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x100]
mov edx, dword [ecx + edx*4 - 4]
mov eax, dword [ebp - 4]
fstp qword [edx + eax*8]
jmp 0x4a96dc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xfc]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x108]
mov dword [ecx + edx*8 - 8], 0
mov dword [ecx + edx*8 - 4], 0
movsx edx, word [ebp + 0x10]
sub edx, 1
neg edx
sbb edx, edx
inc edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xfc]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10c]
mov word [eax + ecx*2 - 2], dx
mov esp, ebp
pop ebp
ret