Function at 0x5739c0
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x6584e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x20]
push eax
call dword [fcn.0065f510]
push eax
call fcn.00644092
mov edi, eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x14], edi
call fcn.0064414c
xor ebp, ebp
lea ecx, [esp + 0x24]
mov dword [esp + 0x6c], ebp
call fcn.004a42c0
mov dword [esp + 0x24], 0x661a18
cmp edi, ebp
mov byte [esp + 0x6c], 1
jne 0x573a21
xor eax, eax
jmp 0x573a24
mov eax, dword [edi + 4]
push eax
call dword [fcn.0065e0d0]
push eax
lea ecx, [esp + 0x48]
call fcn.00644146
mov eax, dword [esi + 0x1c0]
mov ecx, dword [esi + 0x1b8]
mov ebx, dword [esi + 0x1b4]
sub eax, ecx
mov ecx, dword [esi + 0x1bc]
push eax
sub ecx, ebx
push ecx
mov ecx, dword [edi + 4]
push ecx
call dword [fcn.0065e0c8]
push eax
lea ecx, [esp + 0x28]
call fcn.006440f8
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
lea eax, [esp + 0x24]
neg eax
sbb eax, eax
and eax, edi
push eax
push edx
call fcn.00644140
push 1
lea ecx, [esp + 0x48]
mov dword [esp + 0x24], eax
call fcn.0064412e
mov dword [esp + 0x1c], eax
lea eax, [esi + 0x148]
push eax
lea ecx, [esp + 0x48]
call fcn.00644128
lea ecx, [esi + 0x108]
mov dword [esp + 0x18], eax
mov ebx, dword [fcn.0065f568]
mov edx, dword [ecx]
mov dword [esp + 0x34], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x38], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x3c], edx
mov eax, dword [ecx + 0xc]
mov ecx, dword [esi + 0x1b4]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x1b8]
neg eax
neg ecx
push eax
push ecx
lea ecx, [esp + 0x3c]
push ecx
call ebx
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0xd4]
mov eax, dword [esi + 0xcc]
cmp ecx, 2
mov dword [esp + 0x10], edx
jne 0x573b09
mov eax, dword [esi + 0xf0]
mov dword [esp + 0x10], eax
push eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x4c]
call fcn.00643ed0
lea eax, [esi + 0x158]
cmp eax, ebp
jne 0x573b26
xor eax, eax
jmp 0x573b29
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x34]
push eax
push ecx
push edx
call dword [0x65f570]
xor edi, edi
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x573cdb
mov ecx, dword [esi + 0xb4]
sub ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ebp, edx
jae 0x573cdb
mov eax, dword [esi + 0xb0]
lea ecx, [edi + eax + 0x10]
mov edx, dword [edi + eax + 0x10]
mov dword [esp + 0x34], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x38], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x3c], edx
mov eax, dword [ecx + 0xc]
mov ecx, dword [esi + 0x1b4]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x1b8]
neg eax
neg ecx
push eax
push ecx
lea ecx, [esp + 0x3c]
push ecx
call ebx
mov edx, dword [esp + 0x3c]
mov ecx, dword [esi + 0xe8]
push 1
push 0
lea eax, [edx - 1]
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
lea edx, [esp + 0x5c]
push eax
push edx
mov ecx, esi
call fcn.00571300
mov eax, dword [esi + 0xb0]
add eax, edi
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0x1b4]
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0x1b8]
neg eax
neg ecx
push eax
lea eax, [esp + 0x38]
push ecx
push eax
mov dword [esp + 0x4c], edx
call ebx
mov eax, dword [esi + 0x190]
test eax, eax
jl 0x573c29
cmp ebp, eax
jne 0x573c29
mov eax, dword [esi + 0xe4]
jmp 0x573c32
mov eax, dword [esi + 0xc0]
mov eax, dword [eax + ebp*8]
push eax
lea ecx, [esp + 0x48]
call fcn.00644122
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x30]
call fcn.0064408c
test eax, eax
je 0x573c51
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x38]
push edx
push eax
call dword [0x65f584]
mov dword [esp + 0x2c], 0x661578
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6c], 2
call fcn.0064406e
mov ecx, dword [esp + 0x34]
mov eax, dword [esi + 0x40]
inc ecx
cmp eax, 2
mov byte [esp + 0x6c], 1
mov dword [esp + 0x2c], 0x6602dc
mov dword [esp + 0x34], ecx
jne 0x573caf
mov ecx, dword [esi + 0x1bc]
mov eax, dword [esi + 0x1b4]
sub ecx, eax
mov eax, dword [esp + 0x3c]
sub ecx, 3
cmp eax, ecx
jge 0x573cd2
mov edx, dword [esi + 0xb0]
lea ecx, [esp + 0x34]
push 0x25
push ecx
lea eax, [edi + edx + 0x20]
lea ecx, [esp + 0x4c]
mov eax, dword [eax]
mov edx, dword [eax - 8]
push edx
push eax
mov eax, dword [esp + 0x54]
call dword [eax + 0x70]
inc ebp
add edi, 0x3c
jmp 0x573b3c
mov eax, dword [esi + 0x44]
test eax, eax
jl 0x573e28
mov ecx, dword [esi + 0xb0]
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
lea eax, [ecx + edx*4]
mov ecx, dword [ecx + edx*4]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x38], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0x1b4]
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0x1b8]
neg eax
neg ecx
push eax
lea eax, [esp + 0x38]
push ecx
push eax
mov dword [esp + 0x4c], edx
call ebx
mov ecx, dword [esi + 0xdc]
push ecx
lea ecx, [esp + 0x48]
call fcn.00644122
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x40]
lea eax, [esi + 0x170]
mov dword [esp + 0x5c], ecx
test eax, eax
mov dword [esp + 0x60], edx
je 0x573d67
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x48]
mov edi, dword [0x65f584]
push eax
lea eax, [esp + 0x58]
push eax
push ecx
call edi
push 0
push 1
push 0
push 1
lea ecx, [esp + 0x64]
call fcn.00644080
mov edx, dword [esi + 0xf0]
lea ecx, [esp + 0x2c]
push edx
call fcn.0064408c
test eax, eax
je 0x573da2
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x48]
push eax
lea eax, [esp + 0x58]
push eax
push ecx
call edi
mov dword [esp + 0x2c], 0x661578
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6c], 3
call fcn.0064406e
mov ecx, dword [esp + 0x34]
mov eax, dword [esi + 0x40]
inc ecx
cmp eax, 2
mov byte [esp + 0x6c], 1
mov dword [esp + 0x2c], 0x6602dc
mov dword [esp + 0x34], ecx
jne 0x573dfc
mov edx, dword [esi + 0x1bc]
mov edi, dword [esi + 0x1b4]
mov eax, dword [esp + 0x3c]
sub edx, edi
sub edx, 3
cmp eax, edx
jge 0x573e28
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0xb0]
lea edx, [esp + 0x34]
push 0x25
lea eax, [eax + eax*2]
push edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4 + 0x20]
mov eax, dword [eax]
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x54]
call dword [eax + 0x70]
mov edi, dword [esi + 0x1b8]
mov ecx, dword [esi + 0x1c0]
mov ebx, dword [esi + 0x1b4]
mov edx, dword [esi + 0x1bc]
mov ebp, dword [esp + 0x48]
lea eax, [esp + 0x44]
sub ecx, edi
sub edx, ebx
neg eax
sbb eax, eax
push 0xcc0020
and eax, ebp
push 0
push 0
push eax
push ecx
push edx
push edi
mov edi, dword [esp + 0x30]
push ebx
mov ecx, dword [edi + 4]
push ecx
call dword [fcn.0065e0cc]
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x44]
push edx
call fcn.00644128
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x44]
push eax
call fcn.0064412e
mov eax, dword [esp + 0x20]
test eax, eax
je 0x573e95
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x48]
push eax
push ecx
call fcn.00644140
lea ecx, [esp + 0x24]
call fcn.0064406e
lea ecx, [esp + 0x44]
call fcn.00644134
mov edx, dword [edi + 4]
mov eax, dword [esi + 0x20]
push edx
push eax
call dword [fcn.0065f4e8]
mov dword [esp + 0x24], 0x661578
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 4
call fcn.0064406e
lea ecx, [esp + 0x44]
mov dword [esp + 0x24], 0x6602dc
mov dword [esp + 0x6c], 0xffffffff
call fcn.0064411c
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret