Function at 0x4102a9
Capabilities:
Capture screenshot

Disassembly:
mov eax, 0x43df2c
call fcn.0041dba4
sub esp, 0x6c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x10], esi
call fcn.00433cd8
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 4], ebx
jne 0x4102d6
xor eax, eax
jmp 0x4102d9
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x48]
call fcn.00433d8f
cmp dword [esi + 0xe0], ebx
jne 0x410353
lea eax, [esi + 0xb8]
cmp eax, ebx
jne 0x4102ff
xor eax, eax
jmp 0x410302
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x44]
call fcn.00433ed0
mov esi, eax
mov eax, dword [ebp + 0xc]
push 0xcc0020
push ebx
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
sub ecx, dword [eax + 4]
sub edx, dword [eax]
lea eax, [ebp - 0x48]
push ebx
neg eax
sbb eax, eax
and eax, dword [ebp - 0x44]
push eax
push ecx
push edx
push ebx
push ebx
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp esi, ebx
jne 0x410342
xor esi, esi
jmp 0x410345
mov esi, dword [esi + 4]
push esi
push dword [ebp - 0x44]
call fcn.00433ed0
jmp 0x4107c4
lea ecx, [ebp - 0x38]
call fcn.00410171
mov dword [ebp - 0x38], 0x4022f4
mov esi, dword [ebp + 0x10]
mov byte [ebp - 4], 1
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
sub eax, dword [esi + 4]
sub ecx, dword [esi]
push eax
push ecx
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [ebp - 0x38]
call fcn.004347e8
lea eax, [ebp - 0x38]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x34]
push eax
push dword [ebp - 0x44]
call fcn.00433ed0
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x20], eax
call fcn.00433cd8
cmp edi, ebx
mov byte [ebp - 4], 2
jne 0x4103b2
xor edi, edi
jmp 0x4103b5
mov edi, dword [edi + 4]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x68]
call fcn.00433d8f
mov eax, dword [ebp - 0x10]
add eax, 0xb8
cmp eax, ebx
jne 0x4103d5
xor eax, eax
jmp 0x4103d8
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x64]
call fcn.00433ed0
mov edx, dword [esi + 8]
mov edi, dword [esi + 4]
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
sub ecx, edi
sub edx, eax
lea eax, [ebp - 0x68]
neg eax
push 0xcc0020
push edi
push dword [esi]
mov edi, dword [sym.imp.GDI32.dll_BitBlt]
sbb eax, eax
and eax, dword [ebp - 0x64]
push eax
push ecx
push edx
push ebx
push ebx
push dword [ebp - 0x44]
call edi
lea ecx, [ebp - 0x78]
call fcn.00433cd8
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 3
cmp eax, ebx
jne 0x41042c
xor eax, eax
jmp 0x41042f
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x78]
call fcn.00433d8f
lea ecx, [ebp - 0x30]
call fcn.00410171
mov dword [ebp - 0x30], 0x4022f4
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
sub eax, dword [esi + 4]
sub ecx, dword [esi]
push ebx
push 1
push 1
push eax
push ecx
mov byte [ebp - 4], 4
call dword [sym.imp.GDI32.dll_CreateBitmap]
push eax
lea ecx, [ebp - 0x30]
call fcn.004347e8
lea eax, [ebp - 0x30]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x74]
call fcn.00433ed0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xf4], ebx
je 0x41049b
mov eax, 0xc0c0c0
jmp 0x41049e
mov eax, dword [eax + 0x3c]
push eax
lea ecx, [ebp - 0x48]
call fcn.00433f8b
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
sub ecx, dword [esi + 4]
sub edx, dword [esi]
lea eax, [ebp - 0x48]
push 0xcc0020
neg eax
sbb eax, eax
push ebx
and eax, dword [ebp - 0x44]
push ebx
push eax
push ecx
push edx
push ebx
push ebx
push dword [ebp - 0x74]
call edi
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jne 0x4104d8
xor eax, eax
jmp 0x4104db
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x64]
call fcn.00433ed0
mov eax, dword [ebp - 0x10]
add eax, 0xdc
cmp eax, ebx
jne 0x4104f4
xor eax, eax
jmp 0x4104f7
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x64]
call fcn.00433ed0
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x14], eax
call fcn.00433cd8
lea ecx, [ebp - 0x28]
call fcn.00410171
mov dword [ebp - 0x28], 0x4022f4
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 6
cmp eax, ebx
jne 0x410529
xor eax, eax
jmp 0x41052c
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [ebp - 0x58]
call fcn.00433d8f
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
sub eax, dword [edi + 4]
sub ecx, dword [edi]
push eax
mov eax, dword [ebp + 8]
push ecx
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [ebp - 0x28]
call fcn.004347e8
lea eax, [ebp - 0x28]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x24]
push eax
push dword [ebp - 0x54]
call fcn.00433ed0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
push 0x26
push dword [eax + 8]
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
test ah, 1
je 0x4105c2
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0xd8], ebx
je 0x4105c2
mov ecx, dword [ebp + 8]
add eax, 0xd4
push ebx
push eax
call fcn.00433f69
mov eax, dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_RealizePalette]
mov eax, dword [ebp - 0x10]
push ebx
add eax, 0xd4
lea ecx, [ebp - 0x58]
push eax
call fcn.00433f69
xor eax, eax
cmp dword [edi + 8], ebx
mov dword [ebp + 0x10], eax
jle 0x410631
cmp dword [edi + 0xc], ebx
mov dword [ebp + 0xc], ebx
jle 0x410620
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xe8]
mov eax, dword [ebp - 0x10]
push 0xcc0020
push ebx
push ebx
mov edx, dword [eax + 0xe4]
lea eax, [ebp - 0x68]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x64]
push eax
push ecx
push edx
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp - 0x54]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xe8]
add dword [ebp + 0xc], ecx
mov eax, dword [ebp + 0xc]
cmp eax, dword [edi + 0xc]
jl 0x4105dd
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
add eax, dword [ecx + 0xe4]
cmp eax, dword [edi + 8]
mov dword [ebp + 0x10], eax
jl 0x4105cc
push ebx
lea ecx, [ebp - 0x48]
call fcn.00433f8b
push 0xffffff
lea ecx, [ebp - 0x48]
call fcn.00433fe8
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
sub ecx, dword [esi + 4]
sub edx, dword [esi]
lea eax, [ebp - 0x78]
push 0x8800c6
neg eax
sbb eax, eax
push ebx
and eax, dword [ebp - 0x74]
push ebx
push eax
push ecx
push edx
push ebx
push ebx
push dword [ebp - 0x44]
call dword [sym.imp.GDI32.dll_BitBlt]
push 0xffffff
lea ecx, [ebp - 0x58]
call fcn.00433f8b
push ebx
lea ecx, [ebp - 0x58]
call fcn.00433fe8
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
sub ecx, eax
mov eax, dword [esi]
push 0x8800c6
sub edx, eax
lea eax, [ebp - 0x78]
neg eax
sbb eax, eax
push ebx
and eax, dword [ebp - 0x74]
push ebx
push eax
push ecx
push edx
push dword [esi + 4]
push dword [esi]
push dword [ebp - 0x54]
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi]
mov esi, dword [esi + 8]
mov dword [ebp + 0xc], eax
sub esi, eax
lea eax, [ebp - 0x48]
sub ecx, edx
neg eax
sbb eax, eax
push 0xee0086
and eax, dword [ebp - 0x44]
push ebx
push ebx
push eax
push ecx
push esi
mov esi, dword [sym.imp.GDI32.dll_BitBlt]
push edx
push dword [ebp + 0xc]
push dword [ebp - 0x54]
call esi
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
sub ecx, dword [edi + 4]
sub edx, dword [edi]
lea eax, [ebp - 0x58]
push 0xcc0020
neg eax
sbb eax, eax
and eax, dword [ebp - 0x54]
push ebx
push ebx
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push ebx
push ebx
push dword [eax + 4]
call esi
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jne 0x410721
xor eax, eax
jmp 0x410724
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x54]
call fcn.00433ed0
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x410738
xor eax, eax
jmp 0x41073b
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x74]
call fcn.00433ed0
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jne 0x41074f
xor eax, eax
jmp 0x410752
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x64]
call fcn.00433ed0
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x410765
mov ebx, dword [eax + 4]
push ebx
push dword [ebp - 0x44]
call fcn.00433ed0
mov esi, 0x403c5c
mov dword [ebp - 0x28], esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.0043483f
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.00433e0d
mov dword [ebp - 0x30], esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
call fcn.0043483f
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
call fcn.00433e0d
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.00433e0d
mov dword [ebp - 0x38], esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
call fcn.0043483f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00433e0d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc