Function at 0x5b9fe4
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x34]
push ecx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
pop ecx
mov ebx, ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x34]
mov edx, dword [0x58d62c]
call fcn.004064b4
xor eax, eax
push ebp
push 0x5ba65b
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x5ba033
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x5ba612
cmp dword [ebp - 0xc], 0
je case.0x5ba4ff.1
lea eax, [ebp - 0x28]
xor edx, edx
call fcn.005ca27c
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x28]
xor edx, edx
call fcn.005ca290
mov esi, eax
xor eax, eax
mov dword [ebp - 0x4c], eax
movzx eax, byte [ebp + 8]
dec al
je 0x5ba080
sub al, 3
je 0x5ba10c
dec al
je 0x5ba19d
sub al, 5
je 0x5ba232
jmp 0x5ba315
push 4
mov eax, dword [ebp - 0x38]
call fcn.00435470
push eax
call sub.gdi32.dll_SetStretchBltMode
push 0xcc0020
push esi
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x130]
call fcn.0043a318
call fcn.00435470
push eax
mov eax, dword [ebp - 0x3c]
xor edx, edx
call fcn.005ca290
push eax
mov eax, dword [ebp - 0x3c]
xor edx, edx
call fcn.005ca27c
push eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x38]
call fcn.00435470
push eax
call sub.gdi32.dll_StretchBlt
push 0xffffffffffffffff
lea eax, [ebp - 0x5c]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.0041d9f4
mov eax, dword [ebp - 0x3c]
lea esi, [ebp - 0x5c]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x5ba4ff.1
push 4
mov eax, dword [ebp - 0x38]
call fcn.00435470
push eax
call sub.gdi32.dll_SetStretchBltMode
push 0xcc0020
push esi
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x130]
call fcn.0043a318
call fcn.00435470
push eax
push esi
mov eax, dword [ebp - 0x3c]
xor edx, edx
call fcn.005ca27c
push eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x38]
call fcn.00435470
push eax
call sub.gdi32.dll_StretchBlt
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 0x3c]
mov edx, dword [edx + 4]
add edx, esi
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
call fcn.0041d9f4
mov eax, dword [ebp - 0x3c]
lea esi, [ebp - 0x5c]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x5ba4ff.1
push 4
mov eax, dword [ebp - 0x38]
call fcn.00435470
push eax
call sub.gdi32.dll_SetStretchBltMode
push 0xcc0020
push esi
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x130]
call fcn.0043a318
call fcn.00435470
push eax
mov eax, dword [ebp - 0x3c]
xor edx, edx
call fcn.005ca290
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x38]
call fcn.00435470
push eax
call sub.gdi32.dll_StretchBlt
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 0x3c]
mov edx, dword [edx + 4]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
add eax, dword [ebp - 0x40]
call fcn.0041d9f4
mov eax, dword [ebp - 0x3c]
lea esi, [ebp - 0x5c]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x5ba4ff.1
mov edi, dword [ebp - 0x3c]
mov edi, dword [edi]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0xc]
sub eax, esi
mov dword [ebp - 0x48], eax
cmp edi, dword [ebp - 0x44]
jge 0x5ba2a3
mov ebx, dword [ebp - 0x3c]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x48]
jge 0x5ba29b
push 0xcc0020
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x130]
call fcn.0043a318
call fcn.00435470
push eax
push esi
mov eax, dword [ebp - 0x40]
push eax
push ebx
push edi
mov eax, dword [ebp - 0x38]
call fcn.00435470
push eax
call sub.gdi32.dll_BitBlt
add ebx, esi
cmp ebx, dword [ebp - 0x48]
jl 0x5ba25e
add edi, dword [ebp - 0x40]
cmp edi, dword [ebp - 0x44]
jl 0x5ba253
mov ebx, dword [ebp - 0x3c]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x48]
jge 0x5ba2f0
push 0xcc0020
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x130]
call fcn.0043a318
call fcn.00435470
push eax
push esi
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
sub eax, edi
push eax
push ebx
push edi
mov eax, dword [ebp - 0x38]
call fcn.00435470
push eax
call sub.gdi32.dll_BitBlt
add ebx, esi
cmp ebx, dword [ebp - 0x48]
jl 0x5ba2ae
push 0xffffffffffffffff
lea eax, [ebp - 0x5c]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.0041d9f4
mov eax, dword [ebp - 0x3c]
lea esi, [ebp - 0x5c]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x5ba4ff.1
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov edi, eax
movzx edx, byte [ebp + 8]
sub dl, 1
jb 0x5ba334
dec dl
je 0x5ba34d
dec dl
je 0x5ba364
sub dl, 3
je 0x5ba377
jmp 0x5ba3a2
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0xc]
sub eax, esi
mov dword [ebp - 0x48], eax
jmp 0x5ba3c7
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x48], eax
jmp 0x5ba3c7
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0xc]
sub eax, esi
mov dword [ebp - 0x48], eax
jmp 0x5ba3c7
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0xc]
sub eax, esi
mov edx, dword [ebp - 0x3c]
mov dword [edx + 4], eax
mov edx, dword [ebp - 0x3c]
mov edx, dword [edx + 8]
sub edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
jmp 0x5ba3c7
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov dword [edx], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0xc]
sub eax, esi
mov dword [ebp - 0x48], eax
cmp edi, dword [ebp - 0x44]
jge 0x5ba462
mov ebx, dword [ebp - 0x3c]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x48]
jge 0x5ba418
push 0xcc0020
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x130]
call fcn.0043a318
call fcn.00435470
push eax
push esi
mov eax, dword [ebp - 0x40]
push eax
push ebx
push edi
mov eax, dword [ebp - 0x38]
call fcn.00435470
push eax
call sub.gdi32.dll_BitBlt
add ebx, esi
cmp ebx, dword [ebp - 0x48]
jl 0x5ba3db
push 0xcc0020
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x130]
call fcn.0043a318
call fcn.00435470
push eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0xc]
sub eax, ebx
push eax
mov eax, dword [ebp - 0x40]
push eax
push ebx
push edi
mov eax, dword [ebp - 0x38]
call fcn.00435470
push eax
call sub.gdi32.dll_BitBlt
add edi, dword [ebp - 0x40]
cmp edi, dword [ebp - 0x44]
jl 0x5ba3d0
mov ebx, dword [ebp - 0x3c]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x48]
jge 0x5ba4af
push 0xcc0020
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x130]
call fcn.0043a318
call fcn.00435470
push eax
push esi
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
sub eax, edi
push eax
push ebx
push edi
mov eax, dword [ebp - 0x38]
call fcn.00435470
push eax
call sub.gdi32.dll_BitBlt
add ebx, esi
cmp ebx, dword [ebp - 0x48]
jl 0x5ba46d
push 0xcc0020
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x130]
call fcn.0043a318
call fcn.00435470
push eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0xc]
sub eax, ebx
push eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
sub eax, edi
push eax
push ebx
push edi
mov eax, dword [ebp - 0x38]
call fcn.00435470
push eax
call sub.gdi32.dll_BitBlt
movzx eax, byte [ebp + 8]
cmp eax, 7
ja case.0x5ba4ff.1
jmp dword [eax*4 + 0x5ba506]
push 0xffffffffffffffff
lea eax, [ebp - 0x5c]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.0041d9f4
mov eax, dword [ebp - 0x3c]
lea esi, [ebp - 0x5c]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x5ba4ff.1
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 0x3c]
mov edx, dword [edx + 4]
add edx, esi
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
call fcn.0041d9f4
mov eax, dword [ebp - 0x3c]
lea esi, [ebp - 0x5c]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x5ba4ff.1
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 0x3c]
mov edx, dword [edx + 4]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
add eax, dword [ebp - 0x40]
call fcn.0041d9f4
mov eax, dword [ebp - 0x3c]
lea esi, [ebp - 0x5c]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x5ba4ff.1
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0xc]
sub eax, esi
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 8]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x4c]
call fcn.0041d9f4
mov eax, dword [ebp - 0x3c]
lea esi, [ebp - 0x5c]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x5ba4ff.1
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx + 8]
sub ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov edx, dword [edx + 4]
mov eax, dword [ebp - 0x4c]
call fcn.0041d9f4
mov eax, dword [ebp - 0x3c]
lea esi, [ebp - 0x5c]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x5ba4ff.1
mov edx, dword [ebp - 0x3c]
mov ecx, ebx
mov eax, dword [ebp - 0x38]
call fcn.005b9db0
push 0xffffffffffffffff
lea eax, [ebp - 0x5c]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.0041d9f4
mov eax, dword [ebp - 0x3c]
lea esi, [ebp - 0x5c]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ba662
lea eax, [ebp - 0x34]
mov edx, dword [0x58d62c]
call fcn.00406370
ret