Function at 0x110ba580
Capabilities:
Capture screenshot
Delete file
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111e17be
mov eax, dword fs:[0]
push eax
sub esp, 0xdd0
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xd4c], ecx
mov dword [ebp - 0xd48], esi
mov dword [ebp - 0xd44], edi
mov dword [ebp - 0xd68], eax
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [ebp - 0xda8], esi
mov esi, dword [ebx + 0xc]
sub esi, dword [ebx + 4]
mov dword [ebp - 0xdbc], edi
mov edi, dword [ebx + 8]
sub edi, dword [ebx]
mov dword [ebp - 0xdc8], eax
mov dword [ebp - 0xdac], edi
mov dword [ebp - 0xd6c], esi
call fcn.111bbd10
mov ecx, dword [0x1127aa68]
push 0
push 0
push str.silent
push str.Client
call fcn.110bbc00
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCW]
push 0
mov dword [ebp - 0xd54], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0x428
lea ecx, [ebp - 0x918]
push 0
push ecx
mov dword [ebp - 0xd58], eax
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0xd54]
add esp, 0xc
push 0xe
mov dword [ebp - 0x910], esi
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edx, 1
push eax
mov dword [ebp - 0x918], 0x28
mov dword [ebp - 0x914], edi
mov word [ebp - 0x90c], dx
call esi
mov ecx, dword [ebp - 0xd54]
push 0xc
push ecx
mov dword [ebp - 0xd64], eax
call esi
mov ecx, dword [ebp - 0xd64]
imul ecx, eax
xor esi, esi
push esi
mov word [ebp - 0x90a], cx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0xd60], eax
xor eax, eax
mov dword [ebp - 0xd94], esi
mov dword [ebp - 0xd7c], esi
mov dword [ebp - 0xd50], eax
mov dword [ebp - 0xda4], eax
call fcn.11107510
test eax, eax
je 0x110ba82a
mov ecx, dword [0x1127b21c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [ebp - 0xda4]
push eax
lea eax, [ebp - 0x50]
push eax
call edx
test eax, eax
je 0x110ba82a
mov eax, dword [ebp - 0xda4]
push eax
call dword [sym.imp.USER32.dll_CloseDesktop]
lea ecx, [ebp - 0x50]
push str.Default
push ecx
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x110ba82a
movzx eax, word [ebp - 0x90a]
imul eax, dword [ebp - 0x914]
cdq
and edx, 0x1f
lea ecx, [edx + eax]
mov eax, dword [ebp - 0x910]
cdq
sar ecx, 5
xor eax, edx
add ecx, ecx
sub eax, edx
add ecx, ecx
imul eax, ecx
lea edx, [ebp - 0xddc]
push edx
mov dword [ebp - 0xd64], eax
call fcn.11144330
add esp, 4
test eax, eax
je 0x110ba82a
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea eax, [ebp - 0xd0]
push str.Client32ThumbDib__x
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [ebp - 0xd64]
add esp, 0xc
lea ecx, [ebp - 0xd0]
push ecx
add edx, 0x43c
push edx
push esi
push 4
lea eax, [ebp - 0xddc]
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
mov dword [ebp - 0xd7c], esi
test esi, esi
je 0x110ba82a
push 0
push 0
push 0
push 2
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0xd94], eax
test eax, eax
je 0x110ba81b
mov ecx, dword [ebx]
mov dword [eax], ecx
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebx + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebx + 0xc]
mov ecx, 0x43c
mov dword [eax + 0x10], ecx
mov dword [ebp - 0xd50], ecx
lea edi, [eax + 0x14]
mov ecx, 0x10a
lea esi, [ebp - 0x918]
mov dword [eax + 0xc], edx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xdac]
mov esi, dword [ebp - 0xd7c]
jmp 0x110ba82a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov dword [ebp - 0xd7c], esi
mov eax, dword [ebp - 0xd50]
push eax
mov eax, dword [ebp - 0xd60]
push esi
lea ecx, [ebp - 0xdd0]
push ecx
push 0
lea edx, [ebp - 0x918]
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ecx, dword [ebp - 0xd60]
push eax
push ecx
mov dword [ebp - 0xdc0], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0xdcc], eax
test esi, esi
je 0x110ba885
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0xd0]
push eax
call fcn.110ba360
add esp, 8
jmp 0x110ba9a2
mov dword [ebp - 0xd50], 0
call fcn.111a6d60
test al, al
je 0x110ba89d
call fcn.111a6dc0
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
mov eax, dword [ebp - 0xd54]
push 0xcc0020
push ecx
mov ecx, dword [ebp - 0xd6c]
push edx
mov edx, dword [ebp - 0xd60]
push eax
push ecx
push edi
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x110ba965
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
mov esi, eax
movzx eax, word [ebp - 0x90a]
push eax
mov eax, dword [ebp - 0xd6c]
push ecx
push edx
push eax
push edi
push esi
push str.bitblt_failed__gle_d__w_d__h_d__l_d__t_d__nbits_d_n
call fcn.111bd7b0
add esp, 0x1c
cmp esi, 6
jne 0x110ba94f
mov ecx, dword [ebp - 0xd54]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
push 0x2000000
push 0
push 0
push 0x111fb618
call dword [sym.imp.USER32.dll_OpenDesktopW]
mov esi, eax
test esi, esi
je 0x110ba938
push esi
call dword [sym.imp.USER32.dll_SetThreadDesktop]
push esi
call dword [sym.imp.USER32.dll_CloseDesktop]
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCW]
mov dword [ebp - 0xd54], eax
mov eax, dword [ebp - 0xd50]
inc eax
mov dword [ebp - 0xd50], eax
cmp eax, 2
jl 0x110ba88f
mov ecx, dword [0x1127aa68]
push 0
push 0
push str.ThumbLayers
push str.Client
call fcn.110bbc00
push ebx
lea edx, [ebp - 0xdc4]
push edx
push eax
mov eax, dword [ebp - 0xd60]
push 0
push eax
mov dword [ebp - 0xdc4], 0
call fcn.1111ea30
add esp, 0x14
mov esi, dword [ebp - 0xd48]
mov ebx, dword [ebp - 0xd6c]
mov eax, esi
imul eax, ebx
cdq
idiv edi
mov ecx, dword [ebp - 0xd44]
cmp eax, ecx
jg 0x110ba9c8
mov dword [ebp - 0xd44], eax
jmp 0x110ba9db
mov eax, ecx
imul eax, edi
cdq
idiv ebx
mov esi, eax
and esi, 0xfffffffe
mov dword [ebp - 0xd48], esi
mov ebx, dword [ebp - 0xd4c]
mov ecx, dword [ebp - 0xd68]
mov ecx, dword [ebx + ecx*4 + 0x46c]
mov dword [ebp - 0xd90], ecx
test ecx, ecx
jne 0x110baa54
push 0x1f28
call fcn.111709c0
add esp, 4
mov dword [ebp - 0xdb8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x110baa1f
mov ecx, eax
call fcn.111904b0
jmp 0x110baa21
xor eax, eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0xd68]
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + edx*4 + 0x46c], eax
mov dword [ebp - 0xd90], eax
cmp ecx, 8
jg 0x110baa48
mov ecx, 7
push ecx
mov ecx, dword [ebp - 0xd44]
push ecx
mov ecx, eax
jmp 0x110baa80
cmp dword [ecx + 4], esi
jne 0x110baa6b
mov edx, dword [ebp - 0xd44]
cmp dword [ecx + 8], edx
jne 0x110baa6b
mov eax, dword [ebp + 0x14]
cmp dword [ecx], eax
je 0x110baa86
mov eax, dword [ebp + 0x14]
cmp eax, 8
jg 0x110baa78
mov eax, 7
mov edx, dword [ebp - 0xd44]
push eax
push edx
push esi
call fcn.11190530
mov eax, dword [ebp - 0xd44]
mov ebx, dword [ebp - 0xd48]
mov ecx, dword [ebp - 0xd54]
push eax
push ebx
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edx, dword [ebp - 0xd58]
push eax
push edx
mov dword [ebp - 0xd50], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0xdb8], eax
mov eax, ebx
imul eax, dword [ebp + 0x14]
add eax, 0x1f
cdq
and edx, 0x1f
lea esi, [edx + eax]
sar esi, 5
imul esi, dword [ebp - 0xd44]
push 0x428
lea eax, [ebp - 0xd40]
push 0
add esi, esi
push eax
add esi, esi
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp - 0xd44]
mov ax, word [ebp + 0x14]
add esp, 0xc
mov dword [ebp - 0xd38], ecx
mov ecx, dword [ebp - 0xd58]
push 4
mov edx, 1
push ecx
mov dword [ebp - 0xd40], 0x28
mov dword [ebp - 0xd3c], ebx
mov word [ebp - 0xd34], dx
mov word [ebp - 0xd32], ax
mov dword [ebp - 0xd20], 0
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov edx, dword [ebp - 0xd6c]
mov eax, dword [ebp - 0xd60]
mov ecx, dword [ebp - 0xd44]
push 0xcc0020
push edx
mov edx, dword [ebp - 0xd58]
push edi
push 0
push 0
push eax
push ecx
push ebx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_StretchBlt]
test eax, eax
jne 0x110bab86
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push str.StretchBlt_ret__d__e_d_n
call fcn.111bd7b0
add esp, 0xc
mov ebx, dword [ebp - 0xd68]
lea ecx, [ebx + 1]
mov eax, ebx
mov dword [ebp - 0xd64], ecx
cmp ebx, 0x63
jne 0x110babad
mov ecx, dword [ebp - 0xd4c]
mov ecx, dword [ecx + 0x60]
xor eax, eax
mov dword [ebp - 0xd64], ecx
mov dword [ebp - 0xdb0], eax
cmp eax, ecx
jge 0x110bb34a
mov eax, 0x51eb851f
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + esi + 0x445]
mov eax, dword [ebp - 0xd48]
add eax, 3
and eax, 0xfffffffc
imul eax, dword [ebp - 0xd44]
add eax, eax
add eax, eax
mov dword [ebp - 0xd70], ecx
mov dword [ebp - 0xdb4], eax
jmp 0x110bac06
mov ebx, dword [ebp - 0xd68]
mov edx, dword [ebp - 0xd70]
push edx
mov edi, 0x100
call dword [sym.imp.MSVCR100.dll_malloc]
mov esi, eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov byte [esi + 0x24], al
mov eax, dword [ebp - 0xd4c]
mov ecx, dword [eax + 0x58]
add esp, 4
test cl, 8
je 0x110bacb5
mov edx, 0xab
mov word [esi], dx
mov eax, dword [eax + 0x58]
test al, 0x10
je 0x110bac5d
or dword [esi + 2], 0x10
cmp byte [ebp + 0x1c], 0
je 0x110bac66
or dword [esi + 2], edi
mov ecx, dword [0x1127b21c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xe0]
call eax
test eax, eax
je 0x110bac7e
or dword [esi + 2], 1
mov cx, word [ebp - 0xd48]
mov dl, byte [ebp + 0x14]
mov ebx, dword [ebp - 0xd44]
mov al, byte [ebp - 0xd68]
mov word [esi + 6], cx
mov ecx, dword [ebp - 0xd4c]
mov word [esi + 8], bx
mov byte [esi + 0xc], dl
mov byte [esi + 0xd], al
mov edx, dword [ecx + 0x60]
mov byte [esi + 0xe], dl
mov edi, 0x1f
jmp 0x110bad08
mov eax, 0x9b
mov word [esi], ax
mov ecx, dword [0x1127b21c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xe0]
call eax
test eax, eax
je 0x110bacd5
or dword [esi + 2], 1
cmp byte [ebp + 0x1c], 0
je 0x110bacde
or dword [esi + 2], edi
mov cx, word [ebp - 0xd48]
mov dx, word [ebp - 0xd44]
mov al, byte [ebp + 0x14]
mov byte [esi + 0xd], bl
mov ebx, dword [ebp - 0xd44]
mov word [esi + 6], cx
mov word [esi + 8], dx
mov byte [esi + 0xc], al
mov edi, 0xe
xor eax, eax
cmp dword [ebp + 0x14], 8
mov dword [ebp - 0x4f0], eax
mov dword [ebp - 0x4ec], eax
mov dword [ebp - 0x4e8], eax
mov dword [ebp - 0x4e4], eax
mov dword [ebp - 0xd78], eax
jne 0x110bb0d3
mov ecx, dword [0x1127aa68]
push eax
push eax
push str.LegacyThumbnails
push str.Client
call fcn.110bbc00
test eax, eax
jne 0x110bb0d3
mov ecx, dword [ebp - 0xdb4]
push ecx
call dword [sym.imp.MSVCR100.dll_malloc]
add esp, 4
mov dword [ebp - 0xd80], eax
test eax, eax
je 0x110bb196
mov edi, dword [ebp - 0xd80]
mov ecx, dword [ebp - 0xd50]
push 0
lea eax, [ebp - 0xd40]
push eax
push edi
push ebx
mov edx, 0x20
push 0
mov word [ebp - 0xd32], dx
mov edx, dword [ebp - 0xd58]
push ecx
push edx
call dword [sym.imp.GDI32.dll_GetDIBits]
mov dword [ebp - 0xd98], eax
lea eax, [ebp - 0x4f0]
push eax
mov eax, dword [ebp - 0xd70]
lea ecx, [ebp - 0xd78]
push ecx
add eax, esi
push eax
mov eax, dword [ebp - 0xd4c]
mov ecx, dword [eax + 0x58]
mov eax, dword [ebp - 0xd48]
shr ecx, 5
and cl, 1
push esi
movzx edx, cl
mov ecx, dword [ebp - 0xd90]
push edx
push 8
push ebx
push eax
push edi
call fcn.11191140
mov edi, eax
cmp edi, dword [ebp - 0xd70]
jle 0x110bae0a
push 0x313
push str.cltthumb.cpp
push str.nc_len___cb
call fcn.11067750
add esp, 0xc
mov ecx, ebx
imul ecx, dword [ebp - 0xd48]
cmp dword [ebp - 0xd78], ecx
jl 0x110bae1d
xor edi, edi
mov ecx, dword [ebp - 0xd4c]
mov edx, dword [ecx + 0x58]
test dl, 0x40
je 0x110bb196
cmp edi, 0x4b0
jl 0x110bb196
mov edx, dword [ebp - 0x4e4]
mov eax, edx
sub eax, dword [ebp - 0x4ec]
je 0x110bb196
test byte [esi + 2], 0x20
je 0x110bb196
mov eax, ebx
sub eax, edx
mov edx, ebx
sub edx, dword [ebp - 0x4ec]
mov dword [ebp - 0x4ec], eax
mov eax, dword [ecx + 0x58]
mov dword [ebp - 0x4e4], edx
test al, 0x40
jne 0x110bae9c
mov ecx, dword [ebp - 0xd48]
xor eax, eax
mov dword [ebp - 0x4ec], eax
mov dword [ebp - 0x4f0], eax
mov eax, ebx
mov dword [ebp - 0x4e8], ecx
mov dword [ebp - 0x4e4], eax
jmp 0x110baea8
mov eax, dword [ebp - 0x4e4]
mov ecx, dword [ebp - 0x4e8]
sub ecx, dword [ebp - 0x4f0]
sub eax, dword [ebp - 0x4ec]
mov dword [ebp - 0xd9c], ecx
mov ecx, dword [ebp - 0xd54]
push ecx
mov dword [ebp - 0xd88], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebp - 0xd88]
mov ecx, dword [ebp - 0xd54]
mov dword [ebp - 0xd84], eax
mov eax, dword [ebp - 0xd9c]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0xd8c], eax
test eax, eax
je 0x110bb0b4
mov edx, eax
mov eax, dword [ebp - 0xd84]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x4ec]
mov edx, dword [ebp - 0x4f0]
push 0xcc0020
push ecx
mov ecx, dword [ebp - 0xd88]
push edx
mov edx, dword [ebp - 0xd9c]
mov dword [ebp - 0xd5c], eax
mov eax, dword [ebp - 0xd58]
push eax
mov eax, dword [ebp - 0xd84]
push ecx
push edx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebp - 0xd5c]
mov edx, dword [ebp - 0xd84]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x4e0]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x2d8]
push ecx
push 0
push 0x1121760c
lea edx, [ebp - 0x4e0]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x110bb0b4
mov eax, dword [ebp - 0xd4c]
mov ecx, dword [eax + 0x5c]
mov eax, dword [ebp - 0xd8c]
push 2
push ecx
lea edx, [ebp - 0x2d8]
push edx
push eax
call fcn.11147a20
add esp, 0x10
test eax, eax
jle 0x110bb0a7
lea ecx, [ebp - 0x2d8]
push 0x1120888c
push ecx
call dword [sym.imp.MSVCR100.dll__wfopen]
add esp, 8
mov dword [ebp - 0xd74], eax
test eax, eax
je 0x110bb0a7
push 2
mov edx, eax
push 0
push edx
call dword [sym.imp.MSVCR100.dll_fseek]
mov eax, dword [ebp - 0xd74]
push eax
call dword [sym.imp.MSVCR100.dll_ftell]
mov ecx, dword [ebp - 0xd74]
push 0
push 0
push ecx
mov dword [ebp - 0xd5c], eax
call dword [sym.imp.MSVCR100.dll_fseek]
mov eax, dword [ebp - 0xd5c]
add eax, 0x17
add esp, 0x1c
mov dword [ebp - 0xda0], eax
cmp eax, edi
jae 0x110bb097
movzx ecx, word [ebp - 0xd9c]
mov dx, word [ebp - 0xd88]
mov word [esi + 4], cx
mov word [esi + 6], dx
mov dl, byte [ebp - 0xd68]
mov dword [esi], 0xee
mov ax, word [ebp - 0x4f0]
mov word [esi + 8], ax
movzx ecx, word [ebp - 0x4ec]
mov eax, dword [0x1127be44]
inc eax
mov dword [0x1127be44], eax
mov byte [esi + 0x15], al
mov eax, dword [ebp - 0xd74]
mov word [esi + 0xa], cx
mov ecx, dword [ebp - 0xd5c]
push eax
push ecx
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x16]
push 1
push ecx
mov byte [esi + 0x14], dl
call dword [sym.imp.MSVCR100.dll_fread]
mov edi, dword [ebp - 0xda0]
add esp, 0x10
mov edx, dword [ebp - 0xd74]
push edx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
lea eax, [ebp - 0x2d8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0xd8c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 0xd84]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x110bb196
mov eax, dword [ebp - 0xdb4]
push eax
call dword [sym.imp.MSVCR100.dll_malloc]
add esp, 4
mov dword [ebp - 0xd80], eax
test eax, eax
je 0x110bb196
push 0
lea edx, [ebp - 0xd40]
push edx
mov edi, eax
mov eax, dword [ebp - 0xd50]
push edi
push ebx
mov ecx, 0x20
push 0
mov word [ebp - 0xd32], cx
mov ecx, dword [ebp - 0xd58]
push eax
push ecx
call dword [sym.imp.GDI32.dll_GetDIBits]
mov ecx, dword [ebp - 0xd4c]
lea edx, [ebp - 0xd78]
push edx
mov edx, dword [ecx + 0x58]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0xd98], eax
mov eax, dword [ebp - 0xd70]
shr edx, 5
add eax, esi
push eax
and dl, 1
push esi
movzx eax, dl
mov edx, dword [ebp - 0xd48]
push eax
push ecx
mov ecx, dword [ebp - 0xd90]
push ebx
push edx
push edi
call fcn.11191950
mov edi, eax
cmp edi, dword [ebp - 0xd70]
jle 0x110bb183
push 0x383
push str.cltthumb.cpp
push str.nc_len___cb
call fcn.11067750
add esp, 0xc
mov eax, ebx
imul eax, dword [ebp - 0xd48]
cmp dword [ebp - 0xd78], eax
jl 0x110bb196
xor edi, edi
cmp dword [ebp - 0xd98], ebx
jge 0x110bb1b2
mov ecx, dword [ebp - 0xd98]
push ecx
push str.GetDIBits_ret__d_lines_n
call fcn.111bd7b0
add esp, 8
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [ebp - 0xdb8]
mov ebx, eax
mov eax, dword [ebp - 0xd58]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0xd50]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 0xd58]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0xd54]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [ebp - 0xdcc]
mov edx, dword [ebp - 0xd60]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0xdc0]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0xd60]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
call dword [sym.imp.WINMM.dll_timeGetTime]
push edi
push esi
push 0
mov dword [ebp - 0xda0], eax
call fcn.110e3110
add esp, 0xc
mov dword [ebp - 0xd5c], eax
test edi, edi
je 0x110bb2c9
mov eax, dword [ebp - 0xd4c]
cmp edi, dword [eax + 0x464]
jne 0x110bb265
mov edx, dword [ebp - 0xd5c]
cmp edx, dword [eax + 0x468]
je 0x110bb2c9
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x110bb2c9
mov edx, dword [eax + 0x48]
cmp dword [ebp - 0xda8], edx
je 0x110bb282
mov ecx, dword [eax + 0x4c]
cmp dword [ebp - 0xdbc], ecx
jne 0x110bb2c9
mov edx, dword [eax + 0x50]
cmp dword [ebp + 0x14], edx
jne 0x110bb2c9
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
mov edx, dword [edx + 0x48]
xor ecx, ecx
mov eax, 0xee
cmp word [esi], ax
mov eax, dword [ebp - 0xd4c]
sete cl
lea ecx, [ecx + ecx + 1]
push ecx
mov ecx, dword [eax + 0x20]
push edi
push esi
call edx
mov eax, dword [ebp - 0xd4c]
mov ecx, dword [ebp - 0xd5c]
mov dword [eax + 0x468], ecx
mov dword [eax + 0x464], edi
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, dword [ebp - 0xda0]
mov edx, dword [ebp - 0xdbc]
sub eax, ecx
push eax
mov eax, dword [ebp - 0xda8]
sub ecx, ebx
sub ebx, dword [ebp - 0xdc8]
push ecx
mov ecx, dword [ebp + 0x14]
push ebx
push edi
mov edi, dword [ebp - 0xdb0]
push edx
mov edx, dword [ebp - 0xd44]
push eax
mov eax, dword [ebp - 0xd48]
push ecx
mov ecx, dword [ebp - 0xd6c]
push edx
mov edx, dword [ebp - 0xdac]
push eax
push ecx
push edx
push edi
push str.thumb__d___d_d_____d_d_d__limit_d_d___nclen_d__blitTime_d__packTime_d__sendTime_d_n
call fcn.111bd7b0
push esi
mov esi, dword [sym.imp.MSVCR100.dll_free]
call esi
mov eax, dword [ebp - 0xd80]
push eax
call esi
inc edi
add esp, 0x3c
mov dword [ebp - 0xdb0], edi
cmp edi, dword [ebp - 0xd64]
jl 0x110bac00
mov eax, dword [ebp - 0xd94]
test eax, eax
je 0x110bb35b
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0xd7c]
test eax, eax
je 0x110bb36c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret 0x18