Function at 0x573f10
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x658558
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
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 + 0x54]
mov dword [esp + 0x24], edi
call fcn.0064414c
xor ebp, ebp
lea ecx, [esp + 0x34]
mov dword [esp + 0x7c], ebp
call fcn.004a42c0
mov dword [esp + 0x34], 0x661a18
cmp edi, ebp
mov byte [esp + 0x7c], 1
jne 0x573f71
xor eax, eax
jmp 0x573f74
mov eax, dword [edi + 4]
push eax
call dword [fcn.0065e0d0]
push eax
lea ecx, [esp + 0x58]
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 + 0x38]
call fcn.006440f8
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x58]
lea eax, [esp + 0x34]
neg eax
sbb eax, eax
and eax, edi
push eax
push edx
call fcn.00644140
push 1
lea ecx, [esp + 0x58]
mov dword [esp + 0x34], eax
call fcn.0064412e
mov dword [esp + 0x2c], eax
lea eax, [esi + 0x148]
push eax
lea ecx, [esp + 0x58]
call fcn.00644128
lea ecx, [esi + 0x108]
mov dword [esp + 0x28], eax
mov ebx, dword [fcn.0065f568]
mov edx, dword [ecx]
mov dword [esp + 0x44], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x48], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [ecx + 0xc]
mov ecx, dword [esi + 0x1b4]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x1b8]
neg eax
neg ecx
push eax
push ecx
lea ecx, [esp + 0x4c]
push ecx
call ebx
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0xd4]
mov eax, dword [esi + 0xcc]
cmp ecx, 6
mov dword [esp + 0x18], edx
jne 0x574059
mov eax, dword [esi + 0xf0]
mov dword [esp + 0x18], eax
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x5c]
call fcn.00643ed0
lea eax, [esi + 0x158]
cmp eax, ebp
jne 0x574076
xor eax, eax
jmp 0x574079
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x44]
push eax
push ecx
push edx
call dword [0x65f570]
mov dword [esp + 0x1c], ebp
xor edi, edi
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x574316
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 0x574316
mov eax, dword [esi + 0xb0]
lea ecx, [edi + eax + 0x10]
mov edx, dword [edi + eax + 0x10]
mov dword [esp + 0x44], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x48], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [ecx + 0xc]
mov ecx, dword [esi + 0x1b4]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x1b8]
neg eax
neg ecx
push eax
push ecx
lea ecx, [esp + 0x4c]
push ecx
call ebx
mov edx, dword [esp + 0x50]
mov ecx, dword [esi + 0xe8]
push 1
push 0
lea eax, [edx - 1]
mov edx, dword [esp + 0x54]
push ecx
push eax
push edx
push eax
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x6c]
push eax
push ecx
mov ecx, esi
call fcn.00571300
mov eax, dword [esi + 0xb0]
lea edx, [edi + eax]
mov eax, dword [edi + eax]
mov dword [esp + 0x44], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x48], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x1b8]
mov ecx, dword [edx + 0xc]
lea edx, [esp + 0x44]
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 0x1b4]
neg eax
neg ecx
push eax
push ecx
push edx
call ebx
mov eax, dword [esi + 0x190]
test eax, eax
jl 0x57417f
cmp ebp, eax
jne 0x57417f
mov eax, dword [esi + 0xe4]
jmp 0x574188
mov eax, dword [esi + 0xc0]
mov eax, dword [eax + ebp*8]
push eax
lea ecx, [esp + 0x58]
call fcn.00644122
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
push eax
call fcn.0064408c
test eax, eax
je 0x5741a7
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0x44]
push eax
push ecx
push edx
call dword [0x65f584]
mov dword [esp + 0x3c], 0x661578
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7c], 2
call fcn.0064406e
mov ecx, dword [esp + 0x48]
mov eax, dword [esi + 0x40]
inc ecx
cmp eax, 6
mov byte [esp + 0x7c], 1
mov dword [esp + 0x3c], 0x6602dc
mov dword [esp + 0x48], ecx
jne 0x574209
mov eax, dword [esi + 0x1c0]
mov ecx, dword [esi + 0x1b8]
sub eax, ecx
mov ecx, dword [esp + 0x50]
sub eax, 3
cmp ecx, eax
jge 0x574309
push 0x6c7010
lea ecx, [esp + 0x18]
call fcn.00643d2c
mov eax, dword [esi + 0xb0]
xor ebp, ebp
mov byte [esp + 0x7c], 3
mov ecx, dword [edi + eax + 0x20]
mov ecx, dword [ecx - 8]
add ecx, 0xfffffffd
test ecx, ecx
jle 0x5742dc
xor ebx, ebx
push 2
lea edx, [esp + 0x14]
push ebx
push edx
lea ecx, [eax + edi + 0x20]
call fcn.00644290
mov eax, dword [esp + 0x10]
push 0x6c7010
push eax
mov byte [esp + 0x84], 4
call dword [fcn.0065f1ec]
add esp, 8
test eax, eax
je 0x5742c8
lea ecx, [esp + 0x10]
push 0x6bd010
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.00643ea6
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 5
call fcn.00643d38
lea ecx, [esp + 0x20]
mov byte [esp + 0x7c], 4
call fcn.00643d26
lea ecx, [esp + 0x10]
mov byte [esp + 0x7c], 3
call fcn.00643d26
mov eax, dword [esi + 0xb0]
inc ebp
add ebx, 2
mov ecx, dword [eax + edi + 0x20]
mov ecx, dword [ecx - 8]
add ecx, 0xfffffffd
cmp ebp, ecx
jl 0x574238
jmp 0x5742d6
lea ecx, [esp + 0x10]
mov byte [esp + 0x7c], 3
call fcn.00643d26
mov ebx, dword [fcn.0065f568]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x44]
push 1
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x64]
call dword [eax + 0x70]
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 1
call fcn.00643d26
mov ebp, dword [esp + 0x1c]
inc ebp
add edi, 0x3c
mov dword [esp + 0x1c], ebp
jmp 0x574090
mov eax, dword [esi + 0x44]
test eax, eax
jl 0x574541
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 + 0x44], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x4c], 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 + 0x48]
push ecx
push eax
mov dword [esp + 0x5c], edx
call ebx
mov ecx, dword [esi + 0xdc]
push ecx
lea ecx, [esp + 0x58]
call fcn.00644122
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x50]
lea eax, [esi + 0x170]
mov dword [esp + 0x6c], ecx
test eax, eax
mov dword [esp + 0x70], edx
je 0x5743a2
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x58]
mov edi, dword [0x65f584]
push eax
lea eax, [esp + 0x68]
push eax
push ecx
call edi
push 1
push 0
push 1
push 0
lea ecx, [esp + 0x74]
call fcn.00644080
mov edx, dword [esi + 0xf0]
lea ecx, [esp + 0x3c]
push edx
call fcn.0064408c
test eax, eax
je 0x5743dd
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x58]
push eax
lea eax, [esp + 0x68]
push eax
push ecx
call edi
mov dword [esp + 0x3c], 0x661578
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7c], 6
call fcn.0064406e
mov ecx, dword [esp + 0x48]
mov eax, dword [esi + 0x40]
inc ecx
cmp eax, 6
mov byte [esp + 0x7c], 1
mov dword [esp + 0x48], ecx
jne 0x574433
mov edx, dword [esi + 0x1c0]
mov edi, dword [esi + 0x1b8]
mov eax, dword [esp + 0x50]
sub edx, edi
sub edx, 3
cmp eax, edx
jge 0x574541
push 0x6c7010
lea ecx, [esp + 0x18]
call fcn.00643d2c
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0xb0]
xor edi, edi
mov byte [esp + 0x7c], 7
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
shl eax, 2
mov edx, dword [eax + ecx + 0x20]
mov edx, dword [edx - 8]
add edx, 0xfffffffd
test edx, edx
jle 0x574518
xor ebp, ebp
mov bl, 8
push 2
lea edx, [esp + 0x14]
push ebp
push edx
lea ecx, [eax + ecx + 0x20]
call fcn.00644290
mov eax, dword [esp + 0x10]
push 0x6c7010
push eax
mov byte [esp + 0x84], bl
call dword [fcn.0065f1ec]
add esp, 8
test eax, eax
je 0x57450a
lea ecx, [esp + 0x10]
push 0x6bd010
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.00643ea6
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 9
call fcn.00643d38
lea ecx, [esp + 0x20]
mov byte [esp + 0x7c], bl
call fcn.00643d26
lea ecx, [esp + 0x10]
mov byte [esp + 0x7c], 7
call fcn.00643d26
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0xb0]
inc edi
add ebp, 2
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
shl eax, 2
mov edx, dword [eax + ecx + 0x20]
mov edx, dword [edx - 8]
add edx, 0xfffffffd
cmp edi, edx
jl 0x574470
jmp 0x574518
lea ecx, [esp + 0x10]
mov byte [esp + 0x7c], 7
call fcn.00643d26
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x44]
push 1
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x64]
call dword [eax + 0x70]
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 1
call fcn.00643d26
mov edi, dword [esi + 0x1b8]
mov ecx, dword [esi + 0x1c0]
mov ebp, dword [esi + 0x1b4]
mov edx, dword [esi + 0x1bc]
mov ebx, dword [esp + 0x58]
lea eax, [esp + 0x54]
sub ecx, edi
sub edx, ebp
neg eax
sbb eax, eax
push 0xcc0020
and eax, ebx
push 0
push 0
push eax
push ecx
push edx
push edi
mov edi, dword [esp + 0x40]
push ebp
mov ecx, dword [edi + 4]
push ecx
call dword [fcn.0065e0cc]
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x54]
push edx
call fcn.00644128
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x54]
push eax
call fcn.0064412e
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5745ae
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x58]
push eax
push ecx
call fcn.00644140
lea ecx, [esp + 0x34]
call fcn.0064406e
lea ecx, [esp + 0x54]
call fcn.00644134
mov edx, dword [edi + 4]
mov eax, dword [esi + 0x20]
push edx
push eax
call dword [fcn.0065f4e8]
mov dword [esp + 0x34], 0x661578
lea ecx, [esp + 0x34]
mov byte [esp + 0x7c], 0xa
call fcn.0064406e
lea ecx, [esp + 0x54]
mov dword [esp + 0x34], 0x6602dc
mov dword [esp + 0x7c], 0xffffffff
call fcn.0064411c
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret