Function at 0x469f7c
Capabilities:
Capture screenshot

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd0
mov dword [esp + 4], ecx
mov byte [esp], dl
mov ebx, eax
mov ebp, 0x4a2a58
xor eax, eax
mov dword [esp + 8], eax
call fcn.00460230
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x469fab
push eax
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.user32.dll_GetDC
mov esi, eax
mov dword [ebx + 0x38], esi
push 8
push esi
call sub.gdi32.dll_GetDeviceCaps
mov esi, eax
push 0xa
mov eax, dword [ebx + 0x38]
push eax
call sub.gdi32.dll_GetDeviceCaps
mov dl, byte [ebx + 0x24]
cmp dl, byte [esp]
jne 0x469fea
cmp si, word [ebx + 0x90]
jne 0x469fea
cmp ax, word [ebx + 0x92]
je 0x46a46c
mov word [ebx + 0x90], si
mov word [ebx + 0x92], ax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x46a004
call fcn.00402b5c
lea eax, [ebx + 0x30]
push eax
lea ecx, [esp + 0x10]
mov dl, byte [esp + 4]
mov eax, ebx
call fcn.0046a8a8
movzx eax, word [ebx + 0x90]
xor ecx, ecx
mov cl, byte [ebp]
mov edx, ecx
dec edx
add eax, edx
cdq
idiv ecx
mov word [ebx + 0x26], ax
movzx eax, word [ebx + 0x92]
xor ecx, ecx
mov cl, byte [ebp]
mov edx, ecx
dec edx
add eax, edx
cdq
idiv ecx
mov esi, eax
mov word [ebx + 0x28], si
mov ax, word [ebx + 0x26]
imul si
mov word [ebx + 0x2a], ax
push 0
lea eax, [ebx + 4]
mov ecx, 1
mov edx, dword [0x469c14]
call fcn.004063fc
add esp, 4
push 0
lea eax, [ebx + 8]
mov ecx, 1
mov edx, dword [0x469c38]
call fcn.004063fc
add esp, 4
push 0
lea eax, [ebx + 0xc]
mov ecx, 1
mov edx, dword [0x469c5c]
call fcn.004063fc
add esp, 4
movzx eax, word [ebx + 0x2a]
push eax
lea eax, [ebx + 4]
mov ecx, 1
mov edx, dword [0x469c14]
call fcn.004063fc
add esp, 4
movzx eax, word [ebx + 0x2a]
push eax
lea eax, [ebx + 8]
mov ecx, 1
mov edx, dword [0x469c38]
call fcn.004063fc
add esp, 4
movzx eax, word [ebx + 0x2a]
push eax
lea eax, [ebx + 0xc]
mov ecx, 1
mov edx, dword [0x469c5c]
call fcn.004063fc
add esp, 4
movzx edx, word [ebx + 0x2a]
mov cl, byte [0x4a2a5c]
mov eax, dword [ebx + 0xc]
call fcn.0040815c
movzx eax, word [ebx + 0x2a]
add eax, 7
shr eax, 3
mov word [ebx + 0x2c], ax
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x46a119
call fcn.00402b5c
movzx eax, word [ebx + 0x2c]
call fcn.00402b2c
mov dword [ebx + 0x40], eax
mov eax, dword [ebx + 0x30]
movzx eax, word [eax + 0xe]
cmp eax, 0x18
ja case.0x46a13b.0
mov al, byte [eax + 0x46a142]
jmp dword [eax*4 + 0x46a15b]
xor eax, eax
mov al, byte [ebp]
xor edx, edx
mov dl, byte [ebp]
imul edx
shr eax, 3
mov word [ebx + 0x2e], ax
jmp case.0x46a13b.0
xor eax, eax
mov al, byte [ebp]
xor edx, edx
mov dl, byte [ebp]
imul edx
shr eax, 1
mov word [ebx + 0x2e], ax
jmp case.0x46a13b.0
mov eax, dword [ebx + 0x30]
movzx eax, word [eax + 0xe]
add eax, 7
shr eax, 3
xor edx, edx
mov dl, byte [ebp]
imul dx
xor edx, edx
mov dl, byte [ebp]
imul dx
mov word [ebx + 0x2e], ax
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x46a1c1
call fcn.00402b5c
movzx eax, word [ebx + 0x2e]
call fcn.00402b2c
mov dword [ebx + 0x44], eax
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x46a1d9
call fcn.00402b5c
movzx eax, word [ebx + 0x2e]
movzx edx, word [ebx + 0x2a]
imul edx
call fcn.00402b2c
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 4]
call fcn.00406228
test ax, ax
jb 0x46a220
inc eax
mov word [esp + 0x18], ax
xor esi, esi
movzx eax, si
mov edx, dword [ebx + 4]
mov byte [edx + eax], 0
mov edx, dword [ebx + 8]
mov byte [edx + eax], 0
mov edx, dword [ebx + 0xc]
mov byte [edx + eax], 0
inc esi
dec word [esp + 0x18]
jne 0x46a200
xor eax, eax
mov dword [ebx + 0x10], eax
xor eax, eax
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x46a236
call fcn.00402b5c
movzx eax, word [esp + 0xc]
add eax, 0x15
movzx edx, word [ebx + 0x2c]
add eax, edx
movzx edx, word [ebx + 0x2e]
movzx ecx, word [ebx + 0x2a]
imul edx, ecx
add eax, edx
call fcn.00402b2c
mov dword [ebx + 0x48], eax
lea eax, [ebx + 0x18]
push eax
call sub.user32.dll_GetCursorPos
mov ax, word [ebx + 0x18]
mov word [esp + 0x1a], ax
mov ax, word [ebx + 0x1c]
mov word [esp + 0x1c], ax
lea edx, [esp + 0x1e]
mov eax, ebx
call fcn.00469f48
mov ax, word [ebx + 0x2e]
mov word [esp + 0x1f], ax
mov dx, word [esp + 0xc]
mov word [esp + 0x21], dx
mov dx, word [ebx + 0x2c]
mov word [esp + 0x23], dx
movzx eax, ax
movzx ecx, word [ebx + 0x2a]
imul eax, ecx
mov dword [esp + 0x25], eax
mov word [esp + 0x29], 0x15
mov ax, word [esp + 0xc]
add ax, 0x15
mov word [esp + 0x2b], ax
add ax, dx
mov word [esp + 0x2d], ax
lea edx, [esp + 0x1a]
mov ecx, 0x15
mov eax, dword [ebx + 0x48]
call fcn.0040814c
mov eax, dword [ebx + 0x48]
add eax, 0x15
mov dword [esp + 0x10], eax
movzx ecx, word [esp + 0xc]
mov edx, dword [ebx + 0x30]
mov eax, dword [esp + 0x10]
call fcn.0040814c
movzx eax, word [esp + 0xc]
add eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
movzx edx, word [ebx + 0x2c]
mov cl, 0xff
mov eax, dword [ebx + 0x40]
call fcn.0040815c
movzx ecx, word [ebx + 0x2c]
mov edx, dword [ebx + 0x40]
mov eax, dword [esp + 0x10]
call fcn.0040814c
cmp dword [ebx + 0x3c], 0
je 0x46a32c
mov eax, dword [ebx + 0x3c]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebx + 0x38]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebx + 0x3c], eax
cmp dword [ebx + 0x34], 0
je 0x46a347
mov eax, dword [ebx + 0x34]
push eax
call sub.gdi32.dll_DeleteObject
movzx esi, byte [ebp]
push esi
push esi
mov eax, dword [ebx + 0x38]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov edi, eax
mov dword [ebx + 0x34], edi
push edi
mov eax, dword [ebx + 0x3c]
push eax
call sub.gdi32.dll_SelectObject
xor edx, edx
mov dl, byte [ebp]
mov eax, dword [ebx + 0x30]
mov dword [eax + 4], edx
xor edx, edx
mov dl, byte [ebp]
mov dword [eax + 8], edx
xor edx, edx
mov dl, byte [ebp]
mov ecx, edx
imul ecx, edx
mov dword [eax + 0x14], ecx
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x14], eax
mov ax, word [ebx + 0x28]
dec eax
test ax, ax
jb 0x46a43c
inc eax
mov word [esp + 0x18], ax
mov word [esp + 0xe], 0
mov di, word [ebx + 0x26]
dec edi
test di, di
jb 0x46a42c
inc edi
xor esi, esi
push 0xcc0020
movzx edx, word [esp + 0x12]
xor ecx, ecx
mov cl, byte [ebp]
imul edx, ecx
push edx
movzx edx, si
xor ecx, ecx
mov cl, byte [ebp]
imul edx, ecx
push edx
mov edx, dword [ebx + 0x38]
push edx
xor eax, eax
mov al, byte [ebp]
push eax
push eax
push 0
push 0
mov eax, dword [ebx + 0x3c]
push eax
call sub.gdi32.dll_BitBlt
push 0
mov eax, dword [ebx + 0x30]
push eax
mov eax, dword [ebx + 0x44]
push eax
xor eax, eax
mov al, byte [ebp]
push eax
push 0
mov eax, dword [ebx + 0x34]
push eax
mov eax, dword [ebx + 0x3c]
push eax
call sub.gdi32.dll_GetDIBits
movzx ecx, word [ebx + 0x2e]
mov edx, dword [ebx + 0x44]
mov eax, dword [esp + 0x14]
call fcn.0040814c
movzx eax, word [ebx + 0x2e]
add eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
inc esi
dec di
jne 0x46a3b4
inc word [esp + 0xe]
dec word [esp + 0x18]
jne 0x46a3a7
movzx eax, word [ebx + 0x2c]
add eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
movzx ecx, word [ebx + 0x2e]
movzx eax, word [ebx + 0x2a]
imul ecx, eax
mov edx, dword [ebx + 0x20]
mov eax, dword [esp + 0x10]
call fcn.0040814c
mov eax, dword [ebx + 0x48]
mov dword [esp + 8], eax
mov al, byte [esp]
mov byte [ebx + 0x24], al
movzx eax, word [esp + 0xc]
add eax, 0x15
movzx edx, word [ebx + 0x2c]
add eax, edx
movzx edx, word [ebx + 0x2e]
movzx ecx, word [ebx + 0x2a]
imul edx, ecx
add eax, edx
mov edx, dword [esp + 4]
mov dword [edx], eax
mov eax, dword [esp + 8]
add esp, 0x30
pop ebp
pop edi
pop esi
pop ebx
ret