Function at 0x5551a0
Capabilities:
Get common file path
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65f8e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
lea eax, [ebp - 0x14]
push edi
push eax
mov esi, ecx
call fcn.005bd6c0
mov ecx, dword [ebp - 0x14]
lea eax, [esi + 0x2dc]
push eax
push str.PreviewWNDState
push ecx
call fcn.005bd3d0
mov eax, dword [esi + 4]
add esp, 0x10
lea edx, [ebp - 0x3c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
push 3
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x40], ebx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp dword [esi + 0x2dc], 0
mov dword [ebp - 0x18], eax
je 0x555231
mov eax, dword [esi + 0x540]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, 0xffffffd3
sub edx, dword [ebp - 0x18]
jmp 0x555238
mov edx, 0xffffff52
sub edx, eax
mov ecx, dword [ebp - 0x30]
mov eax, dword [esi + 0x7a8]
add ecx, edx
mov edx, dword [ebp - 0x34]
push 0x40
mov dword [ebp - 0x30], ecx
sub ecx, dword [ebp - 0x38]
mov eax, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x3c]
sub edx, ecx
push edx
mov edx, dword [ebp - 0x38]
push edx
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x4c]
push 0x44
add eax, 3
sub ebx, eax
push ebx
sub edi, ecx
push edi
push eax
push ecx
mov ecx, dword [esi + 0x2c0]
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [esi + 0x7a0]
push 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esi + 0x5b4], 0
jne 0x5552c0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00554650
push 0
lea ebx, [esi + 0x790]
lea eax, [esi + 0x780]
push ebx
push eax
lea ecx, [esi + 0xa0]
call fcn.005b0d20
mov ecx, dword [esi + 0x5b4]
push eax
call fcn.00413e80
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 1
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 3
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x555349
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00401400
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push 0x104
push edi
push str.LogsDir
push ecx
call fcn.005bd4f0
add esp, 0x10
test eax, eax
jne 0x555411
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x104
or eax, ecx
jge 0x55538c
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00401400
mov edi, dword [ebp - 0x10]
push edi
push 1
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x5553bb
push str.SHGetFolderPathW__0__0x001a__0__SHGFP_TYPE_DEFAULT__strSysDir.GetBuffer__260__
push eax
lea ecx, [ebp - 0x4c]
call fcn.0040de50
push 0x6ba4dc
lea edx, [ebp - 0x4c]
push edx
call fcn.0060fb01
test edi, edi
jne 0x5553c3
xor eax, eax
jmp 0x5553e1
mov eax, edi
lea edx, [eax + 2]
jmp 0x5553d0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5553d0
sub eax, edx
sar eax, 1
js 0x555407
cmp eax, dword [edi - 8]
jg 0x555407
push 0x67b7ec
lea edx, [ebp - 0x10]
xor ecx, ecx
push str._sData_
mov dword [edi - 0xc], eax
push edx
mov word [edi + eax*2], cx
call fcn.00414990
add esp, 0xc
jmp 0x55544e
push 0x80070057
call fcn.004011d0
test edi, edi
jne 0x555419
xor eax, eax
jmp 0x555431
mov eax, edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x555420
sub eax, edx
sar eax, 1
js 0x555407
cmp eax, dword [edi - 8]
jg 0x555407
xor ecx, ecx
mov dword [edi - 0xc], eax
push 6
mov word [edi + eax*2], cx
push str.Data_
lea ecx, [ebp - 0x10]
call fcn.00401710
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, esi
call fcn.00554650
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
mov ecx, 0x700724
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 5
mov eax, dword [esi + 0x5b4]
mov ecx, dword [eax + 0x14]
mov ecx, dword [ecx - 0xc]
add eax, 0x14
test ecx, ecx
jle 0x5554cd
push 0x66ea40
push eax
lea edx, [ebp - 0x20]
push edx
call fcn.00428bb0
add esp, 0xc
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x18]
call fcn.004078d0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5554cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0x5b4]
add ecx, 0x10
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x28]
push eax
call fcn.00428b00
mov byte [ebp - 4], 8
push 0x66ea40
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.00428bb0
mov byte [ebp - 4], 9
lea edx, [ebp - 0x18]
push edx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00428b00
mov byte [ebp - 4], 0xa
push str.Screenshots
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00428bb0
add esp, 0x30
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x555542
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x555565
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x555588
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
push 0
push 0
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebx + 8]
mov dword [eax + 4], edx
mov edx, dword [ebx + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x780]
mov dword [eax + 0xc], edx
mov edx, dword [esi + 0x784]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 0x788]
mov dword [eax + 4], edx
mov edx, dword [esi + 0x78c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x1c]
push ecx
add eax, 0xfffffff0
mov edi, esp
mov dword [ebp - 0x28], esp
push eax
mov dword [ebp - 0x24], edi
call fcn.004011f0
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0x10
lea ecx, [esi + 0x2bc]
call fcn.00552ad0
lea ecx, [esi + 0x2bc]
call fcn.0054ffa0
mov eax, dword [esi + 0x7a0]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x55563a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x55565d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x555680
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5556a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret