Function at 0x41b980
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push edi
lea ebx, [esp + 0x6c]
mov esi, eax
call fcn.0041bda0
mov ecx, dword [esi]
add esp, 4
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x6c]
cmp edx, dword [esp + 0x74]
jge 0x41bd8d
mov eax, dword [esp + 0x68]
cmp eax, dword [esp + 0x70]
jge 0x41bd8d
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
sub edx, eax
sub ebx, ecx
cmp ebx, edx
jl 0x41bd6e
cmp dword [ebp + 0x10], 3
je 0x41bd6e
cmp ecx, eax
jge 0x41ba58
test edi, edi
je 0x41ba0f
push eax
mov eax, dword [esp + 0x74]
push eax
push ecx
mov ecx, dword [esp + 0x74]
push ecx
lea edx, [esp + 0x48]
push edx
jmp 0x41ba20
mov edx, dword [esp + 0x74]
push edx
push eax
mov eax, dword [esp + 0x74]
push eax
push ecx
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
neg edx
push edx
neg eax
push eax
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ebx, dword [ebp + 8]
mov eax, edi
push esi
lea edi, [esp + 0x3c]
mov ecx, ebx
call fcn.0041b570
mov edi, dword [ebp + 0xc]
add esp, 4
jmp 0x41ba5b
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x7c]
cmp eax, ecx
jge 0x41bac5
test edi, edi
je 0x41ba81
mov edx, dword [esp + 0x70]
push ecx
push edx
push eax
mov eax, dword [esp + 0x74]
push eax
lea ecx, [esp + 0x48]
push ecx
jmp 0x41ba92
mov edx, dword [esp + 0x74]
push edx
push ecx
mov ecx, dword [esp + 0x74]
push ecx
push eax
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
neg eax
push eax
neg ecx
push ecx
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, edi
push esi
lea edi, [esp + 0x3c]
mov ecx, ebx
call fcn.0041b570
mov edi, dword [ebp + 0xc]
add esp, 4
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
mov eax, dword [esi + 0x70]
call fcn.00419320
push eax
push ebx
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x38]
push eax
call fcn.0041b450
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
sub edi, dword [esp + 0x3c]
xor ecx, ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov ecx, dword [ebp + 8]
add esp, 4
push ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x10]
push edx
mov esi, eax
mov eax, dword [ebp + 8]
push edi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xffffff
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0
push 0
push 0
lea ecx, [esp + 0x64]
push ecx
push 2
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov edx, dword [ebp + 0x10]
xor ecx, ecx
xor eax, eax
cmp edx, 1
jne 0x41bb79
mov ecx, edx
jmp 0x41bb80
cmp edx, 2
jne 0x41bb82
mov ecx, edx
mov eax, ecx
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x41bb8f
add eax, 3
add ecx, 3
shl eax, 4
shl ecx, 4
test edx, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x14], 4
je 0x41bc56
mov eax, dword [esp + 0x10]
add eax, 0xfffffffc
cmp eax, 4
jle 0x41bbed
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
push 0xcc0020
push 0x24
push edx
push ebx
push 8
push edi
push eax
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add eax, 8
add ecx, 0xfffffffc
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x41bbb9
mov ecx, dword [esp + 0x28]
push 0xcc0020
push 0x20
push ecx
push ebx
push 4
push edi
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
push 0xcc0020
push 0x2c
push edx
push ebx
push 4
push edi
add eax, 0xfffffffc
push eax
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x10]
cmp eax, 0x18
jle 0x41bd03
mov ecx, dword [esp + 0x30]
push 0xcc0020
push 0x30
push ecx
add eax, 0xfffffff0
push ebx
cdq
push 0x10
sub eax, edx
push edi
sar eax, 1
push eax
push 0
jmp 0x41bcfc
lea eax, [edi - 4]
cmp eax, 4
jle 0x41bc95
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
push 0xcc0020
push 0x20
add eax, 4
push eax
mov eax, dword [esp + 0x20]
push ebx
push edx
push 8
push 0
push eax
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x14]
add eax, 8
lea ecx, [edi - 4]
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x41bc5e
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
push 0xcc0020
push 0x20
push ecx
push ebx
push edx
push 4
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push 0xcc0020
push 0x20
add eax, 0xc
push eax
push ebx
push ecx
push 4
push 0
lea eax, [edi - 4]
push eax
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
cmp edi, 0x18
jle 0x41bd03
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
push 0xcc0020
push 0x30
push edx
push ebx
push eax
lea eax, [edi - 0x10]
cdq
push 0x10
sub eax, edx
push 0
sar eax, 1
push eax
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push 0xcc0020
push 0
push 0
push esi
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x4c]
sub edx, ecx
push edx
push eax
mov eax, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x18]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
mov edx, dword [esp + 0x1c]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
push edx
call edi
mov eax, dword [esp + 0x20]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call esi
mov ecx, dword [esp + 0x24]
push ecx
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x38]
push edx
call fcn.0041b4e0
mov ecx, dword [ebp + 8]
add esp, 4
mov eax, edi
push esi
lea edi, [esp + 0x3c]
call fcn.0041b570
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret