Function at 0x1075375
Capabilities:
Capture screenshot

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
xor edi, edi
push edi
xor ebx, ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
cmp esi, edi
mov dword [ebp - 0x20], esi
je 0x1075736
movzx eax, word [ebp + 8]
push 0x2000
push edi
push edi
push edi
push eax
push dword [0x1112f44]
call dword [sym.imp.USER32.dll_LoadImageA]
cmp eax, edi
mov dword [ebp - 0x2c], eax
je 0x107572c
push dword [ebp + 0x48]
push dword [ebp + 0x44]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
cmp eax, edi
mov dword [ebp - 0x28], eax
je 0x1075723
push esi
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
call esi
cmp eax, edi
mov dword [ebp + 0x44], eax
je 0x107571a
push dword [ebp - 0x20]
call esi
cmp eax, edi
mov dword [ebp + 0x48], eax
je 0x1075711
push dword [ebp - 0x2c]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 0x44]
call esi
push dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
push dword [ebp + 0x48]
call esi
cmp dword [ebp + 0x30], 1
mov dword [ebp - 0x34], eax
jne 0x10755c1
mov eax, dword [ebp + 0x40]
sub eax, dword [ebp + 0x38]
mov ebx, dword [ebp + 0x34]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x3c]
sub eax, ebx
mov dword [ebp - 0x24], ebx
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
mov edi, dword [sym.imp.GDI32.dll_BitBlt]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x30], 5
mov esi, 0xcc0020
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x24]
add ecx, eax
cmp ecx, eax
mov dword [ebp - 0x14], ecx
jge 0x10754d3
mov eax, dword [ebp - 4]
push esi
push 0
add eax, ebx
push eax
push dword [ebp + 0x44]
push dword [ebp + 0x38]
push ebx
push 0
push dword [ebp - 0x14]
push dword [ebp + 0x48]
call edi
mov eax, dword [ebp + 0x38]
jmp 0x10754a2
push dword [ebp + 0x38]
mov eax, dword [ebp - 4]
add eax, ebx
push eax
push dword [ebp + 0x44]
push dword [ebp + 0x38]
push ebx
push dword [ebp - 8]
push dword [ebp - 0x14]
push dword [ebp + 0x48]
call edi
mov eax, dword [ebp - 8]
add eax, dword [ebp + 0x38]
cmp eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push esi
jl 0x1075481
mov ecx, dword [ebp + 0x38]
lea eax, [ecx + ecx]
push eax
mov eax, dword [ebp - 4]
add eax, ebx
push eax
push dword [ebp + 0x44]
push ecx
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0x14]
push dword [ebp + 0x48]
call edi
add dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x18]
jl 0x1075462
mov eax, dword [ebp + 0x38]
cmp eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
jge 0x107552d
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
add eax, ecx
mov dword [ebp - 0x14], eax
push esi
push dword [ebp + 0x38]
push dword [ebp - 4]
push dword [ebp + 0x44]
push dword [ebp + 0x38]
push ebx
push dword [ebp - 8]
push dword [ebp - 0x10]
push dword [ebp + 0x48]
call edi
mov eax, dword [ebp - 4]
push esi
push dword [ebp + 0x38]
lea eax, [eax + ebx*2]
push eax
push dword [ebp + 0x44]
push dword [ebp + 0x38]
push ebx
push dword [ebp - 8]
push dword [ebp - 0x14]
push dword [ebp + 0x48]
call edi
mov eax, dword [ebp - 8]
add eax, dword [ebp + 0x38]
cmp eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
jl 0x10754e9
push esi
push 0
push dword [ebp - 4]
push dword [ebp + 0x44]
push dword [ebp + 0x38]
push ebx
push 0
push dword [ebp - 0x10]
push dword [ebp + 0x48]
call edi
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
push esi
push 0
lea eax, [eax + ebx*2]
push eax
push dword [ebp + 0x44]
add ecx, edx
push dword [ebp + 0x38]
mov dword [ebp - 0x14], ecx
push ebx
push 0
push ecx
push dword [ebp + 0x48]
call edi
mov eax, dword [ebp + 0x38]
push esi
add eax, eax
push eax
push dword [ebp - 4]
push dword [ebp + 0x44]
push dword [ebp + 0x38]
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp + 0x48]
call edi
mov eax, dword [ebp + 0x38]
push esi
add eax, eax
push eax
mov eax, dword [ebp - 4]
lea eax, [eax + ebx*2]
push eax
push dword [ebp + 0x44]
push dword [ebp + 0x38]
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0x14]
push dword [ebp + 0x48]
call edi
mov eax, dword [ebp + 0x3c]
add dword [ebp - 0x10], eax
add dword [ebp - 0x18], eax
lea eax, [ebx + ebx*2]
add dword [ebp - 4], eax
dec dword [ebp - 0x30]
jne 0x1075453
jmp 0x1075675
cmp dword [ebp + 0x30], 2
jne 0x1075677
mov ebx, dword [ebp + 0x34]
mov eax, dword [ebp + 0x3c]
sub eax, ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov edi, dword [sym.imp.GDI32.dll_BitBlt]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x30], 5
mov esi, 0xcc0020
push esi
push 0
push dword [ebp - 0x10]
push dword [ebp + 0x44]
push dword [ebp + 0x38]
push ebx
push 0
push dword [ebp - 0x14]
push dword [ebp + 0x48]
call edi
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
lea edx, [eax + ebx]
add ecx, eax
cmp edx, ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x24], ecx
jge 0x1075642
mov eax, dword [ebp - 0x10]
push esi
push 0
add eax, ebx
push eax
push dword [ebp + 0x44]
push dword [ebp + 0x38]
push ebx
push 0
push dword [ebp - 0x18]
push dword [ebp + 0x48]
call edi
add dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x24]
jl 0x107561a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push esi
push 0
lea ecx, [ecx + ebx*2]
push ecx
push dword [ebp + 0x44]
sub eax, ebx
push dword [ebp + 0x38]
add eax, dword [ebp + 0x3c]
push ebx
push 0
push eax
push dword [ebp + 0x48]
call edi
mov eax, dword [ebp + 0x3c]
add dword [ebp - 0x14], eax
lea eax, [ebx + ebx*2]
add dword [ebp - 0x10], eax
dec dword [ebp - 0x30]
jne 0x10755ee
xor edi, edi
push dword [ebp - 0x34]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 0x48]
call esi
push dword [ebp - 0x38]
push dword [ebp + 0x44]
call esi
push dword [ebp + 0x48]
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp + 0x20], edi
je 0x10756c7
push dword [ebp + 0x24]
call fcn.0107689c
push edi
push 1
push dword [ebp + 0x28]
mov esi, eax
call fcn.0107689c
push eax
push esi
push dword [ebp + 0x40]
push dword [ebp + 0x3c]
push dword [ebp - 0x2c]
push dword [ebp - 0x20]
call fcn.01067ed9
mov ebx, eax
jmp 0x1075711
push 0xc
push dword [ebp - 0x20]
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push edi
push edi
push 8
pop ecx
cmp ecx, eax
sbb eax, eax
and eax, 0x10
or eax, 1
push eax
push dword [ebp + 0x40]
push dword [ebp + 0x3c]
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov ebx, eax
cmp ebx, edi
je 0x1075711
push 0xff00ff
push dword [ebp - 0x28]
push ebx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
cmp eax, 0xffffffff
jne 0x1075711
push ebx
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
xor ebx, ebx
push dword [ebp + 0x44]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x28]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x20]
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x44