Function at 0x61a060
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x65c201
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0xee]
mov eax, dword [esi + 0xf2]
add ecx, 0x14
cmp eax, ecx
jne 0x61ab8b
cmp eax, dword [esi + 0xf6]
jg 0x61ab8b
mov edx, dword [esi + 0x102]
mov ecx, dword [esi + 0xfe]
sub edx, ecx
cmp edx, 0xa
jl 0x61ab8b
mov ebx, dword [ebp + 8]
xor edi, edi
cmp ebx, edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], edi
jne 0x61a0fc
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0x20]
push edx
call dword [fcn.0065f510]
push eax
call fcn.00644092
mov ebx, eax
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 0x1c]
call fcn.0064414c
mov dword [esp + 0x100], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], 0x661a18
cmp ebx, edi
mov byte [esp + 0x100], 1
jne 0x61a128
xor eax, eax
jmp 0x61a12b
mov eax, dword [ebx + 4]
push eax
call dword [fcn.0065e0d0]
push eax
lea ecx, [esp + 0x20]
call fcn.00644146
mov eax, dword [esi + 0x102]
mov edx, dword [esi + 0xfe]
sub eax, edx
push 0x14
push eax
mov eax, dword [ebx + 4]
push eax
call dword [fcn.0065e0c8]
push eax
lea ecx, [esp + 0x34]
call fcn.006440f8
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x30]
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call fcn.00644140
mov edx, dword [esi + 0x102]
mov ecx, dword [esi + 0xfe]
push 6
sub edx, ecx
push 0x14
mov dword [esp + 0x40], eax
push edx
push edi
lea eax, [esp + 0x2c]
push edi
push eax
mov ecx, 0x732bc0
call fcn.004961f0
push 1
lea ecx, [esp + 0x20]
call fcn.0064412e
lea ecx, [esp + 0x1c]
push 1
push ecx
mov ecx, 0x732bc0
call fcn.00495d00
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x6826c]
xor ecx, ecx
cmp eax, edi
je 0x61a20f
mov eax, dword [esi + 0xfe]
mov edx, dword [esi + 0x102]
fild dword [ebp + 0xc]
sub edx, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
fimul dword [esi + 0x68270]
fimul dword [esi + 0xd2]
fidiv dword [esi + 0x47ca0]
fiadd dword [esp + 0xc]
fcompp
fnstsw ax
test ah, 0x41
jne 0x61a20f
mov ecx, 1
cmp dword [esi + 0x32], 1
jne 0x61a2be
fild dword [ebp + 0xc]
sub esp, 8
mov ecx, esi
fstp qword [esp]
call fcn.0061df80
lea ecx, [esi + 0xaa]
push ecx
push eax
call fcn.00473080
mov edx, dword [ebp + 0xc]
add esp, 8
lea edi, [esi + 0x147d44]
push edx
mov ecx, edi
call fcn.00462d90
mov ecx, edi
call fcn.00465720
push eax
mov eax, dword [0x73a980]
push 0
push eax
push 1
lea ecx, [esp + 0x2c]
push 1
lea edx, [esp + 0x20]
push ecx
push edx
push 0x732bc0
call fcn.00496440
mov eax, dword [esi + 0x24]
add esp, 0x20
test eax, eax
jne case.0x61a356.4
mov eax, dword [esi + 0x102]
mov edx, dword [esi + 0xfe]
mov ecx, dword [0x73a974]
sub eax, edx
sub eax, 3
push 0x6c2258
push eax
push ecx
push 1
lea edx, [esp + 0x2c]
push 1
lea eax, [esp + 0x20]
push edx
push eax
push 0x732bc0
call fcn.00496440
add esp, 0x20
jmp case.0x61a356.4
cmp ecx, edi
jne case.0x61a356.4
cmp dword [esi + 0xa6], edi
jne case.0x61a356.4
fild dword [ebp + 0xc]
sub esp, 8
mov ecx, esi
fstp qword [esp]
call fcn.0061df80
lea ecx, [esi + 0xaa]
push ecx
push eax
call fcn.00473080
mov ecx, dword [ebp + 0x10]
add esp, 8
dec eax
cmp ecx, edi
je case.0x61a30d.5
mov ecx, dword [esi + 0x32]
add ecx, 0xfffffffe
cmp ecx, 9
ja case.0x61a30d.5
xor edx, edx
mov dl, byte [ecx + 0x61abb4]
jmp dword [edx*4 + 0x61aba4]
mov eax, dword [esi + 0xd6]
test eax, eax
jle 0x61a345
dec eax
jmp case.0x61a30d.5
mov ax, word [esi + 0x1913a]
test ax, ax
jle 0x61a345
movsx eax, ax
dec eax
jmp case.0x61a30d.5
mov ax, word [esi + 0x45c14]
test ax, ax
jle 0x61a345
movsx eax, ax
dec eax
jmp case.0x61a30d.5
xor eax, eax
mov ecx, dword [esi + 0x32]
add ecx, 0xfffffffe
cmp ecx, 9
ja case.0x61a356.4
jmp dword [ecx*4 + 0x61abc0]
mov ecx, dword [esi + 0x5e]
fld dword [esi + eax*4 + 0x9b1c]
test ecx, ecx
je 0x61a394
mov eax, dword [0x73a974]
sub esp, 8
lea ecx, [esp + 0x24]
lea edx, [esp + 0xc0]
fstp qword [esp]
push 0x6c224c
push 0
push eax
push 1
push 1
push ecx
push edx
jmp 0x61aa9a
mov eax, dword [0x73a974]
sub esp, 8
lea ecx, [esp + 0x24]
lea edx, [esp + 0xf8]
fstp qword [esp]
push 0x6c2240
push 0
push eax
push 1
push 1
push ecx
push edx
jmp 0x61aa9a
mov ecx, dword [esi + 0x5e]
test ecx, ecx
je 0x61a443
lea ecx, [eax + eax*2]
lea edx, [eax + ecx*4]
mov eax, dword [esi + edx*2 + 0x2d2]
mov ecx, dword [0x73a980]
push eax
lea edi, [esi + edx*2]
push 0x6c2238
push 0
push ecx
push 1
lea edx, [esp + 0x30]
push 1
lea eax, [esp + 0x70]
push edx
push eax
push 0x732bc0
call fcn.00496440
mov ecx, eax
add esp, 0x24
mov eax, dword [ecx]
add eax, 0xd
mov edx, dword [ecx + 4]
mov ecx, dword [edi + 0x2d6]
mov dword [esp + 0x10], edx
mov edx, dword [0x73a984]
push ecx
push 0x6c2230
push 0
push edx
push 1
push eax
lea eax, [esp + 0x34]
lea ecx, [esp + 0xc0]
push eax
push ecx
push 0x732bc0
call fcn.00496440
add esp, 0x24
jmp case.0x61a356.4
lea edx, [eax + eax*2]
lea eax, [eax + edx*4]
mov edx, dword [0x73a980]
mov ecx, dword [esi + eax*2 + 0x2d2]
lea edi, [esi + eax*2]
push ecx
push 0x6c2228
push 0
push edx
push 1
lea eax, [esp + 0x30]
push 1
lea ecx, [esp + 0x80]
push eax
push ecx
push 0x732bc0
call fcn.00496440
mov edx, eax
add esp, 0x24
mov eax, dword [edx]
add eax, 0xd
mov ecx, dword [edx + 4]
mov edx, dword [edi + 0x2d6]
mov dword [esp + 0x10], ecx
mov ecx, dword [0x73a984]
push edx
push 0x6c2220
push 0
push ecx
push 1
push eax
lea edx, [esp + 0x34]
lea eax, [esp + 0x100]
push edx
push eax
push 0x732bc0
call fcn.00496440
add esp, 0x24
jmp case.0x61a356.4
mov ecx, dword [esi + 0x5e]
test ecx, ecx
jne case.0x61a356.4
mov ecx, dword [esi + 0xc2]
test ecx, ecx
je case.0x61a356.4
lea ecx, [eax + eax*8]
lea edx, [eax + ecx*2]
mov eax, dword [esi + edx*2 + 0xb29c]
mov ecx, dword [0x73a980]
push eax
lea edi, [esi + edx*2]
push 0x6c2214
push 0
push ecx
push 1
lea edx, [esp + 0x30]
push 1
lea eax, [esp + 0x90]
push edx
push eax
push 0x732bc0
call fcn.00496440
mov ecx, eax
add esp, 0x24
mov eax, dword [ecx]
add eax, 0xd
mov edx, dword [ecx + 4]
mov ecx, dword [edi + 0xb2a4]
mov dword [esp + 0x10], edx
mov edx, dword [0x73a984]
push ecx
push 0x6c2208
push 0
push edx
push 1
push eax
lea eax, [esp + 0x34]
lea ecx, [esp + 0x60]
push eax
push ecx
push 0x732bc0
call fcn.00496440
add esp, 0x24
jmp case.0x61a356.4
mov ecx, dword [esi + 0x5e]
test ecx, ecx
jne case.0x61a356.4
mov ecx, dword [esi + 0xc2]
test ecx, ecx
je case.0x61a356.4
lea edx, [eax + eax*8]
mov ecx, dword [0x73a980]
sub esp, 8
lea eax, [eax + edx*2]
lea edx, [esp + 0x24]
fld dword [esi + eax*2 + 0xb2a8]
lea edi, [esi + eax*2]
lea eax, [esp + 0x90]
fstp qword [esp]
push 0x6c21f4
push 0
push ecx
push 1
push 1
push edx
push eax
push 0x732bc0
call fcn.00496440
fld dword [edi + 0xb2ac]
mov ebx, dword [eax]
mov edx, dword [0x73a95c]
fstp qword [esp + 0x20]
mov ecx, dword [eax + 4]
add esp, 0x20
add ebx, 0xd
mov dword [esp + 0x18], ecx
push 0x6c21e0
push 0
push edx
push 1
lea eax, [esp + 0x34]
push ebx
lea ecx, [esp + 0xf4]
push eax
push ecx
push 0x732bc0
call fcn.00496440
fld dword [edi + 0xb2b0]
mov edx, eax
add esp, 0x20
mov eax, dword [edx]
fstp qword [esp]
mov ecx, dword [edx + 4]
mov edx, dword [0x73a984]
push 0x6c21cc
push 0
lea ebx, [ebx + eax + 0xc]
push edx
mov dword [esp + 0x24], ecx
push 1
lea eax, [esp + 0x34]
push ebx
lea ecx, [esp + 0xb4]
push eax
push ecx
push 0x732bc0
call fcn.00496440
fld dword [edi + 0xb2b4]
mov edx, eax
add esp, 0x20
mov eax, dword [edx]
fstp qword [esp]
mov ecx, dword [edx + 4]
mov edx, dword [0x73a960]
push 0x6c21b8
push 0
lea eax, [ebx + eax + 0xc]
push edx
push 1
push eax
mov dword [esp + 0x2c], ecx
lea eax, [esp + 0x38]
lea ecx, [esp + 0xe4]
push eax
push ecx
push 0x732bc0
call fcn.00496440
mov ebx, dword [esp + 0x54]
add esp, 0x28
jmp case.0x61a356.4
mov ecx, dword [esi + 0x5e]
test ecx, ecx
jne case.0x61a356.4
mov ecx, dword [esi + 0xc2]
test ecx, ecx
je case.0x61a356.4
fld qword [0x662cc0]
test eax, eax
fst qword [esp + 0xc]
fld qword [0x662cc0]
fst qword [esp + 0x14]
jl 0x61a747
lea ecx, [esi + 0xb2b4]
inc eax
fld dword [ecx - 8]
faddp st(2)
add ecx, 0x26
dec eax
fadd dword [ecx - 0x26]
jne 0x61a6c4
fstp qword [esp + 0x14]
fstp qword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov ecx, dword [0x73a980]
push edx
push eax
push 0x6c21a4
push 0
push ecx
push 1
lea edx, [esp + 0x34]
push 1
lea eax, [esp + 0x6c]
push edx
push eax
push 0x732bc0
call fcn.00496440
mov ecx, eax
add esp, 0x28
mov eax, dword [ecx]
add eax, 0xd
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [0x73a984]
push edx
push 0x6c2190
push 0
push ecx
push 1
lea edx, [esp + 0x34]
push eax
push edx
lea eax, [esp + 0x80]
jmp 0x61aa99
fstp st(0)
fstp st(0)
jmp 0x61a6da
mov ecx, dword [esi + 0x5e]
test ecx, ecx
jne case.0x61a356.4
mov ecx, dword [esi + 0xc2]
test ecx, ecx
je case.0x61a356.4
xor ebx, ebx
xor edi, edi
test eax, eax
jl 0x61a7a2
inc eax
lea ecx, [esi + 0x1917a]
mov dword [esp + 0x14], eax
mov edx, dword [ecx + 8]
mov eax, dword [ecx]
add edx, eax
cmp ebx, edx
ja 0x61a786
mov ebx, edx
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 4]
add edx, eax
cmp edi, edx
ja 0x61a794
mov edi, edx
mov eax, dword [esp + 0x14]
add ecx, 0x7a
dec eax
mov dword [esp + 0x14], eax
jne 0x61a779
mov ecx, dword [0x73a980]
push ebx
push 0x6c2180
push 0
push ecx
push 1
lea edx, [esp + 0x30]
push 1
lea eax, [esp + 0x88]
push edx
push eax
push 0x732bc0
call fcn.00496440
mov ecx, eax
add esp, 0x24
mov eax, dword [ecx]
push edi
push 0x6c2170
push 0
mov edx, dword [ecx + 4]
mov ecx, dword [0x73a984]
mov dword [esp + 0x1c], edx
add eax, 0xd
push ecx
push 1
lea edx, [esp + 0x30]
push eax
push edx
lea eax, [esp + 0x9c]
jmp 0x61a8ae
mov ecx, dword [esi + 0x5e]
test ecx, ecx
jne case.0x61a356.4
mov ecx, dword [esi + 0xc2]
test ecx, ecx
je case.0x61a356.4
xor ebx, ebx
xor edi, edi
test eax, eax
jl 0x61a855
inc eax
lea ecx, [esi + 0x1918e]
mov dword [esp + 0x14], eax
mov edx, dword [ecx + 8]
mov eax, dword [ecx]
add edx, eax
cmp ebx, edx
ja 0x61a839
mov ebx, edx
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 4]
add edx, eax
cmp edi, edx
ja 0x61a847
mov edi, edx
mov eax, dword [esp + 0x14]
add ecx, 0x7a
dec eax
mov dword [esp + 0x14], eax
jne 0x61a82c
mov ecx, dword [0x73a980]
push ebx
push 0x6c215c
push 0
push ecx
push 1
lea edx, [esp + 0x30]
push 1
lea eax, [esp + 0xa8]
push edx
push eax
push 0x732bc0
call fcn.00496440
mov ecx, eax
add esp, 0x24
mov eax, dword [ecx]
push edi
push 0x6c2148
push 0
mov edx, dword [ecx + 4]
mov ecx, dword [0x73a984]
mov dword [esp + 0x1c], edx
add eax, 0xd
push ecx
push 1
lea edx, [esp + 0x30]
push eax
push edx
lea eax, [esp + 0xbc]
push eax
push 0x732bc0
call fcn.00496440
mov ebx, dword [esp + 0x50]
add esp, 0x24
jmp case.0x61a356.4
mov ecx, dword [esi + 0x5e]
test ecx, ecx
jne case.0x61a356.4
mov ecx, dword [esi + 0xc2]
test ecx, ecx
je case.0x61a356.4
fld qword [0x662cc0]
test eax, eax
fst qword [esp + 0x14]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
jl 0x61a9a8
lea ecx, [esi + 0x19142]
lea edx, [eax + 1]
fld dword [ecx - 4]
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 1
jne 0x61a91e
fld dword [ecx - 4]
fstp qword [esp + 0xc]
fld dword [ecx]
fld st(1)
fcompp
fnstsw ax
test ah, 0x41
je 0x61a92f
fstp st(0)
fld dword [ecx]
add ecx, 0x7a
dec edx
jne 0x61a909
fstp qword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [0x73a980]
push ecx
push edx
push 0x6c2134
push 0
push eax
push 1
lea ecx, [esp + 0x34]
push 1
lea edx, [esp + 0xcc]
push ecx
push edx
push 0x732bc0
call fcn.00496440
mov ecx, eax
add esp, 0x28
mov eax, dword [ecx]
add eax, 0xd
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [0x73a984]
push edx
push 0x6c2120
push 0
push ecx
push 1
lea edx, [esp + 0x34]
push eax
push edx
lea eax, [esp + 0xe0]
jmp 0x61aa99
fstp st(0)
jmp 0x61a939
mov ecx, dword [esi + 0x5e]
test ecx, ecx
jne case.0x61a356.4
mov ecx, dword [esi + 0xc2]
test ecx, ecx
je case.0x61a356.4
fld qword [0x662cc0]
test eax, eax
fst qword [esp + 0x14]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
jl 0x61ab13
lea ecx, [esi + 0x19152]
lea edx, [eax + 1]
fld dword [ecx + 8]
fadd dword [ecx]
fld st(0)
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 1
jne 0x61aa08
fstp qword [esp + 0xc]
jmp 0x61aa0a
fstp st(0)
fld dword [ecx + 0xc]
fadd dword [ecx + 4]
fst dword [esp + 0x14]
fld st(1)
fcompp
fnstsw ax
test ah, 0x41
je 0x61aa25
fstp st(0)
fld dword [esp + 0x14]
add ecx, 0x7a
dec edx
jne 0x61a9f0
fstp qword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [0x73a980]
push ecx
push edx
push 0x6c210c
push 0
push eax
push 1
lea ecx, [esp + 0x34]
push 1
lea edx, [esp + 0xec]
push ecx
push edx
push 0x732bc0
call fcn.00496440
mov ecx, eax
add esp, 0x28
mov eax, dword [ecx]
add eax, 0xd
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [0x73a984]
push edx
push 0x6c20f8
push 0
push ecx
push 1
lea edx, [esp + 0x34]
push eax
push edx
lea eax, [esp + 0x100]
push eax
push 0x732bc0
call fcn.00496440
add esp, 0x28
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, 0x732bc0
call fcn.00495d20
mov edx, dword [esi + 0xee]
mov edi, dword [esp + 0x3c]
mov eax, dword [esi + 0xfe]
mov ecx, dword [esi + 0x102]
lea edx, [edi + edx + 1]
mov edi, dword [esp + 0x40]
sub ecx, eax
push 0xcc0020
lea edi, [eax + edi + 1]
lea eax, [esp + 0x20]
sub ecx, 2
push 0
neg eax
sbb eax, eax
push 0
and eax, dword [esp + 0x2c]
push eax
mov eax, dword [ebx + 4]
push 0x12
push ecx
push edx
push edi
push eax
call dword [fcn.0065e0cc]
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x61ab1a
xor eax, eax
jmp 0x61ab21
fstp st(0)
jmp 0x61aa2f
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x20]
push eax
push edx
call fcn.00644140
lea ecx, [esp + 0x30]
call fcn.0064406e
lea ecx, [esp + 0x1c]
call fcn.00644134
mov eax, dword [ebp + 8]
test eax, eax
jne 0x61ab56
mov esi, dword [esi + 0x14]
mov eax, dword [ebx + 4]
push eax
mov ecx, dword [esi + 0x20]
push ecx
call dword [fcn.0065f4e8]
mov dword [esp + 0x30], 0x661578
lea ecx, [esp + 0x30]
mov byte [esp + 0x100], 2
call fcn.0064406e
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0x6602dc
mov dword [esp + 0x100], 0xffffffff
call fcn.0064411c
mov ecx, dword [esp + 0xf8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc