Function at 0x4df930
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58cd63
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x678
push ebx
push esi
push edi
mov dword [ebp - 0x20], ecx
lea eax, [ebp - 0x684]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x484]
push eax
lea edx, [ebp - 0x284]
push ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x7c]
push edx
xor ebx, ebx
push eax
push ecx
mov dword [ebp - 4], ebx
call fcn.0054fba9
add esp, 0x14
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x34], bx
mov edx, 0x615f14
mov byte [ebp - 4], 1
test edx, edx
je 0x4dfa8a
lea eax, [ebp - 0x7c]
test eax, eax
je 0x4dfa8a
lea ecx, [ebp - 0x284]
test ecx, ecx
je 0x4dfa8a
push edx
lea ecx, [ebp - 0x44]
call fcn.00403500
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x5c]
push edx
mov byte [ebp - 4], 2
call fcn.004034d0
lea eax, [ebp - 0x284]
lea ecx, [ebp - 0x68]
push eax
mov byte [ebp - 4], 3
call fcn.004034d0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.00401070
mov edi, dword [ebp - 0x5c]
cmp edi, ebx
jne 0x4df9f7
lea edi, [ebp - 0x58]
mov esi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x68]
call fcn.00403580
push eax
call fcn.0054e46e
mov edx, eax
push edi
mov dword [ebp - 0x18], edx
call fcn.0054e46e
mov ecx, dword [ebp - 0x18]
add esi, ecx
add eax, esi
lea edx, [eax + eax + 2]
push edx
call fcn.0056649c
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x38], eax
je 0x4dfa66
lea ecx, [ebp - 0x68]
call fcn.00403580
lea ecx, [ebp - 0x5c]
mov edi, eax
call fcn.00403580
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.00403580
push edi
push esi
push eax
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.0054e46e
add esp, 0x14
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.00401070
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00401070
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x28], bx
mov edx, 0x615f14
mov byte [ebp - 4], 5
test edx, edx
je 0x4dfb99
lea eax, [ebp - 0x484]
test eax, eax
je 0x4dfb99
lea ecx, [ebp - 0x684]
test ecx, ecx
je 0x4dfb99
push edx
lea ecx, [ebp - 0x68]
call fcn.00403500
lea edx, [ebp - 0x484]
lea ecx, [ebp - 0x5c]
push edx
mov byte [ebp - 4], 6
call fcn.004034d0
lea eax, [ebp - 0x684]
mov bl, 7
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.004034d0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.00401070
mov edi, dword [ebp - 0x5c]
test edi, edi
jne 0x4dfb07
lea edi, [ebp - 0x58]
mov esi, dword [ebp - 0x60]
lea ecx, [ebp - 0x44]
call fcn.00403580
push eax
call fcn.0054e46e
mov edx, eax
push edi
mov dword [ebp - 0x18], edx
call fcn.0054e46e
mov ecx, dword [ebp - 0x18]
add esi, ecx
add eax, esi
lea edx, [eax + eax + 2]
push edx
call fcn.0056649c
add esp, 0xc
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x4dfb76
lea ecx, [ebp - 0x44]
call fcn.00403580
lea ecx, [ebp - 0x5c]
mov edi, eax
call fcn.00403580
lea ecx, [ebp - 0x68]
mov esi, eax
call fcn.00403580
push edi
push esi
push eax
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0054e46e
add esp, 0x14
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 6
call fcn.00401070
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.00401070
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x4dfba3
lea eax, [ebp - 0x34]
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
call esi
mov edi, eax
mov dword [ebp - 0x84], edi
mov eax, dword [ebp - 0x2c]
xor ebx, ebx
cmp eax, ebx
jne 0x4dfbc0
lea eax, [ebp - 0x28]
push eax
call esi
mov esi, eax
mov dword [ebp - 0x80], esi
lea edx, [ebp + 0xc]
mov byte [ebp - 4], 0xa
push edx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp + 0xc], ebx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jl 0x4dfc2d
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
push ebx
push ecx
mov edx, dword [eax]
push ebx
push edi
push ebx
push ebx
push eax
call dword [edx + 0xc]
cmp eax, ebx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
jl 0x4dfc29
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x50]
push 0x5e6850
push ebx
push ecx
push eax
call dword [edx + 0x14]
cmp eax, ebx
jge 0x4dfc3c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x4dfc71
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4dfc71
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x4c]
push ebx
push ecx
mov edx, dword [eax]
push ebx
push esi
push ebx
push ebx
push eax
call dword [edx + 0xc]
cmp eax, ebx
jge 0x4dfcaa
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x4dfc71
mov edx, dword [eax]
push eax
call dword [edx + 8]
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push edi
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00401070
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x20]
push ebx
push esi
mov edi, eax
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004dfea0
test eax, eax
mov dword [ebp + 0x14], eax
jne 0x4dfce2
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.004e0050
mov dword [ebp + 0x14], eax
jmp 0x4dfe0e
mov eax, dword [ebp + 0x14]
lea edx, [ebp - 0x74]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x4dfe0e
mov ecx, dword [ebp - 0x70]
mov eax, dword [esi]
cmp ecx, eax
jl 0x4dfd11
mov edx, dword [ebp - 0x6c]
mov eax, dword [esi + 4]
cmp edx, eax
jge 0x4dfe0e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
push edx
push ebx
mov edi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [ebp - 0x20], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esi + 4]
mov dword [ebp + 0x10], eax
mov eax, dword [esi]
xor ebx, ebx
push 5
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
lea eax, [ebp - 0x48]
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp + 0x14]
mov ebx, eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 0x6c]
mov dword [ebp + 8], eax
mov eax, dword [esi + 4]
push 0xcc0020
push 0
mov ecx, dword [ebp - 0x70]
push 0
push ebx
sub eax, edx
push edx
cdq
sub eax, edx
push ecx
sar eax, 1
push eax
mov eax, dword [esi]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
push eax
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi]
mov esi, dword [esi + 4]
xor ecx, ecx
push 0x10
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], esi
call dword [sym.imp.USER32.dll_GetSysColorBrush]
lea edx, [ebp - 0x48]
push eax
push edx
push edi
call dword [sym.imp.USER32.dll_FrameRect]
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ebx
call esi
push ebx
mov ebx, dword [sym.imp.GDI32.dll_DeleteDC]
call ebx
mov ecx, dword [ebp + 0x10]
push ecx
push edi
call esi
push edi
call ebx
mov edx, dword [ebp - 0x18]
push edx
call ebx
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0x20]
mov dword [ebp + 0x14], ecx
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4dfe4f
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x4dfe38
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x4dfe49
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x80]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edx
call esi
mov eax, dword [ebp - 0x84]
push eax
call esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00401070
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10