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

Disassembly:
sub esp, 0x68
push ebx
push ebp
call fcn.10003660
mov ebp, eax
push ebp
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x14], ebx
jne 0x100036da
mov edx, dword [esp + 0x74]
mov dword [esp + 0x14], eax
push eax
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x1c]
push 8
push ecx
push edx
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop ebx
add esp, 0x68
ret
push esi
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
push ebx
call esi
mov ecx, dword [esp + 0x88]
mov edi, eax
mov eax, dword [esp + 0x8c]
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
lea edx, [esp + 0x30]
push edx
push ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
push ebx
call esi
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov esi, eax
mov eax, dword [esp + 0x3c]
sub eax, edx
mov edx, dword [esp + 0x30]
sub ecx, edx
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0
push esi
push ebp
call fcn.100035b0
add esp, 0xc
lea edx, [esp + 0x40]
push edx
push ebp
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x40]
push eax
push ebp
call fcn.100023a0
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x94]
sub ecx, eax
add esp, 8
cmp edx, ecx
mov dword [esp + 0x10], edx
jb 0x10003787
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x88]
sub edx, ecx
cmp ebx, edx
jae 0x1000379e
mov edx, ebx
mov ebx, dword [esp + 0x34]
push 0xcc0020
sub eax, ebx
mov ebx, dword [esp + 0x88]
add eax, ebx
mov ebx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x88]
sub ecx, ebx
xor ebx, ebx
add ecx, eax
push ecx
mov ecx, dword [esp + 0x1c]
push esi
push ecx
push edx
push ebx
push ebx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
neg eax
lea esi, [ecx*4 + 3]
mov dword [esp + 0x50], 0x28
and esi, 0xfffffffc
mov dword [esp + 0x54], ecx
imul esi, eax
neg esi
push esi
mov dword [esp + 0x5c], eax
mov word [esp + 0x60], 1
mov word [esp + 0x62], 0x20
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x18]
add esp, 4
mov ebx, eax
lea eax, [esp + 0x50]
push 0
push eax
push ebx
push ecx
push 0
push edx
push edi
call dword [sym.imp.GDI32.dll_GetDIBits]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 0x1c]
push ecx
push ebp
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [esp + 0x7c]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [esp + 0x24]
push 0
push edx
lea eax, [esp + 0x30]
push 8
push eax
push edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], 0
call ebp
push 0
lea ecx, [esp + 0x28]
push ecx
push esi
push ebx
push edi
call ebp
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret