Function at 0x59ba64
Capabilities:
Capture screenshot

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe4
mov eax, dword [0x5bf17c]
mov dword [esp], eax
cmp dword [esp], 0
jne 0x59bd5f
mov dl, 1
mov eax, dword [0x42b114]
call fcn.00431a60
mov dword [0x5bf17c], eax
mov dl, 6
mov eax, dword [0x5bf17c]
call fcn.00433074
mov edx, 0x62
mov eax, dword [0x5bf17c]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov edx, 0x118
mov eax, dword [0x5bf17c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [0x5bf17c]
call fcn.00432034
call fcn.0042cf00
mov eax, dword [0x5bf17c]
mov dword [esp], eax
call fcn.0059b8c8
call fcn.00432034
mov dword [esp + 0x14], eax
mov eax, dword [0x5bf17c]
call fcn.00432034
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0xc], eax
xor ebx, ebx
push 0xcc0020
mov eax, dword [0x5c047c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5c047c]
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x20]
call fcn.0042d408
push eax
push 0xe
push 0xe
imul eax, ebx, 0xe
push eax
imul eax, dword [esp + 0x28], 0xe
push eax
mov eax, dword [esp + 0x38]
call fcn.0042d408
push eax
call sub.gdi32.dll_BitBlt
inc ebx
cmp ebx, 0xa
jne 0x59baf2
xor eax, eax
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x59bb4e
sub eax, 7
jne 0x59bb63
mov eax, dword [esp + 8]
test eax, eax
je 0x59bd32
sub eax, 7
je 0x59bd32
mov edx, dword [0x5c00a0]
mov edx, dword [edx]
add edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
add eax, 7
add eax, eax
add eax, eax
add eax, eax
add edx, eax
mov ecx, dword [0x5c00a0]
mov ecx, dword [ecx + 4]
add ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
call fcn.0042d36c
mov edx, eax
and edx, 0xff
imul edx, edx, 0x10101
mov dword [esp + 4], edx
mov esi, eax
shr esi, 0x10
and esi, 0xff
xor ebx, ebx
test ebx, ebx
jne 0x59bbbe
mov eax, 0x808080
jmp 0x59bbc6
mov eax, ebx
dec eax
call fcn.00598960
mov edx, eax
and edx, 0xff
mov ecx, eax
and ecx, 0xff00
shr ecx, 8
and eax, 0xff0000
shr eax, 0x10
mov edi, esi
imul edi, edx
and edi, 0xff00
shr edi, 8
mov edx, esi
imul edx, ecx
and edx, 0xff00
shr edx, 8
shl edx, 8
add edi, edx
mov edx, esi
imul edx, eax
and edx, 0xff00
shr edx, 8
shl edx, 0x10
add edi, edx
mov eax, edi
add eax, dword [esp + 4]
push eax
mov ecx, dword [esp + 0x14]
add ecx, 3
imul eax, ebx, 0xe
add ecx, eax
mov edx, dword [esp + 0xc]
add edx, 3
imul eax, dword [esp + 0x10], 0xe
add edx, eax
mov eax, dword [esp + 0x1c]
call fcn.0042d398
inc ebx
cmp ebx, 0xa
jne 0x59bbb3
mov edx, dword [0x5c00a0]
mov edx, dword [edx]
add edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
add eax, eax
add eax, eax
add eax, eax
add edx, eax
mov ecx, dword [0x5c00a0]
mov ecx, dword [ecx + 4]
add ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
call fcn.0042d36c
mov edx, eax
and edx, 0xff
imul edx, edx, 0x10101
mov dword [esp + 4], edx
mov esi, eax
shr esi, 0x10
and esi, 0xff
xor ebx, ebx
test ebx, ebx
jne 0x59bca1
mov eax, 0x808080
jmp 0x59bca9
mov eax, ebx
dec eax
call fcn.00598960
mov edx, eax
and edx, 0xff
mov ecx, eax
and ecx, 0xff00
shr ecx, 8
and eax, 0xff0000
shr eax, 0x10
mov edi, esi
imul edi, edx
and edi, 0xff00
shr edi, 8
mov edx, esi
imul edx, ecx
and edx, 0xff00
shr edx, 8
shl edx, 8
add edi, edx
mov edx, esi
imul edx, eax
and edx, 0xff00
shr edx, 8
shl edx, 0x10
add edi, edx
mov eax, edi
add eax, dword [esp + 4]
push eax
mov ecx, dword [esp + 0x14]
add ecx, 2
imul eax, ebx, 0xe
add ecx, eax
add ecx, 0x8c
mov edx, dword [esp + 0xc]
add edx, 2
imul eax, dword [esp + 0x10], 0xe
add edx, eax
mov eax, dword [esp + 0x1c]
call fcn.0042d398
inc ebx
cmp ebx, 0xa
jne 0x59bc96
inc dword [esp + 8]
cmp dword [esp + 8], 8
jne 0x59bb41
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 8
jne 0x59bb3b
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 7
jne 0x59baf0
mov eax, dword [esp]
add esp, 0x1c
pop edi
pop esi
pop ebx
ret