Function at 0x111265b0
Capabilities:
Capture screenshot
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x928
mov eax, dword [0x111ec774]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x408
push 1
mov ebx, ecx
call fcn.1116406b
xor edi, edi
add esp, 8
push edi
mov dword [ebp - 0x8d0], eax
mov dword [eax], 0x1000300
mov dword [ebp - 0x878], 1
mov dword [ebp - 0x8a4], edi
mov dword [ebp - 0x898], edi
mov dword [ebp - 0x874], edi
mov dword [ebp - 0x870], edi
call dword [sym.imp.uSEr32.dll_GetDC]
mov esi, eax
push edi
mov dword [ebp - 0x888], esi
call dword [sym.imp.Gdi32.Dll_CreateCompatibleDC]
mov edi, eax
mov eax, dword [ebx + 4]
push 1
push eax
push esi
mov dword [ebp - 0x868], edi
call dword [sym.imp.Gdi32.Dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [ebp - 0x890], eax
call dword [sym.imp.Gdi32.Dll_SelectObject]
push 0xe
push esi
mov esi, dword [sym.imp.Gdi32.Dll_GetDeviceCaps]
mov dword [ebp - 0x8f4], eax
call esi
mov ecx, dword [ebp - 0x888]
push 0xc
push ecx
mov edi, eax
call esi
imul edi, eax
mov eax, dword [ebx + 4]
imul eax, edi
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
mov dword [ebp - 0x85c], edi
mov dword [ebp - 0x8a8], edi
mov dword [ebp - 0x8c0], eax
call fcn.11163a11
mov edx, dword [ebx + 8]
push 4
push edx
mov dword [ebp - 0x8b0], eax
call fcn.1116406b
mov dword [ebp - 0x884], eax
mov eax, dword [ebp + 8]
xor esi, esi
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0x320
add eax, 0xc8
push eax
mov dword [ebp - 0x858], esi
mov dword [ebp - 0x8bc], esi
mov dword [ebp - 0x89c], esi
mov dword [ebp - 0x8b4], esi
mov dword [ebp - 0x8ac], 1
call dword [sym.imp.KeRneL32.DLl_Sleep]
call dword [sym.imp.KeRneL32.DLl_GetTickCount]
mov ecx, dword [ebx]
mov dword [ebp - 0x860], eax
mov eax, dword [ecx + 0x38]
mov dword [ebp - 0x894], eax
cmp eax, esi
jne 0x11126710
push 0xb6
push 0x111b8c54
push 0x111b8c48
call fcn.11029a70
add esp, 0xc
mov ecx, dword [0x111ee308]
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
mov dword [ebp - 0x8c4], esi
mov dword [ebp - 0x8cc], esi
call eax
test eax, eax
je 0x1112674c
mov esi, dword [sym.imp.uSEr32.dll_GetSystemMetrics]
push 0x4c
call esi
push 0x4d
mov dword [ebp - 0x8c4], eax
call esi
mov dword [ebp - 0x8cc], eax
xor esi, esi
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0xc]
or eax, 0xffffffff
mov dword [ebp - 0x864], 1
mov dword [ebp - 0x8c8], esi
mov dword [ebp - 0x87c], esi
mov dword [ebp - 0x8b8], eax
mov dword [ebp - 0x88c], eax
mov dword [ebp - 0x8a0], 0x32
cmp ecx, esi
je 0x111267bc
push esi
push 0x32
push 0x111b8c38
push 0x111a0f40
call fcn.1105e820
mov dword [ebp - 0x8a0], eax
cmp eax, 5
jge 0x111267ad
mov dword [ebp - 0x8a0], 5
jmp 0x111267bc
cmp eax, 0x5f
jle 0x111267bc
mov dword [ebp - 0x8a0], 0x5f
call dword [sym.imp.KeRneL32.DLl_GetTickCount]
mov ecx, dword [ebx]
call fcn.11064ea0
test eax, eax
je 0x11127116
mov ecx, dword [ebx]
call fcn.1103a190
test al, 1
jne 0x1112683a
cmp dword [ebp + 8], esi
jne 0x11127116
mov edx, dword [ebp - 0x894]
push 0xfa
push edx
call dword [sym.imp.KeRneL32.DLl_WaitForSingleObject]
test eax, eax
je 0x11127116
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0x884]
add eax, eax
add eax, eax
push eax
push esi
push ecx
mov dword [ebp - 0x858], esi
call fcn.11162be0
push 0x400
lea edx, [ebp - 0x404]
push esi
push edx
call fcn.11162be0
add esp, 0x18
mov dword [ebp - 0x8bc], esi
jmp 0x11127103
cmp dword [ebp - 0x8bc], esi
jne 0x11126abb
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
call edx
mov eax, dword [eax + 0x4c]
cmp edi, eax
jle 0x1112685e
mov dword [ebp - 0x85c], eax
mov edi, eax
cmp edi, 8
jle 0x11126873
mov dword [ebp - 0x85c], 8
mov edi, dword [ebp - 0x85c]
cmp dword [ebp + 8], esi
jne 0x1112687d
cmp edi, 4
jge 0x1112688d
mov dword [ebp - 0x85c], 4
mov edi, dword [ebp - 0x85c]
mov ecx, dword [ebx]
xor eax, eax
cmp edi, 4
setne al
mov dword [ebx + 0xc], eax
xor eax, eax
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x414], eax
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x40c], eax
mov byte [ebp - 0x408], al
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
mov ecx, dword [eax + 0x40]
mov dx, word [ebx + 4]
mov ax, word [ebx + 8]
and ecx, 0x100
neg ecx
sbb ecx, ecx
and ecx, 0x4b
add ecx, 0x31
mov word [ebp - 0x42c], cx
mov ecx, dword [ebx]
push esi
mov word [ebp - 0x424], dx
mov word [ebp - 0x422], ax
mov word [ebp - 0x428], di
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
push 0xe
lea eax, [ebp - 0x42c]
push eax
call edx
mov esi, dword [ebx + 4]
mov eax, esi
imul eax, edi
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
mov dword [ebp - 0x8bc], 1
mov dword [ebp - 0x8d4], eax
call fcn.11163a11
mov ecx, dword [ebp - 0x8d4]
mov dword [ebp - 0x89c], eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + ecx + 0x14]
push eax
mov dword [ebp - 0x8e4], eax
call fcn.11163a11
push 0x428
lea ecx, [ebp - 0x854]
push 0
push ecx
mov dword [ebp - 0x8b4], eax
call fcn.11162be0
mov eax, 1
mov edx, eax
mov ecx, edi
mov word [ebp - 0x848], dx
shl edx, cl
add esp, 0x14
cmp dword [ebp - 0x8a8], 8
mov dword [ebp - 0x854], 0x28
mov dword [ebp - 0x850], esi
mov dword [ebp - 0x84c], eax
mov word [ebp - 0x846], di
mov dword [ebp - 0x834], edx
mov dword [ebp - 0x878], eax
jne 0x11126a6e
cmp dword [ebp - 0x874], 0
jne 0x111269ff
push 4
push 0x100
call fcn.1116406b
add esp, 8
mov dword [ebp - 0x874], eax
cmp dword [ebp - 0x870], 0
jne 0x11126a1d
push 4
push 0x100
call fcn.1116406b
add esp, 8
mov dword [ebp - 0x870], eax
xor esi, esi
mov ecx, dword [ebp - 0x888]
mov dword [ebp - 0x878], esi
mov esi, dword [ebp - 0x874]
push esi
push 0x100
push 0
push ecx
call dword [sym.imp.Gdi32.Dll_GetSystemPaletteEntries]
test eax, eax
je 0x11126b7a
mov eax, dword [ebp - 0x870]
mov edx, esi
mov ecx, 0x400
sub edx, eax
mov esi, dword [eax + edx]
cmp esi, dword [eax]
jne 0x11126acd
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x11126a57
jmp 0x11126b7a
push 0
push 0xf
call dword [sym.imp.Gdi32.Dll_GetStockObject]
mov esi, dword [ebp - 0x888]
push eax
push esi
call dword [sym.imp.Gdi32.Dll_SelectPalette]
push 0
push eax
push esi
mov dword [ebp - 0x86c], eax
call dword [sym.imp.Gdi32.Dll_SelectPalette]
mov eax, dword [ebp - 0x86c]
mov esi, dword [ebp - 0x868]
push 0
push eax
push esi
call dword [sym.imp.Gdi32.Dll_SelectPalette]
push esi
mov dword [ebp - 0x898], eax
call dword [sym.imp.Gdi32.Dll_RealizePalette]
xor esi, esi
cmp dword [ebp - 0x8a8], 8
jne 0x11126b7a
jmp 0x11126a1f
mov esi, dword [ebp - 0x874]
mov edi, dword [ebp - 0x870]
mov eax, dword [ebp - 0x884]
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebx + 8]
add edx, edx
add edx, edx
push edx
push 0
push eax
mov dword [ebp - 0x878], 1
mov dword [ebp - 0x858], 0
call fcn.11162be0
mov esi, dword [ebp - 0x8a4]
add esp, 0xc
test esi, esi
je 0x11126b34
mov ecx, dword [ebp - 0x898]
mov edx, dword [ebp - 0x868]
push 0
push ecx
push edx
call dword [sym.imp.Gdi32.Dll_SelectPalette]
push esi
call dword [sym.imp.Gdi32.Dll_DeleteObject]
mov eax, dword [ebp - 0x8d0]
mov esi, dword [ebp - 0x874]
lea edi, [eax + 4]
mov ecx, 0x100
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.Gdi32.Dll_CreatePalette]
mov esi, dword [ebp - 0x868]
push 0
push eax
push esi
mov dword [ebp - 0x8a4], eax
call dword [sym.imp.Gdi32.Dll_SelectPalette]
push esi
mov dword [ebp - 0x898], eax
call dword [sym.imp.Gdi32.Dll_RealizePalette]
mov edi, dword [ebp - 0x85c]
mov eax, dword [ebp - 0x8cc]
mov esi, dword [ebp - 0x858]
mov ecx, dword [ebp - 0x8c4]
mov edx, dword [ebp - 0x888]
push 0xcc0020
add eax, esi
push eax
mov eax, dword [ebx + 4]
push ecx
mov ecx, dword [ebp - 0x868]
push edx
push 1
push eax
push 0
push 0
push ecx
call dword [sym.imp.Gdi32.Dll_BitBlt]
mov eax, dword [ebp - 0x890]
lea edx, [ebp - 0x928]
push edx
push 0x18
push eax
call dword [sym.imp.Gdi32.Dll_GetObjectA]
mov ecx, dword [ebp - 0x8b0]
mov edx, dword [ebp - 0x8c0]
mov eax, dword [ebp - 0x890]
push ecx
push edx
push eax
call dword [sym.imp.Gdi32.Dll_GetBitmapBits]
mov ecx, dword [ebp - 0x8c0]
mov edx, dword [ebp - 0x8b0]
push ecx
push edx
push 0
call fcn.11080810
mov ecx, dword [ebp - 0x884]
add esp, 0xc
mov dword [ebp - 0x8ec], eax
cmp eax, dword [ecx + esi*4]
je 0x11126fca
mov eax, dword [ebp - 0x89c]
mov ecx, dword [ebp - 0x890]
push 0
lea edx, [ebp - 0x854]
push edx
mov edx, dword [ebp - 0x868]
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.Gdi32.Dll_GetDIBits]
cmp dword [ebp - 0x8a8], 8
je 0x11126c98
cmp edi, 8
jne 0x11126e4f
mov eax, 0x400
xor ecx, ecx
jmp 0x11126c60
mov edx, dword [ebp + ecx - 0x82c]
cmp edx, dword [ebp + ecx - 0x404]
jne 0x11126c80
sub eax, 4
add ecx, 4
cmp eax, 4
jae 0x11126c60
jmp 0x11126e4f
mov ecx, 0x100
lea esi, [ebp - 0x82c]
lea edi, [ebp - 0x404]
rep movsd dword es:[edi], dword [esi]
jmp 0x11126e5c
cmp dword [ebp - 0x878], 0
je 0x11126f1e
mov ecx, dword [ebp - 0x870]
lea eax, [ecx + 1]
neg ecx
lea edx, [ebp + ecx - 0x404]
mov dword [ebp - 0x860], edx
lea edx, [ebp + ecx - 0x403]
mov dword [ebp - 0x86c], edx
lea edx, [ebp + ecx - 0x402]
mov dword [ebp - 0x880], edx
lea edx, [ebp + ecx - 0x401]
mov dword [ebp - 0x8e0], edx
lea edx, [ebp + ecx - 0x400]
mov dword [ebp - 0x908], edx
lea edx, [ebp + ecx - 0x3ff]
mov dword [ebp - 0x910], edx
lea edx, [ebp + ecx - 0x3fe]
mov dword [ebp - 0x90c], edx
lea edx, [ebp + ecx - 0x3fd]
mov dword [ebp - 0x8d8], edx
lea edx, [ebp + ecx - 0x3fc]
mov dword [ebp - 0x8fc], edx
lea edx, [ebp + ecx - 0x3fb]
mov dword [ebp - 0x8e8], edx
lea edx, [ebp + ecx - 0x3fa]
mov dword [ebp - 0x900], edx
lea edx, [ebp + ecx - 0x3f9]
mov dword [ebp - 0x8f0], edx
lea edx, [ebp + ecx - 0x3f8]
mov dword [ebp - 0x904], edx
lea edx, [ebp + ecx - 0x3f7]
lea ecx, [ebp + ecx - 0x3f6]
lea esi, [ebp - 0x404]
mov dword [ebp - 0x8f8], edx
mov dword [ebp - 0x8dc], ecx
mov edi, pe_nt_image_headers32
mov edi, edi
movzx edx, byte [eax + 1]
movzx ecx, byte [eax]
mov byte [esi], dl
mov edx, dword [ebp - 0x860]
mov byte [edx + eax], cl
movzx ecx, byte [eax - 1]
mov edx, dword [ebp - 0x86c]
mov byte [edx + eax], cl
mov ecx, dword [ebp - 0x880]
movzx edx, byte [eax + 5]
mov byte [ecx + eax], 0
mov ecx, dword [ebp - 0x8e0]
mov byte [ecx + eax], dl
movzx edx, byte [eax + 4]
mov ecx, dword [ebp - 0x908]
mov byte [ecx + eax], dl
movzx edx, byte [eax + 3]
mov ecx, dword [ebp - 0x910]
mov byte [ecx + eax], dl
mov edx, dword [ebp - 0x90c]
movzx ecx, byte [eax + 9]
mov byte [edx + eax], 0
mov edx, dword [ebp - 0x8d8]
mov byte [edx + eax], cl
movzx ecx, byte [eax + 8]
mov edx, dword [ebp - 0x8fc]
mov byte [edx + eax], cl
movzx ecx, byte [eax + 7]
mov edx, dword [ebp - 0x8e8]
mov byte [edx + eax], cl
mov ecx, dword [ebp - 0x900]
movzx edx, byte [eax + 0xd]
mov byte [ecx + eax], 0
mov ecx, dword [ebp - 0x8f0]
mov byte [ecx + eax], dl
movzx edx, byte [eax + 0xc]
mov ecx, dword [ebp - 0x904]
mov byte [ecx + eax], dl
movzx edx, byte [eax + 0xb]
mov ecx, dword [ebp - 0x8f8]
mov byte [ecx + eax], dl
mov edx, dword [ebp - 0x8dc]
mov byte [edx + eax], 0
add esi, 0x10
add eax, 0x10
dec edi
jne 0x11126d80
mov edi, dword [ebp - 0x85c]
cmp dword [ebp - 0x878], 0
je 0x11126f1e
xor esi, esi
push 0x10a
mov dword [ebp - 0x878], esi
call fcn.11163a11
mov edi, eax
add esp, 4
mov dword [ebp - 0x860], edi
cmp edi, esi
jne 0x11126e94
push 0x17a
push 0x111b8c54
push 0x11196004
call fcn.11029a70
add esp, 0xc
lea edx, [ebp - 0x404]
mov dword [edi], 0x40007b
mov dword [ebp - 0x880], esi
mov dword [ebp - 0x86c], edx
jmp 0x11126eb6
mov edi, dword [ebp - 0x860]
mov esi, dword [ebp - 0x86c]
xor eax, eax
cmp dword [ebp - 0x880], 3
mov ecx, pe_nt_image_headers32
setl al
add edi, 6
push 0
push 0x10a
mov word [edi - 2], ax
mov eax, dword [ebp - 0x860]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov edx, dword [edx + 0x44]
push eax
call edx
mov eax, dword [ebp - 0x880]
add dword [ebp - 0x86c], 0x100
inc eax
mov dword [ebp - 0x880], eax
cmp eax, 4
jl 0x11126eb0
mov eax, dword [ebp - 0x860]
push eax
call fcn.11163aa5
mov edi, dword [ebp - 0x85c]
add esp, 4
mov ecx, dword [ebp - 0x8e4]
mov esi, dword [ebp - 0x8b4]
mov edx, dword [ebp - 0x8d4]
mov eax, dword [ebp - 0x89c]
push ecx
push esi
push edx
push eax
call fcn.11126470
add esp, 0x10
movzx eax, ax
push eax
push esi
mov esi, dword [ebp - 0x858]
push esi
mov ecx, ebx
call fcn.11126360
mov ecx, dword [ebp - 0x8ec]
mov edx, dword [ebp - 0x884]
mov dword [edx + esi*4], ecx
call dword [sym.imp.KeRneL32.DLl_GetTickCount]
cmp dword [ebp + 8], 0
mov dword [ebp - 0x860], eax
jne 0x11127009
cmp dword [ebp - 0x8ac], 0
jne 0x11127009
cmp dword [ebp - 0x87c], 0
jne 0x11126fba
mov eax, esi
sub eax, dword [ebp - 0x864]
mov dword [ebp - 0x87c], esi
mov dword [ebp - 0x88c], eax
jns 0x11126fb0
mov dword [ebp - 0x88c], 0xffffffff
mov dword [ebp - 0x864], 0xffffffff
cmp dword [ebp - 0x8b8], esi
jge 0x11127009
mov dword [ebp - 0x8b8], esi
jmp 0x11127009
mov eax, dword [ebp - 0x87c]
test eax, eax
je 0x11127009
cmp dword [ebp - 0x864], 0
jge 0x11126fef
mov dword [ebp - 0x858], eax
mov dword [ebp - 0x864], 1
jmp 0x11126ff9
mov dword [ebp - 0x864], 8
mov esi, dword [ebp - 0x858]
mov dword [ebp - 0x87c], 0
add esi, dword [ebp - 0x864]
mov dword [ebp - 0x858], esi
js 0x1112701f
cmp esi, dword [ebp - 0x88c]
jg 0x11127036
mov eax, dword [ebp - 0x87c]
inc eax
mov dword [ebp - 0x858], eax
mov dword [ebp - 0x864], 1
mov ecx, dword [ebp - 0x858]
cmp ecx, dword [ebx + 8]
jl 0x1112708d
cmp dword [ebp + 8], 0
jne 0x11127114
mov eax, dword [ebp - 0x8c8]
mov edx, dword [eax*4 + 0x111eaff8]
xor ecx, ecx
mov dword [ebp - 0x858], eax
or eax, 0xffffffff
mov dword [ebp - 0x8ac], ecx
mov dword [ebp - 0x864], 8
mov dword [ebp - 0x8c8], edx
mov dword [ebp - 0x87c], ecx
mov dword [ebp - 0x8b8], eax
mov dword [ebp - 0x88c], eax
jmp 0x1112709c
cmp dword [ebp + 8], 0
jne 0x111270ee
cmp dword [ebp - 0x8ac], 0
jne 0x111270ee
call dword [sym.imp.KeRneL32.DLl_GetTickCount]
mov ecx, eax
sub ecx, dword [ebp - 0x860]
cmp ecx, 0x32
jl 0x111270ee
mov eax, ecx
imul eax, eax, 0x64
cdq
idiv dword [ebp - 0x8a0]
sub eax, ecx
jns 0x111270c6
mov eax, 5
jmp 0x111270d0
cmp eax, 0x64
jle 0x111270d0
mov eax, 0x64
push eax
mov eax, dword [ebp - 0x894]
push eax
call dword [sym.imp.KeRneL32.DLl_WaitForSingleObject]
test eax, eax
je 0x11127114
call dword [sym.imp.KeRneL32.DLl_GetTickCount]
mov dword [ebp - 0x860], eax
mov ecx, dword [ebp - 0x894]
push 0
push ecx
call dword [sym.imp.KeRneL32.DLl_WaitForSingleObject]
test eax, eax
je 0x11127114
xor esi, esi
mov ecx, dword [ebx]
call fcn.11064ea0
test eax, eax
jne 0x111267d1
jmp 0x11127116
xor esi, esi
call dword [sym.imp.KeRneL32.DLl_GetTickCount]
mov edx, dword [ebp - 0x894]
push edx
call dword [sym.imp.KeRneL32.DLl_CloseHandle]
mov ecx, dword [ebp - 0x8b4]
mov eax, dword [ebx]
push ecx
mov dword [eax + 0x38], esi
call fcn.11163aa5
mov edx, dword [ebp - 0x89c]
push edx
call fcn.11163aa5
mov eax, dword [ebp - 0x884]
push eax
call fcn.11163aa5
mov ecx, dword [ebp - 0x8b0]
push ecx
call fcn.11163aa5
mov edx, dword [ebp - 0x8f4]
mov eax, dword [ebp - 0x868]
add esp, 0x10
push edx
push eax
call dword [sym.imp.Gdi32.Dll_SelectObject]
mov ecx, dword [ebp - 0x890]
mov esi, dword [sym.imp.Gdi32.Dll_DeleteObject]
push ecx
call esi
mov eax, dword [ebp - 0x898]
test eax, eax
je 0x1112719e
mov edx, dword [ebp - 0x868]
push 0
push eax
push edx
call dword [sym.imp.Gdi32.Dll_SelectPalette]
mov eax, dword [ebp - 0x8a4]
test eax, eax
je 0x111271ab
push eax
call esi
mov eax, dword [ebp - 0x868]
push eax
call dword [sym.imp.Gdi32.Dll_DeleteDC]
mov ecx, dword [ebp - 0x888]
push ecx
push 0
call dword [sym.imp.uSEr32.dll_ReleaseDC]
mov edx, dword [ebp - 0x8d0]
push edx
call fcn.11163aa5
mov eax, dword [ebp - 0x874]
push eax
call fcn.11163aa5
mov ecx, dword [ebp - 0x870]
push ecx
call fcn.11163aa5
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.11162bb7
mov esp, ebp
pop ebp
ret 4