Function at 0x48e450
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x280
push ebx
push esi
xor ebx, ebx
push 0x20a
lea eax, [ebp - 0x280]
push ebx
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
xor esi, esi
call fcn.004b03e0
mov eax, dword [ebp + 0x20]
add esp, 0xc
cmp eax, ebx
je 0x48e4b8
push 0x104
push eax
lea ecx, [ebp - 0x280]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea edx, [ebp - 0x280]
push edx
call fcn.004ad2f0
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x48e4b8
push str..png
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x48e4de
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.0043aaf0
add esp, 8
test al, al
je 0x48e4de
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x24]
push ecx
mov ecx, dword [ebp + 0x1c]
lea edx, [ebp - 0xc]
push edx
mov edx, dword [ebp + 0x18]
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call fcn.0048e270
add esp, 0x20
test eax, eax
jne 0x48e510
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
cmp word [ebp - 0x280], bx
jne 0x48e605
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x10]
movzx edx, word [ebp - 0x12]
movzx eax, word [ebp - 0x14]
push ecx
movzx ecx, word [ebp - 0x16]
push edx
movzx edx, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push ecx
push edx
cdq
mov ecx, 0x64
idiv ecx
push edx
lea edx, [ebp - 0x280]
push str._02u_02u_02u_02u_02u_02u
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x58
lea eax, [ebp - 0x74]
push ebx
push eax
call fcn.004b03e0
add esp, 0x2c
mov dword [ebp - 0x74], 0x58
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
mov dword [ebp + 0x20], ebx
cmp esi, ebx
je 0x48e590
lea ecx, [ebp + 0x20]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp + 0x20], eax
jne 0x48e5a0
mov dword [ebp - 0x70], esi
jmp 0x48e5a9
mov edx, dword [0x50b384]
mov dword [ebp - 0x70], edx
lea ecx, [ebp - 0x74]
lea eax, [ebp - 0x280]
mov edi, 1
push ecx
mov dword [ebp - 0x68], str.PNG__.png_
mov dword [ebp - 0x38], 0x4e0570
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 0x105
mov dword [ebp - 0x44], str.Save_screenshot
mov dword [ebp - 0x40], 0x88080e
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
je 0x48e600
lea edx, [ebp - 0x280]
push edx
call fcn.004ad2f0
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x48e605
mov dword [ebp - 8], edi
jmp 0x48e684
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
push edi
push eax
lea ecx, [ebp - 0x280]
push ecx
call fcn.0043afe0
add esp, 0xc
test al, al
je 0x48e629
mov dword [ebp - 8], 1
jmp 0x48e684
cmp dword [ebp - 4], ebx
je 0x48e694
cmp edi, ebx
je 0x48e684
cmp esi, ebx
je 0x48e684
push str..png
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
lea edx, [ebp - 0x280]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x48e684
mov ecx, dword [ebp - 4]
push ebx
lea eax, [ebp + 0x20]
push eax
push edi
push ecx
push esi
mov dword [ebp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x48e694
push eax
call fcn.00441300
add esp, 4
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret