Function at 0x100ffd30
Capabilities:
Capture screenshot
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10165008
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x10863dc0]
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 edi, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
mov ebx, eax
push 1
mov dword [ebp - 0xdc], ebx
call esi
push 0
mov dword [ebp - 0xd4], eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [ebp - 0xd8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0xd4]
mov esi, eax
push ebx
push dword [ebp - 0xd8]
mov dword [ebp - 0xec], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [ebp - 0xe0], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push dword [ebp - 0xd8]
mov dword [ebp - 0xe8], eax
push dword [ebp - 0xd4]
push ebx
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov esi, dword [ebp - 0xd4]
mov eax, dword [ebp - 0xd4]
imul esi, ebx
neg eax
mov dword [ebp - 0x68], 0x28
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0x200001
shl esi, 2
push esi
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call fcn.1010854b
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x68]
push 0
push eax
push ebx
push dword [ebp - 0xd4]
push 0
push dword [ebp - 0xe0]
push dword [ebp - 0xd8]
call dword [sym.imp.GDI32.dll_GetDIBits]
push 0x50
lea eax, [ebp - 0xd0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xd0]
call fcn.100ee560
mov dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push edi
push eax
lea ecx, [ebp - 0xd0]
call fcn.100ff220
mov byte [ebp - 4], 1
push 0x103e9a48
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100fef30
add esp, 0xc
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0xd0]
call fcn.10100060
mov byte [ebp - 4], 3
lea eax, [ebp - 0x80]
cmp dword [ebp - 0x6c], 0xf
cmova eax, dword [ebp - 0x80]
xor edx, edx
mov dword [ebp - 0xe4], eax
test esi, esi
jle 0x100ffef5
mov al, byte [ebx + edx + 2]
mov cl, byte [ebx + edx]
mov byte [ebx + edx], al
mov byte [ebx + edx + 2], cl
add edx, 4
cmp edx, esi
jl 0x100ffee0
mov ecx, dword [ebp - 0xdc]
lea edx, [ebp - 0xdc]
push edx
push 4
push dword [ebp - 0xd4]
lea eax, [ecx*4]
push ecx
push eax
push ebx
call fcn.10100370
mov edi, eax
add esp, 0x18
test edi, edi
je 0x100fff82
push 0x1023c470
push dword [ebp - 0xe4]
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
add esp, 0xc
test eax, eax
je 0x100fff4b
xor esi, esi
mov dword [ebp - 0xd4], esi
jmp 0x100fff51
mov esi, dword [ebp - 0xd4]
test esi, esi
jne 0x100fff61
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
jmp 0x100fff82
push esi
push dword [ebp - 0xdc]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 0x18
push ebx
call fcn.10108554
mov esi, dword [ebp - 0xec]
add esp, 4
push dword [ebp - 0xe8]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0xe0]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0xd8]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x80]
call fcn.1000f6a0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, 7
jbe 0x100fffe7
push eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x28]
push eax
call fcn.10024690
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x2c]
cmp eax, 7
jbe 0x10100016
push eax
push dword [ebp - 0x40]
lea eax, [ebp - 0x40]
push eax
call fcn.10024690
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
call fcn.100ee6f0
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.10107e25
mov esp, ebp
pop ebp
ret