Function at 0x492d57
Capabilities:
Create directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
push ebx
push esi
push edi
push 0x103
lea eax, [ebp - 0x18f]
mov byte [ebp - 0x190], 0
mov ebx, ecx
push 0
push eax
mov dword [ebp - 0xc], ebx
call fcn.0042a910
add esp, 0xc
lea edx, [ebp - 0x190]
push str.screenshots
push 0x104
call fcn.00463088
push 0
lea eax, [ebp - 0x190]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
xor edi, edi
xor esi, esi
mov dword [ebp - 0x10], esi
cmp dword [ebx + 0x138], 0
jne 0x492dc1
test esi, esi
je 0x493067
mov eax, esi
sub eax, 0
je 0x492de8
dec eax
je 0x492de0
dec eax
je 0x492dd8
dec eax
jne 0x492df5
push eax
push 0x64
push 0x64
jmp 0x492dee
push 0
push 0x64
push 0x32
jmp 0x492dee
push 0
push 0
push 0
jmp 0x492dee
push 0
push 0
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00493ff9
push 1
push 0
mov ecx, ebx
call fcn.0049447d
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
push dword [ebx + 0xf4]
movdqu xmmword [ebp - 0x24], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x20]
neg eax
push eax
mov eax, dword [ebp - 0x24]
neg eax
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
and dword [ebp - 0x14], 0
cmp dword [ebx + 0xd8], 0
jle 0x493067
push 1
push 0
push dword [ebx + 0xf4]
inc edi
mov dword [ebp - 8], edi
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [ebx + 0xf4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebx + 8]
xor edi, edi
push edi
push edi
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [ebx + 8]
push edi
push 1
mov eax, dword [ecx]
call dword [eax + 0x30]
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
jmp 0x492e98
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push edi
push edi
push dword [ebx + 0xf4]
lea eax, [ebp - 0x84]
push eax
call esi
test eax, eax
jne 0x492e7e
push dword [ebx + 0xf4]
call dword [sym.imp.USER32.dll_GetWindowDC]
push dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov edi, eax
mov ecx, edi
mov dword [ebp - 0x28], edi
call fcn.00493086
pop ecx
mov esi, eax
push edi
mov dword [ebp - 0x2c], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
push esi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
xor eax, eax
push eax
push eax
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push eax
push eax
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x64]
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [ebp - 0x68], 0x2c
push ecx
lea eax, [ebp - 0x68]
push eax
push ecx
push ecx
push ecx
push esi
push ebx
call dword [sym.imp.GDI32.dll_GetDIBits]
push dword [ebp - 0x54]
call fcn.0040627a
pop ecx
push 0
mov edi, eax
lea eax, [ebp - 0x68]
push eax
push edi
push dword [ebp - 0x60]
push 0
push esi
push ebx
call dword [sym.imp.GDI32.dll_GetDIBits]
mov ecx, dword [ebp - 0x54]
mov eax, 0x4d42
mov word [ebp - 0x3c], ax
add ecx, 0xe
mov eax, dword [ebp - 0x68]
add eax, ecx
mov dword [ebp - 0x32], 0x36
mov dword [ebp - 0x3a], eax
xor eax, eax
push 0x103
push eax
mov dword [ebp - 0x36], eax
mov byte [ebp - 0x298], al
lea eax, [ebp - 0x297]
push eax
call fcn.0042a910
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov eax, str.install
mov edx, str.uninstall
cmp dword [ecx + 0x138], 0
push dword [ebp - 8]
cmove eax, edx
push eax
mov eax, dword [ecx + 0x134]
add eax, 0xf40
push eax
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x298]
push str._s_S__s__d.bmp
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x298]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
and dword [ebp - 4], 0
mov esi, eax
push 0
lea eax, [ebp - 4]
push eax
push 0xe
lea eax, [ebp - 0x3c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 4]
push eax
push 0x28
lea eax, [ebp - 0x68]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x54]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x2c]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [ebp - 0xc]
push dword [ebp - 0x28]
push dword [ebx + 0xf4]
call dword [sym.imp.USER32.dll_ReleaseDC]
push 1
mov ecx, ebx
call fcn.004960b1
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 8]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebx + 0xd8]
jl 0x492e3f
mov esi, dword [ebp - 0x10]
inc esi
mov dword [ebp - 0x10], esi
cmp esi, 4
jl 0x492db0
push 1
push 0
mov ecx, ebx
call fcn.0049447d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret