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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
mov esi, eax
lea eax, [ebp - 0x197]
push ebx
push eax
mov byte [ebp - 0x198], bl
call fcn.0043b5d0
add esp, 0xc
push str.screenshots
mov eax, 0x104
lea edi, [ebp - 0x198]
call fcn.0046605c
push ebx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0x144], ebx
jne 0x45b57a
cmp dword [ebp - 4], ebx
je 0x45b812
mov eax, dword [ebp - 4]
sub eax, ebx
je 0x45b59d
dec eax
je 0x45b598
dec eax
je 0x45b591
dec eax
jne 0x45b5a8
push ebx
push 0x64
push 0x64
jmp 0x45b5a1
push ebx
push 0x64
push 0x32
jmp 0x45b5a1
push ebx
push ebx
push ebx
jmp 0x45b5a1
push ebx
push ebx
push 0xffffffffffffffff
mov ebx, esi
call fcn.0045b2eb
push 1
xor ebx, ebx
call fcn.00457f4e
xor eax, eax
mov dword [ebp - 0x2c], ebx
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
push dword [esi + 0xf4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x28]
neg eax
push eax
mov eax, dword [ebp - 0x2c]
neg eax
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov dword [ebp - 0x18], ebx
cmp dword [esi + 0xd8], ebx
jle 0x45b810
inc dword [ebp - 0x10]
push 1
xor ebx, ebx
push ebx
push dword [esi + 0xf4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 0xf4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
push ebx
push ebx
call dword [eax + 0x30]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
push ebx
push 1
call dword [eax + 0x30]
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
jmp 0x45b648
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push ebx
push ebx
push dword [esi + 0xf4]
lea eax, [ebp - 0x8c]
push eax
call edi
test eax, eax
jne 0x45b62e
push dword [esi + 0xf4]
call dword [sym.imp.USER32.dll_GetWindowDC]
push dword [ebp - 0x20]
mov edi, eax
push dword [ebp - 0x24]
mov dword [ebp - 0x34], edi
push edi
call fcn.00457d18
add esp, 0xc
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0xc]
mov dword [ebp - 8], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push ebx
push ebx
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push ebx
push ebx
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_BitBlt]
push 0xa
pop ecx
push ebx
xor eax, eax
lea edi, [ebp - 0x6c]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.GDI32.dll_GetDIBits]
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
mov dword [ebp - 0x70], 0x2c
push dword [ebp - 8]
call edi
push dword [ebp - 0x5c]
call fcn.00437405
pop ecx
push ebx
lea ecx, [ebp - 0x70]
push ecx
push eax
push dword [ebp - 0x68]
mov dword [ebp - 0x30], eax
push ebx
push dword [ebp - 0xc]
push dword [ebp - 8]
call edi
mov ecx, dword [ebp - 0x70]
mov eax, 0x4d42
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x5c]
lea eax, [eax + ecx + 0xe]
mov dword [ebp - 0x42], eax
xor eax, eax
push 0x103
mov word [ebp - 0x3e], ax
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x29f]
push ebx
push eax
mov dword [ebp - 0x3a], 0x36
mov byte [ebp - 0x2a0], bl
call fcn.0043b5d0
add esp, 0xc
mov eax, 0x470804
cmp dword [esi + 0x144], ebx
jne 0x45b748
mov eax, str.uninstall
push dword [ebp - 0x10]
push eax
mov eax, dword [esi + 0x140]
add eax, 0x1140
push eax
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x2a0]
push str._s_S__s__d.bmp
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
lea ecx, [ebp - 0x1c]
push ecx
push 0xe
lea ecx, [ebp - 0x44]
push ecx
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], ebx
call edi
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x28
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x14]
call edi
push ebx
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x30]
push dword [ebp - 0x14]
call edi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x34]
push dword [esi + 0xf4]
call dword [sym.imp.USER32.dll_ReleaseDC]
push 1
mov eax, esi
call fcn.00458696
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [esi + 0xd8]
jl 0x45b5f1
xor ebx, ebx
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
jl 0x45b569
push 1
xor ebx, ebx
call fcn.00457f4e
pop edi
pop esi
pop ebx
leave
ret