Function at 0x4013c0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x82c
mov eax, dword [0x449f6c]
xor eax, esp
mov dword [esp + 0x828], eax
push ebx
push ebp
mov ebp, dword [esp + 0x838]
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x636]
push ecx
mov word [esp + 0x638], ax
call fcn.00428a90
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x232]
push eax
mov word [esp + 0x234], dx
call fcn.00428a90
mov ebx, dword [esp + 0x860]
add esp, 0x18
mov dword [esp + 0xc], 0
test bl, bl
jne 0x401440
lea ecx, [esp + 0xc]
push ecx
push fcn.004013c0
push 6
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov eax, dword [esp + 0xc]
push 0x104
lea edx, [esp + 0x220]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x21c]
push ecx
lea edx, [esp + 0x630]
push 0x104
push edx
call fcn.004239d0
add esp, 0xc
lea eax, [esp + 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x1e]
push edx
mov word [esp + 0x20], cx
call fcn.00428a90
add esp, 0xc
push 0x441e54
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
push 0x1a
lea ecx, [esp + 0x1c]
push ecx
push 0
call eax
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.ScreenSnapshotTool
lea edx, [esp + 0x18]
push edx
call edi
push str.dump
lea eax, [esp + 0x18]
push eax
call edi
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4014fa
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push esi
lea esi, [esp + 0x220]
call fcn.004011d0
pop esi
test al, al
jne 0x401526
pop edi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x828]
xor ecx, esp
call fcn.004239c1
add esp, 0x82c
ret
lea eax, [esp + 0x14]
push eax
push str.1.1.0.3000176
lea ecx, [esp + 0x224]
push ecx
push str.allinone
call fcn.00421180
add esp, 0x10
test eax, eax
je 0x40150c
push str.0x1033
call fcn.00422440
push 0x441ef8
call fcn.00422710
push str.dump.thescreensnapshot.com
call fcn.00422530
push str.dump.thescreensnapshot.com
call fcn.00422620
push str.ScreenSnapshotTool_Crash
call fcn.00422920
push 1
lea edx, [esp + 0x28]
push edx
push 0x100
push str.SendVal
push str.softwareScreenSnapshotToolDumpSetting
mov dword [esp + 0x38], 1
call fcn.004012b0
add esp, 0x28
test eax, eax
je 0x4015ac
mov eax, dword [esp + 0x10]
push eax
jmp 0x4015ae
push 1
call fcn.00422800
add esp, 4
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x42e]
push edx
mov word [esp + 0x430], cx
call fcn.00428a90
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x434]
push 0x104
push ecx
call fcn.004239d0
add esp, 0x18
push str.BugReportConfig.ini
lea edx, [esp + 0x428]
push edx
call edi
lea eax, [esp + 0x424]
push eax
push 0x441ff8
push 0x441ffc
push str.BugReportConfig
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [esp + 0x844]
mov edx, dword [esp + 0x840]
push ebx
push 0
push 0
push ecx
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x234]
push ecx
push str.1.1.0.3000176
push ebp
push 0
push 0
mov edx, ecx
push edx
lea eax, [esp + 0x65c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push str.allinone
call fcn.004210d0
mov ecx, dword [esp + 0x86c]
add esp, 0x38
pop edi
cmp eax, 1
pop ebp
sete al
pop ebx
xor ecx, esp
mov byte [0x44e54c], al
call fcn.004239c1
add esp, 0x82c
ret