Function at 0x403210
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56484d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5c6fc4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x48], esi
mov eax, dword [ebp + 8]
lea edi, [esi + 0xf8]
mov ecx, dword [esi + 0xf4]
mov edx, 0x64
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0xcc]
sub eax, 2
mov dword [ebp - 0x2c], ecx
cmp eax, ecx
jg 0x403302
mov edx, dword [esi + 0xd0]
lea eax, [edx - 2]
cmp eax, dword [edi]
jg 0x4032fe
cmp dword [esi + 0xc8], 0
jne 0x4032fe
mov dword [esi + 0x124], 0
xor eax, eax
mov dword [esi + 0x128], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax + 4], 0
je 0x403600
cmp dword [esi + 0x100], 0
mov eax, dword [edi]
mov dword [esi + 0x118], 1
mov dword [ebp - 0x24], eax
je 0x4032c6
lea ecx, [esi + 0xfc]
call fcn.0041b6d6
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0041b850
mov edx, dword [ebp - 0x28]
lea ecx, [esi + 0xdc]
push ecx
lea ecx, [esi + 0xf4]
mov dword [ebp - 0x34], eax
push ecx
mov ecx, eax
call fcn.004082a0
mov eax, dword [ebp - 0x34]
add esp, 8
test eax, eax
jne 0x403336
xor ecx, ecx
jmp 0x403339
xor ecx, ecx
jmp 0x403310
add ecx, 0xfffffffe
cmp ecx, edx
cmovg ecx, edx
mov edx, dword [esi + 0xd0]
mov dword [esi + 0x124], ecx
lea eax, [edx - 2]
mov ecx, dword [edi]
cmp eax, ecx
jle 0x40328e
lea eax, [ecx - 2]
mov ecx, 0x64
cmp eax, 0x64
cmovg eax, ecx
jmp 0x403290
mov ecx, dword [eax + 4]
lea eax, [esi + 0xfc]
push ecx
mov dword [ebp - 0x30], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0xfc]
call fcn.0041b5a3
cmp dword [esi + 0x114], 0
je 0x403369
lea ecx, [esi + 0x110]
call fcn.0041b6ec
push dword [edi]
mov edi, dword [ebp - 0x34]
push dword [esi + 0xf4]
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esi + 0x110]
call fcn.0041b5e5
lea eax, [esi + 0x110]
test eax, eax
je 0x403396
mov eax, dword [eax + 4]
push eax
push dword [esi + 0x100]
call fcn.0041bc8e
lea ecx, [ebp - 0x44]
mov dword [esi + 0x10c], eax
call fcn.0041acbb
mov dword [ebp - 4], 0
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x44]
call fcn.0041b5a3
mov eax, dword [ebp - 0x28]
push dword [eax + 4]
push dword [ebp - 0x40]
call fcn.0041bc8e
push dword [esi + 0xdc]
mov edi, dword [ebp - 0x2c]
lea ecx, [esi + 0xfc]
push dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
push edi
push 0
push 0
call fcn.0041cdfb
mov ecx, dword [esi + 0x124]
test ecx, ecx
jle 0x403537
mov eax, dword [esi + 0x128]
test eax, eax
jle 0x4034d4
mov esi, dword [ebp - 0x24]
cmp ecx, eax
push 0xcc0020
push 0
push 0
push dword [ebp - 0x40]
cmovge ecx, eax
mov eax, dword [ebp - 0x48]
sub esi, ecx
mov dword [ebp - 0x28], ecx
push esi
sub edi, ecx
mov dword [ebp - 0x4c], esi
push edi
push 0
push 0
push dword [eax + 0x100]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x44]
push ecx
push dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x18], eax
sub esp, 0x10
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov eax, esp
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [eax], xmm0
call fcn.004088b0
add esp, 0x18
lea eax, [ebp - 0x20]
push esi
push dword [ebp - 0x2c]
mov esi, dword [sym.imp.USER32.dll_SetRect]
push 0
push edi
push eax
call esi
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x20]
sub esp, 8
lea edx, [ebp - 0x44]
push eax
push eax
call fcn.004087e0
add esp, 0x10
lea eax, [ebp - 0x20]
push dword [ebp - 0x24]
push edi
push dword [ebp - 0x4c]
push 0
push eax
call esi
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x20]
push 0x64
push 0
push eax
push eax
lea edx, [ebp - 0x44]
call fcn.00408680
mov esi, dword [ebp - 0x48]
add esp, 0x10
jmp 0x4035bd
jne 0x40359d
push 0xcc0020
push 0
push 0
push dword [ebp - 0x40]
mov eax, edi
push dword [ebp - 0x24]
sub eax, ecx
push eax
push 0
push 0
push dword [esi + 0x100]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, edi
mov dword [ebp - 0x1c], 0
sub eax, dword [esi + 0x124]
lea edx, [ebp - 0x44]
mov dword [ebp - 0x20], eax
lea ecx, [esi + 0xfc]
mov eax, dword [ebp - 0x24]
sub esp, 8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], edi
push eax
push eax
call fcn.004087e0
add esp, 0x10
jmp 0x4035bd
jne 0x40359d
mov ecx, dword [esi + 0x128]
test ecx, ecx
jle 0x40359d
mov eax, dword [ebp - 0x24]
push 0xcc0020
push 0
push 0
push dword [ebp - 0x40]
sub eax, ecx
push eax
push edi
push 0
push 0
push dword [esi + 0x100]
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebp - 0x24]
lea edx, [ebp - 0x44]
mov eax, ecx
mov dword [ebp - 0x14], ecx
sub eax, dword [esi + 0x128]
lea ecx, [esi + 0xfc]
push 0x64
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push 0
push eax
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], edi
call fcn.00408680
add esp, 0x10
jmp 0x4035bd
push 0xcc0020
push 0
push 0
push dword [ebp - 0x40]
push dword [ebp - 0x24]
push edi
push 0
push 0
push dword [esi + 0x100]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x4035c7
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x40]
call fcn.0041bc8e
lea ecx, [ebp - 0x44]
call fcn.0041b6d6
mov eax, dword [ebp - 0x34]
push dword [eax + 4]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x190]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0041ae1d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005478fb
mov esp, ebp
pop ebp
ret 4