Function at 0x4ddf70
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x484
push ebx
push esi
push edi
mov ebx, ecx
call fcn.004ddeb0
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0xe
push eax
mov dword [esp + 0x1c], eax
call esi
mov edi, eax
mov eax, dword [esp + 0x14]
push 0xc
push eax
call esi
imul edi, eax
mov eax, dword [0x603124]
cmp eax, 9
je 0x4ddfc9
push eax
call fcn.00402070
movsx ecx, al
add esp, 4
cmp ecx, edi
je 0x4de0dc
lea eax, [edi - 1]
cmp eax, 0x17
ja case.0x4ddfdc.3
movzx edx, byte [eax + 0x4de320]
jmp dword [edx*4 + 0x4de304]
mov dword [0x603124], 0
jmp 0x4de0dc
mov dword [0x603124], 1
jmp 0x4de0dc
mov dword [0x603124], 2
jmp 0x4de0dc
mov dword [0x603124], 3
jmp 0x4de0dc
xor eax, eax
mov ecx, 0x1b
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
push eax
mov dword [esp + 0x1c], 0x6c
call dword [sym.imp.USER32.dll_GetDC]
push 1
mov edi, eax
push 1
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push 0
mov esi, eax
lea eax, [esp + 0x1c]
push eax
push 0
push 1
push 0
push esi
push edi
call dword [sym.imp.GDI32.dll_GetDIBits]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
push 1
push 0
push esi
push edi
call dword [sym.imp.GDI32.dll_GetDIBits]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp word [esp + 0x26], 0x10
jne 0x4de0ba
cmp dword [esp + 0x28], 3
jne 0x4de0ba
cmp dword [esp + 0x40], 0xf800
jne 0x4de0ba
cmp dword [esp + 0x44], 0x7e0
jne 0x4de0ba
cmp dword [esp + 0x48], 0x1f
jne 0x4de0ba
mov dword [0x603124], 5
jmp 0x4de0dc
mov dword [0x603124], 4
jmp 0x4de0dc
mov dword [0x603124], 6
jmp 0x4de0dc
mov dword [0x603124], 7
mov edx, dword [0x603124]
mov eax, edx
push eax
mov dword [ebx + 4], edx
mov dword [ebx + 0x10], 1
call fcn.00402070
add esp, 4
cmp al, 8
jg 0x4de1dc
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x18]
push eax
call fcn.004020f0
add esp, 4
test eax, eax
mov dword [esp + 0x10], eax
je 0x4de151
mov edx, dword [ebx + 0xc]
mov ecx, dword [edx + 0xd58]
call fcn.004f40f0
mov ecx, 0x101
mov esi, 0x6361b0
lea edi, [esp + 0x88]
push 0
lea eax, [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
push eax
call fcn.00402510
test eax, eax
mov dword [ebx + 8], eax
jne 0x4de15c
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [eax + 4]
lea eax, [eax*4 + 0x28]
push eax
call fcn.0043f080
mov ecx, dword [ebx + 8]
mov dword [ebx + 0x18], eax
mov edx, dword [ecx + 4]
add esp, 4
xor eax, eax
test edx, edx
jle 0x4de1e9
mov edi, 0x28
lea edx, [esp + 0x8d]
sub edi, edx
lea esp, [esp]
mov dl, byte [esp + eax*4 + 0x8e]
mov ecx, dword [ebx + 0x18]
mov byte [ecx + eax*4 + 0x2a], dl
mov ecx, dword [ebx + 0x18]
mov dl, byte [esp + eax*4 + 0x8d]
lea esi, [esp + eax*4 + 0x8d]
mov byte [ecx + eax*4 + 0x29], dl
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x10], eax
mov al, byte [esi - 1]
lea ecx, [edi + esi]
mov byte [ecx + edx], al
mov ecx, dword [ebx + 0x18]
mov eax, dword [esp + 0x10]
mov byte [ecx + eax*4 + 0x2b], 0
mov edx, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
cmp eax, ecx
jl 0x4de190
jmp 0x4de1e9
push 0x34
call fcn.0043f080
add esp, 4
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x18]
mov edx, dword [ebp + 8]
mov dword [eax], 0x28
mov ecx, dword [ebx + 0x18]
mov dword [ecx + 4], edx
mov eax, dword [ebx + 0x10]
xor edi, edi
cmp eax, edi
mov eax, dword [ebp + 0xc]
jne 0x4de209
neg eax
mov ecx, dword [ebx + 0x18]
mov dword [ecx + 8], eax
mov edx, dword [ebx + 0x18]
mov word [edx + 0xc], 1
mov eax, dword [ebx + 4]
push eax
call fcn.00402070
mov edx, dword [ebx + 0x18]
movsx cx, al
mov word [edx + 0xe], cx
mov eax, dword [ebx + 0x18]
mov dword [eax + 0x10], edi
mov ecx, dword [ebx + 0x18]
mov dword [ecx + 0x14], edi
mov edx, dword [ebx + 0x18]
mov dword [edx + 0x18], edi
mov eax, dword [ebx + 0x18]
mov dword [eax + 0x1c], edi
mov eax, dword [ebx + 8]
add esp, 4
cmp eax, edi
je 0x4de253
mov eax, dword [eax + 4]
jmp 0x4de255
xor eax, eax
mov ecx, dword [ebx + 0x18]
mov dword [ecx + 0x20], eax
mov eax, dword [ebx + 8]
cmp eax, edi
je 0x4de267
mov eax, dword [eax + 4]
jmp 0x4de269
xor eax, eax
mov edx, dword [ebx + 0x18]
mov dword [edx + 0x24], eax
cmp dword [ebx + 4], 5
jne 0x4de299
mov eax, dword [ebx + 0x18]
mov dword [eax + 0x10], 3
mov eax, dword [ebx + 0x18]
add eax, 0x28
mov dword [eax], 0xf800
mov dword [eax + 4], 0x7e0
mov dword [eax + 8], 0x1f
mov ecx, dword [ebx + 0x18]
push edi
push edi
lea esi, [ebx + 0x1c]
push esi
push edi
mov edi, dword [esp + 0x24]
push ecx
push edi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
test eax, eax
mov dword [ebx + 0x14], eax
jne 0x4de2b8
mov dword [esi], eax
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0x14]
lea edx, [ebx + 0x20]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
jne 0x4de2da
mov ecx, ebx
call fcn.004ddeb0
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x14]
add eax, 3
cdq
and edx, 3
add eax, edx
sar eax, 2
shl eax, 2
mov dword [ebx + 0x3c], eax
pop edi
xor eax, eax
test ecx, ecx
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret 8