Function at 0x483fe8
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [esi + 0x14]
push ebx
push edi
push dword [eax + 0x14]
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 8], eax
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
sub ecx, dword [esp + 0x44]
sub eax, dword [esp + 0x40]
push ecx
push eax
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [esp + 0xc]
mov dword [esp + 0x24], eax
call edi
mov eax, dword [esi + 0xc4]
xor ebx, ebx
cmp eax, ebx
jne 0x48405c
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x18]
push eax
push dword [esp + 0xc]
call edi
push 1
push dword [esp + 0xc]
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
push ebx
push ebx
push ebx
push ebx
mov ebx, dword [sym.imp.GDI32.dll_CreateRectRgn]
call ebx
push dword [esi + 0xa7c]
lea edi, [esi + 0xa70]
push dword [esi + 0xa78]
mov dword [esp + 0x14], eax
push dword [esi + 0xa74]
push dword [edi]
call ebx
push 2
mov ebx, eax
push ebx
push dword [esp + 0x14]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_CombineRgn]
push ebx
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
call ebx
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4840c7
add eax, 4
jmp 0x4840c9
xor eax, eax
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
neg ecx
neg eax
push ecx
push eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
neg ecx
neg eax
push ecx
push eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push 1
push eax
push dword [esp + 0x14]
mov dword [esp + 0x20], eax
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_CombineRgn]
push dword [esp + 0x14]
call ebx
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_GetRgnBox]
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [esi + 0xa74]
mov ecx, dword [edi]
mov edx, dword [edi + 0xc]
sub edx, dword [edi + 4]
push eax
push ecx
push edx
mov edx, dword [edi + 8]
sub edx, ecx
push edx
push eax
push ecx
push dword [esp + 0x20]
mov eax, esi
call fcn.00483741
cmp dword [esi + 0x134], 0
je 0x48419a
mov eax, dword [esi + 0x124]
jmp 0x4841a0
mov eax, dword [esi + 0x120]
push eax
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x40028
push edi
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x1c]
push dword [eax - 0xc]
push eax
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [esp + 0x14]
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esi + 0x14]
mov edi, dword [eax + 4]
mov eax, dword [eax + 8]
add eax, dword [esi + 8]
add edi, dword [esi + 4]
push eax
push edi
push dword [esp + 0x14]
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_OffsetRgn]
push dword [esp + 0xc]
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
push 0xcc0020
push eax
push ecx
push dword [esp + 0x14]
sub edx, eax
push edx
mov edx, dword [esp + 0x4c]
sub edx, ecx
push edx
mov edx, dword [esp + 0x2c]
add eax, edx
push eax
add ecx, edi
push ecx
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 8]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esp + 0x18]
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x1c]
call ebx
push dword [esp + 0xc]
call ebx
push dword [esp + 0x10]
mov eax, dword [esi + 0x14]
push dword [eax + 0x14]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret