Function at 0x4e0e5c
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3dc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x80], 1
push ebx
lea eax, [esp + 0x84]
mov dword [esp + 0x88], ebx
push eax
lea eax, [esp + 0x54]
mov dword [esp + 0x90], ebx
push eax
mov dword [esp + 0x98], ebx
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.004e0bf3
test al, al
je 0x4e1282
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x10], eax
je 0x4e1282
sub eax, dword [esp + 0x10]
mov edx, str.Screenshot_is_saved_to_file._Size:
push eax
push ecx
mov ecx, 0x5e0f38
call fcn.0044348f
pop ecx
mov ecx, eax
call fcn.00442546
push eax
call fcn.00443642
pop ecx
lea eax, [esp + 0xa8]
push eax
call fcn.0051c8ed
pop ecx
lea eax, [esp + 0xa8]
push eax
call fcn.0051c847
pop ecx
push eax
push str._Y_m_d__H__M__S
lea eax, [esp + 0x198]
push 0x50
push eax
call fcn.0051ad62
add esp, 0x10
lea eax, [esp + 0x190]
lea ecx, [esp + 0x68]
push eax
call fcn.0043a56f
cmp dword [esp + 0x7c], 0x10
lea ecx, [esp + 0x68]
mov eax, dword [esp + 0x78]
cmovae ecx, dword [esp + 0x68]
add eax, ecx
cmp dword [esp + 0x7c], 0x10
lea ecx, [esp + 0x68]
cmovae ecx, dword [esp + 0x68]
push ecx
push eax
push ecx
lea ecx, [esp + 0x5c]
call fcn.0048af3c
cmp dword [ebp + 0x18], ebx
je 0x4e1034
mov esi, 0x54e058
lea eax, [ebp + 8]
push esi
push eax
mov edx, 0x55a118
lea ecx, [esp + 0xd0]
call fcn.0043dfa3
pop ecx
mov edx, eax
lea ecx, [esp + 0x20]
call fcn.0043de86
cmp dword [ebp + 0x34], 8
pop ecx
push dword [ebp + 0x30]
lea ecx, [ebp + 0x20]
cmovae ecx, dword [ebp + 0x20]
push ecx
mov ecx, eax
call fcn.0043d30e
push eax
lea ecx, [esp + 0x38]
call fcn.0043a41d
push esi
lea edx, [esp + 0x38]
lea ecx, [esp + 0xb4]
call fcn.0043de86
cmp dword [esp + 0x68], 8
pop ecx
push dword [esp + 0x60]
lea ecx, [esp + 0x54]
cmovae ecx, dword [esp + 0x54]
push ecx
mov ecx, eax
call fcn.0043d30e
push eax
lea ecx, [esp + 0x94]
call fcn.0043a41d
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x54]
call fcn.0043a3e7
lea ecx, [esp + 0x90]
call fcn.0043c274
lea ecx, [esp + 0xb0]
call fcn.0043c274
lea ecx, [esp + 0x34]
call fcn.0043c274
lea ecx, [esp + 0x1c]
call fcn.0043c274
lea ecx, [esp + 0xc8]
call fcn.0043c274
lea eax, [esp + 0x1e0]
push eax
push ebx
push ebx
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x4e1062
push ebx
push 0x556660
push str.Cant_find_PROGRAMDATA_folder
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4e1264
lea edi, [esp + 0x1e0]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x4e106c
push 0xb
pop ecx
mov esi, str.AeroadminScreenshots
lea eax, [esp + 0x1e0]
rep movsd dword es:[edi], dword [esi]
push ebx
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 7
cmp eax, 3
jne 0x4e110b
xor eax, eax
mov word [esp + 0x1c], ax
lea eax, [esp + 0x1e0]
push eax
call fcn.0043c2b9
push 0x15
push str.Cant_create_folder:
push ecx
lea ecx, [esp + 0x28]
call fcn.0043f0c9
push eax
lea ecx, [esp + 0x38]
call fcn.0043a41d
lea ecx, [esp + 0x1c]
call fcn.0043c274
cmp dword [esp + 0x48], 8
lea eax, [esp + 0x34]
push ebx
cmovae eax, dword [esp + 0x38]
push 0x556660
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x34]
jmp 0x4e125f
xor eax, eax
mov word [esp + 0x1c], ax
lea eax, [esp + 0x1e0]
push eax
call fcn.0043c2b9
push 0x559268
lea edx, [esp + 0x20]
lea ecx, [esp + 0xcc]
call fcn.0043de86
cmp dword [esp + 0x68], 8
pop ecx
push dword [esp + 0x60]
lea ecx, [esp + 0x54]
cmovae ecx, dword [esp + 0x54]
push ecx
mov ecx, eax
call fcn.0043d30e
push eax
lea ecx, [esp + 0xb4]
call fcn.0043a41d
push str..jpeg
lea edx, [esp + 0xb4]
lea ecx, [esp + 0x94]
call fcn.0043de86
pop ecx
lea ecx, [esp + 0xb0]
call fcn.0043c274
lea ecx, [esp + 0xc8]
call fcn.0043c274
lea ecx, [esp + 0x1c]
call fcn.0043c274
sub esp, 0xc
lea eax, [esp + 0x9c]
lea ecx, [esp + 0xec]
push eax
call fcn.004e12f9
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xe0]
sub eax, dword [esp + 0x10]
push ebx
push eax
push dword [esp + 0x18]
call fcn.004e138b
lea ecx, [esp + 0xe4]
call fcn.004ccf55
test eax, eax
jne 0x4e11f7
mov eax, dword [esp + 0xe0]
lea ecx, [esp + 0xe0]
push ebx
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
push eax
call fcn.0043c9b0
lea eax, [esp + 0x90]
mov edx, str.Screenshot:
push eax
lea ecx, [esp + 0x38]
call fcn.0043dfa3
cmp dword [esp + 0x4c], 8
lea eax, [esp + 0x38]
pop ecx
cmovae eax, dword [esp + 0x34]
push ebx
push str.AeroAdmin
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x34]
call fcn.0043c274
lea ecx, [esp + 0x148]
call fcn.004e12b6
lea eax, [esp + 0x148]
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.004eb501
pop ecx
lea ecx, [esp + 0x90]
call fcn.0043c274
lea ecx, [esp + 0x50]
call fcn.0043c274
lea ecx, [esp + 0x68]
call fcn.0043c446
push dword [esp + 0x4c]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
jmp 0x4e1294
mov edx, str.Cant_take_screenshot
mov ecx, 0x5e0f38
call fcn.0044348f
or ebx, 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0043c24c
lea ecx, [ebp + 8]
call fcn.0043c274
lea ecx, [ebp + 0x20]
call fcn.0043c274
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret