Function at 0x4038df
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push 0x10
call fcn.00407256
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0x1c
call fcn.00407256
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
push 8
call fcn.00407256
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push ebx
push 0x2c
call fcn.00407256
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xb
rep stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
push 0x14
call fcn.00407256
add esp, 4
mov dword [ebp - 0x28], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
mov dword [ebp - 0x2c], 0
push dword [ebp + 8]
call fcn.004042e9
and eax, 1
xor eax, 1
test eax, eax
je 0x4039df
mov eax, 0x42231b
jmp 0x404274
push dword [ebp - 4]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowRect]
nop
nop
push 0
xor eax, eax
call dword [sym.imp.USER32.dll_GetDC]
nop
nop
mov dword [ebp - 8], eax
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
nop
nop
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x30]
fild dword [ebx]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
mov ebx, dword [ebp - 0x34]
fild dword [ebx]
fstp qword [ebp - 0x44]
fsub qword [ebp - 0x44]
fstp qword [ebp - 0x4c]
mov ebx, dword [ebp - 4]
add ebx, 0xc
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x50]
fild dword [ebx]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
mov ebx, dword [ebp - 0x54]
fild dword [ebx]
fstp qword [ebp - 0x64]
fsub qword [ebp - 0x64]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
call fcn.00401000
push eax
fld qword [ebp - 0x4c]
call fcn.00401000
push eax
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
nop
nop
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.GDI32.dll_SelectObject]
nop
nop
mov dword [ebp - 0x14], eax
push 0
push dword [ebp - 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_PrintWindow]
nop
nop
and eax, 1
xor eax, 1
test eax, eax
je 0x403b02
push dword [ebp - 0x14]
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.GDI32.dll_SelectObject]
nop
nop
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.GDI32.dll_DeleteObject]
nop
nop
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.GDI32.dll_DeleteDC]
nop
nop
push dword [ebp - 8]
push 0
xor eax, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
nop
nop
mov eax, 0x42231b
jmp 0x404274
mov eax, dword [ebp - 0x18]
push eax
push 0x18
call fcn.00407256
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov dword [edi], ebx
add edi, 4
add ebx, 4
push 0x18
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.GDI32.dll_GetObjectA]
nop
nop
push eax
mov ebx, dword [ebp - 0x30]
push ebx
mov edi, dword [ebp - 0x34]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
call fcn.00407250
add esp, 4
pop eax
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx]
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov dword [ebx], 0x2c
push 0
mov eax, dword [ebp - 0x1c]
push eax
push 0x2c
call fcn.00407256
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], eax
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push 0
push 0
push 0
push dword [ebp - 0x10]
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.GDI32.dll_GetDIBits]
nop
nop
push eax
mov ebx, dword [ebp - 0x30]
push ebx
mov edi, dword [ebp - 0x34]
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 0x28
pop edi
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.00407250
add esp, 4
pop eax
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x30], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x30]
push dword [ebx]
push 1
mov ebx, 0x1bc
call fcn.00408c50
add esp, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x403d6f
push ebx
call fcn.00407250
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov dword [ebx], 0
mov ebx, dword [ebp - 0x18]
add ebx, 8
mov dword [ebp - 0x30], ebx
push 0
mov eax, dword [ebp - 0x1c]
push eax
push 0x2c
call fcn.00407256
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], eax
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x403e3b
add eax, 8
push eax
mov ebx, dword [ebp - 0x30]
push dword [ebx]
push 0
push dword [ebp - 0x10]
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.GDI32.dll_GetDIBits]
nop
nop
push eax
mov ebx, dword [ebp - 0x34]
push ebx
mov edi, dword [ebp - 0x38]
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 0x28
pop edi
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.00407250
add esp, 4
pop eax
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx]
mov dword [ebp - 0x30], ebx
push 0x80000301
push 0
mov ebx, dword [ebp - 0x30]
push dword [ebx]
push 1
mov ebx, 0x1bc
call fcn.00408c50
add esp, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x403f2d
push ebx
call fcn.00407250
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx]
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
push dword [ebx]
mov eax, dword [ebp - 0x1c]
push eax
push 0x2c
call fcn.00407256
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], eax
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x403fe4
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
push eax
mov ebx, dword [ebp - 0x34]
push ebx
mov edi, dword [ebp - 0x38]
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 0x28
pop edi
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.00407250
add esp, 4
pop eax
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov word [ebx], 0x4d42
mov ebx, dword [ebp - 0x28]
add ebx, 0x10
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx]
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x34]
fild dword [ebx]
fstp qword [ebp - 0x3c]
fld qword [ebp - 0x3c]
fadd qword [0x442560]
fstp qword [ebp - 0x44]
fld qword [ebp - 0x44]
call fcn.00401000
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x28]
add ebx, 0x10
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x38], ebx
mov ebx, dword [ebp - 0x34]
fild dword [ebx]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
mov ebx, dword [ebp - 0x38]
fild dword [ebx]
fstp qword [ebp - 0x48]
fadd qword [ebp - 0x48]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
call fcn.00401000
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x28]
add ebx, 8
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov word [ebx], 0
mov ebx, dword [ebp - 0x28]
add ebx, 0xc
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov word [ebx], 0
push 0x80000301
push 0
push 0xe
push 1
mov ebx, 0x1bc
call fcn.00408c50
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x404163
push ebx
call fcn.00407250
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
push 0xe
mov eax, dword [ebp - 0x28]
push eax
push 0xe
call fcn.00407256
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4041c6
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
push eax
mov ebx, dword [ebp - 0x30]
push ebx
mov edi, dword [ebp - 0x34]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.00407250
add esp, 4
pop eax
push dword [ebp - 0x14]
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.GDI32.dll_SelectObject]
nop
nop
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.GDI32.dll_DeleteObject]
nop
nop
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.GDI32.dll_DeleteDC]
nop
nop
push dword [ebp - 8]
push 0
xor eax, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
nop
nop
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x2c]
mov ecx, 3
call fcn.00403888
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
jmp 0x404274
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.00407250
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.00407250
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00407250
add esp, 4
pop ebx
call fcn.00407250
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4042b6
push ebx
call fcn.00407250
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4042c6
push ebx
call fcn.00407250
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
call fcn.00407250
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4042e2
push ebx
call fcn.00407250
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4