Function at 0x4a7850
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
lea eax, [ebp - 0x3c]
mov ebx, ecx
mov ecx, dword [ebp + 8]
xor esi, esi
push eax
push ecx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
call dword [sym.imp.GDI32.dll_GetClipBox]
test eax, eax
je 0x4a7a5b
mov edx, dword [ebx + 0x11c]
mov eax, dword [ebp + 8]
push edx
push eax
call dword [sym.imp.GDI32.dll_SetBkColor]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
push esi
push esi
push 0x52a4dc
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp + 8]
push 2
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_ExtTextOutW]
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x2c]
push edx
push eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [ebx + 0x28], esi
je 0x4a78d5
mov eax, dword [ebx + 0xac]
jmp 0x4a78d7
xor eax, eax
push edi
lea edi, [ebx + 0x114]
mov dword [ebp - 0x28], eax
cmp dword [edi], esi
je 0x4a7a5a
cmp dword [ebp - 0x30], eax
jle 0x4a7a5a
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call fcn.004a7230
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [edi]
mov esi, eax
push edi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [ebx + 0x84], 0
mov dword [ebp - 0x14], eax
je 0x4a79cc
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x28]
push eax
push ecx
call fcn.004ecd91
add esp, 8
test edx, edx
jle 0x4a7944
inc eax
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x2c]
push edi
push edx
mov dword [ebp - 0xc], eax
call fcn.004ecd91
add esp, 8
test edx, edx
jle 0x4a7966
lea ebx, [eax + 1]
mov dword [ebp - 8], ebx
jmp 0x4a796b
mov dword [ebp - 8], eax
mov ebx, eax
mov eax, dword [ebp - 0xc]
test eax, eax
jl 0x4a7a44
inc eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], eax
test ebx, ebx
jl 0x4a79be
xor esi, esi
inc ebx
jmp 0x4a7990
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
push 0xcc0020
push 0
push 0
push eax
mov eax, dword [ebp + 8]
push ecx
push edi
push edx
push esi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
add esi, edi
sub ebx, 1
jne 0x4a7990
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0xc], ecx
sub dword [ebp - 0x10], 1
jne 0x4a7981
jmp 0x4a7a44
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x20]
mov esi, eax
sub eax, edi
cmp dword [ebp - 0x1c], eax
jge 0x4a79f6
mov esi, dword [ebp - 0x1c]
cdq
sub eax, edx
mov edi, eax
mov eax, esi
cdq
sub eax, edx
sar edi, 1
sar eax, 1
sub edi, eax
add esi, edi
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
add eax, 0x10
cmp eax, edx
mov dword [ebp - 0x10], edx
jge 0x4a7a22
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [ebp - 0x10]
cdq
sub eax, edx
mov edx, dword [ebp - 0x18]
mov ecx, eax
sar ebx, 1
sar ecx, 1
sub ecx, ebx
lea ebx, [ecx + edx]
mov eax, dword [ebp - 4]
push 0xcc0020
push 0
push 0
push eax
sub ebx, ecx
push ebx
sub esi, edi
push esi
push ecx
mov ecx, dword [ebp + 8]
push edi
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
test esi, esi
je 0x4a7a5a
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4