Function at 0x404190
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x82c
mov eax, dword [0x4a4100]
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.00474b70
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x232]
push eax
mov word [esp + 0x234], dx
call fcn.00474b70
mov ebx, dword [esp + 0x860]
add esp, 0x18
mov dword [esp + 0xc], 0
test bl, bl
jne 0x404210
lea ecx, [esp + 0xc]
push ecx
push fcn.00404190
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.0046f46b
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.00474b70
add esp, 0xc
push 0x492cd4
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 0x4042ca
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push esi
lea esi, [esp + 0x220]
call fcn.00403fa0
pop esi
test al, al
jne 0x4042f6
pop edi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x828]
xor ecx, esp
call fcn.0046f01c
add esp, 0x82c
ret
lea eax, [esp + 0x14]
push eax
push 0x492bac
lea ecx, [esp + 0x224]
push ecx
push str.allinone
call fcn.0046c7d0
add esp, 0x10
test eax, eax
je 0x4042dc
push str.0x1033
call fcn.0046da90
push 0x492d44
call fcn.0046dd60
push str.dump.thescreensnapshot.com
call fcn.0046db80
push str.dump.thescreensnapshot.com
call fcn.0046dc70
push str.ScreenSnapshotTool_Crash
call fcn.0046df70
push 1
lea edx, [esp + 0x28]
push edx
push 0x100
push str.SendVal
push str.softwareScreenSnapshotToolDumpSetting
mov dword [esp + 0x38], 1
call fcn.00404080
add esp, 0x28
test eax, eax
je 0x40437c
mov eax, dword [esp + 0x10]
push eax
jmp 0x40437e
push 1
call fcn.0046de50
add esp, 4
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x42e]
push edx
mov word [esp + 0x430], cx
call fcn.00474b70
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x434]
push 0x104
push ecx
call fcn.0046f46b
add esp, 0x18
push str.BugReportConfig.ini
lea edx, [esp + 0x428]
push edx
call edi
lea eax, [esp + 0x424]
push eax
push 0x492a90
push str.UseNewCgi
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 0x492bac
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.0046c720
mov ecx, dword [esp + 0x86c]
add esp, 0x38
pop edi
cmp eax, 1
pop ebp
sete al
pop ebx
xor ecx, esp
mov byte [0x4aacd0], al
call fcn.0046f01c
add esp, 0x82c
ret