Function at 0x100052d0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100af338
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
mov eax, dword [0x100e18d0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x10], ebx
cmp esi, ebx
jne 0x10005325
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.1005d8b3
mov dword [ebp + 8], eax
mov dword [esp + 0x10], 1
mov esi, eax
lea ecx, [esp + 0x3c]
call fcn.1005d2c3
mov dword [esp + 0x58], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], vtable.CBitmap.0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x58], 1
mov edx, dword [edi + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp esi, ebx
jne 0x1000535a
xor eax, eax
jmp 0x1000535d
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
call ebx
push eax
lea ecx, [esp + 0x40]
call fcn.1005d8c7
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esi + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x28]
call fcn.1005db99
mov eax, dword [esp + 0x28]
test eax, eax
je 0x100053aa
mov ecx, dword [esp + 0x40]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp byte [edi + 0x9c], 0
jne 0x10005462
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], vtable.CBitmap.0
mov byte [esp + 0x58], 2
mov eax, dword [esi + 4]
push eax
call ebx
push eax
lea ecx, [edi + 0xa0]
call fcn.1005d8c7
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x2c]
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x18]
call fcn.1005db99
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0xa4]
push eax
push ecx
call fcn.1005dc28
mov eax, dword [esp + 0x38]
mov edx, dword [esi + 4]
sub eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x2c]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [edi + 0xa4]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov byte [esp + 0x58], 1
lea ecx, [esp + 0x14]
mov byte [edi + 0x9c], 1
mov dword [esp + 0x14], vtable.CBitmap.0
call fcn.10002760
cmp byte [edi + 0xb0], 0
je 0x100054a5
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
sub ecx, dword [esp + 0x2c]
lea edx, [edi + 0xa0]
test edx, edx
je 0x10005488
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
mov eax, dword [esp + 0x54]
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x100054de
mov ecx, dword [edi + 0xf0]
push ecx
lea ecx, [esp + 0x18]
call fcn.1005dd7b
test eax, eax
je 0x100054bc
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x30]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.CBrush.0
call fcn.10002760
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
add ecx, dword [edi + 0x58]
mov edx, dword [esp + 0x34]
sub edx, dword [edi + 0x5c]
mov dword [esp + 0x20], ebx
mov ebx, dword [edi + 0x54]
add ebx, eax
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x60]
sub dword [esp + 0x20], eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [esp + 0x24], ebx
lea ebx, [esp + 0x4c]
mov ecx, edi
call fcn.10004cd0
cmp dword [edi + 0x68], 0
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
je 0x10005599
cmp dword [edi + 0x70], 0
je 0x10005599
mov edx, dword [edi + 0x20]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [edi + 0x70], 0
je 0x10005591
mov ecx, dword [edi + 0x7c]
mov eax, dword [edi + 0x78]
mov edx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x24]
lea esi, [edi + 0x6c]
push eax
push ecx
push eax
mov al, byte [edi + 0x64]
push 0
push 0
push edx
call fcn.10006ee0
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x40]
sub eax, dword [esp + 0x30]
sub ecx, dword [esp + 0x2c]
mov edx, dword [esi + 4]
push 0xcc0020
push 0
push 0
push ebx
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [esp + 0x10], 0
je 0x100055d4
mov esi, dword [esi + 4]
mov eax, dword [edi + 0x20]
push esi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov byte [esp + 0x58], 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.CBitmap.0
call fcn.10002760
lea ecx, [esp + 0x3c]
mov dword [esp + 0x58], 0xffffffff
call fcn.1005d946
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4