Function at 0x4a6900
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x5734f8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d72e0]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call fcn.00513637
mov ebp, eax
mov ecx, dword [ebp + 0x20]
push ecx
mov dword [esp + 0x18], ebp
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
call fcn.00517e47
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x4a6d23
mov eax, dword [ebp + 0x20]
lea edx, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x44]
mov edx, dword [esi + 0x100]
xor ecx, ecx
cmp dword [esi + 0x144], ebx
push edx
sete cl
sub eax, dword [esp + 0x40]
push eax
push ebx
push ebx
mov ebp, ecx
mov ecx, edi
call fcn.005177d7
mov ecx, dword [esp + 0x48]
sub ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
sub edx, dword [esp + 0x3c]
push ebx
push ebp
push ecx
push edx
push ebx
push ebx
push edi
mov ecx, esi
call fcn.004a49e0
push ebx
mov ecx, edi
call fcn.00517b1e
lea ecx, [esp + 0x4c]
call fcn.00517947
lea ecx, [esp + 0x34]
mov dword [esp + 0x64], ebx
call fcn.004a3380
mov eax, dword [edi + 4]
push eax
mov byte [esp + 0x68], 1
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x50]
call fcn.00517e55
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x3c]
push eax
mov eax, dword [edi + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x38]
call fcn.0051811c
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x50]
push ecx
push edx
call fcn.005181a1
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x104]
sub ecx, eax
sub ecx, dword [esp + 0x3c]
push ebx
sub ecx, dword [esi + 0x108]
lea edx, [esp + 0x50]
add ecx, 1
push ecx
push ebx
push eax
push edx
mov ecx, esi
call fcn.004a4360
push ebx
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
lea ecx, [esp + 0x50]
push eax
push ebx
push ebx
push ecx
mov ecx, esi
call fcn.004a46a0
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
sub edx, dword [esp + 0x40]
sub eax, dword [esp + 0x3c]
push ebx
sub eax, dword [esi + 0x108]
push edx
push ebx
push eax
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
call fcn.004a4840
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], vtable.CRgn.0
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x3c]
mov ebp, dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
push ecx
push ebx
push ebx
mov byte [esp + 0x74], 2
call ebp
push eax
lea ecx, [esp + 0x20]
call fcn.0051811c
cmp dword [esi + 0x13c], ebx
je 0x4a6b4a
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], vtable.CRgn.0
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x3c]
push eax
push ecx
push eax
push ebx
mov byte [esp + 0x74], 3
call ebp
push eax
lea ecx, [esp + 0x30]
call fcn.0051811c
mov edx, dword [esi + 0x120]
push edx
lea ecx, [esp + 0x38]
call fcn.004a3430
push eax
call fcn.0051810e
cmp eax, ebx
jne 0x4a6b10
xor eax, eax
jmp 0x4a6b13
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x20]
push 3
push eax
mov eax, dword [esp + 0x38]
push eax
push ecx
call dword [sym.imp.GDI32.dll_CombineRgn]
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
call fcn.00517b1e
lea ecx, [esp + 0x2c]
mov byte [esp + 0x64], 2
mov dword [esp + 0x2c], vtable.CRgn.0
call fcn.004021e0
jmp 0x4a6b5a
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 4]
push ebx
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov eax, 0x14
cmp dword [esi + 0x54], eax
jne 0x4a6b6e
push 1
push ebx
lea edx, [esp + 0x54]
push edx
jmp 0x4a6b84
cmp dword [esi + 0x50], eax
jne 0x4a6b7d
push 2
push ebx
lea eax, [esp + 0x54]
push eax
jmp 0x4a6b84
push ebx
push ebx
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call fcn.004a4fb0
mov eax, 8
cmp dword [esi + 0x54], eax
jne 0x4a6ba0
push 1
push 2
lea edx, [esp + 0x54]
push edx
jmp 0x4a6bb8
cmp dword [esi + 0x50], eax
jne 0x4a6bb0
push 2
push 2
lea eax, [esp + 0x54]
push eax
jmp 0x4a6bb8
push ebx
push 2
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call fcn.004a4fb0
mov eax, 9
cmp dword [esi + 0x54], eax
jne 0x4a6bd4
push 1
push 1
lea edx, [esp + 0x54]
push edx
jmp 0x4a6bec
cmp dword [esi + 0x50], eax
jne 0x4a6be4
push 2
push 1
lea eax, [esp + 0x54]
push eax
jmp 0x4a6bec
push ebx
push 1
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
call fcn.004a4fb0
mov ebp, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call ebp
push 0x32
call ebp
mov edx, dword [esi + 0x14]
cmp dword [edx - 0xc], ebx
lea eax, [esi + 0x14]
jne 0x4a6c16
mov ecx, dword [esp + 0x14]
push eax
call fcn.00514835
cmp dword [esi + 0x144], ebx
mov edx, dword [esp + 0x4c]
je 0x4a6c2b
mov eax, dword [esi + 0x118]
push eax
jmp 0x4a6c32
mov ecx, dword [esi + 0x11c]
push ecx
mov eax, dword [edx + 0x30]
lea ecx, [esp + 0x50]
call eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], vtable.CFont.0
push ebx
push str.System
push 0x33
mov byte [esp + 0x70], 4
call ebp
push eax
lea ecx, [esp + 0x30]
call fcn.00522a45
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + 0x28]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x50]
call eax
push 1
lea ecx, [esp + 0x50]
call fcn.005176e0
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + 0x28]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x50]
call eax
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x44]
mov esi, dword [esi + 0x100]
sub eax, dword [esp + 0x3c]
mov edx, dword [edi + 4]
push 0xcc0020
push ebx
push ebx
push ecx
push esi
push eax
push ebx
push ebx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x4a6cc3
xor eax, eax
jmp 0x4a6cc6
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x54]
push eax
call fcn.005181a1
push ebx
mov ecx, edi
call fcn.00517b1e
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 2
mov dword [esp + 0x24], vtable.CFont.0
call fcn.004021e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 1
mov dword [esp + 0x1c], vtable.CRgn.0
call fcn.004021e0
lea ecx, [esp + 0x34]
mov byte [esp + 0x64], bl
call fcn.004a33a0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], 0xffffffff
call fcn.00517ecf
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 4