Function at 0x433420
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4349a1
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x441040]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc8], ecx
lea ecx, [ebp - 0x14]
call fcn.004013e0
mov dword [ebp - 4], 0
push 1
lea eax, [ebp - 0x14]
push eax
call fcn.004026b0
mov ecx, eax
call fcn.00402730
push str.datadiagrep.xml
lea ecx, [ebp - 0x14]
call fcn.00404090
lea ecx, [ebp - 0x14]
call fcn.00408910
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4334b6
mov dword [ebp - 0x9c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401420
mov eax, dword [ebp - 0x9c]
jmp 0x433767
lea ecx, [ebp - 0x94]
call fcn.004312d0
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x14]
call fcn.00408910
push eax
lea ecx, [ebp - 0x94]
call fcn.00430380
movzx ecx, al
test ecx, ecx
jne 0x433515
mov dword [ebp - 0xa0], 0x80004005
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.00402290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401420
mov eax, dword [ebp - 0xa0]
jmp 0x433767
push 0x43cc10
lea ecx, [ebp - 0x94]
call fcn.00402180
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x433561
mov dword [ebp - 0xa4], 0x80004005
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.00402290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401420
mov eax, dword [ebp - 0xa4]
jmp 0x433767
push 0x43cc18
mov ecx, dword [ebp - 0x18]
call fcn.00402180
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x433739
push 0x18
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
je 0x4335a7
mov ecx, dword [ebp - 0xac]
call fcn.004327f0
mov dword [ebp - 0xcc], eax
jmp 0x4335b1
mov dword [ebp - 0xcc], 0
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je 0x4336db
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x98]
call fcn.00432920
test eax, eax
jl 0x4336db
mov ecx, dword [ebp - 0x98]
call fcn.004331f0
test eax, eax
jne 0x433610
mov ecx, dword [ebp - 0x98]
call fcn.00408130
cmp eax, 0x14
jbe 0x4336c4
call fcn.00403ec0
mov ecx, eax
call fcn.004039f0
test eax, eax
je 0x43366d
lea edx, [ebp - 0xb0]
push edx
call fcn.00403f90
add esp, 4
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x98]
call fcn.004023d0
push eax
push 0xb
mov ecx, dword [ebp - 0xd4]
call fcn.004047a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb0]
call fcn.00408960
mov ecx, dword [ebp - 0x98]
call fcn.00433380
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0xb4], edx
cmp dword [ebp - 0xb4], 0
je 0x4336ae
push 1
mov ecx, dword [ebp - 0xb4]
call fcn.00403fc0
mov dword [ebp - 0xd8], eax
jmp 0x4336b8
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0x98], 0
jmp 0x4336d9
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0xc8]
add ecx, 0x18
call fcn.00404210
jmp 0x433724
cmp dword [ebp - 0x98], 0
je 0x433724
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0xbc], edx
cmp dword [ebp - 0xbc], 0
je 0x43371a
push 1
mov ecx, dword [ebp - 0xbc]
call fcn.00403fc0
mov dword [ebp - 0xdc], eax
jmp 0x433724
mov dword [ebp - 0xdc], 0
push str.report
mov ecx, dword [ebp - 0x10]
call fcn.00402160
mov dword [ebp - 0x10], eax
jmp 0x433571
mov dword [ebp - 0xc4], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.00402290
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401420
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0042b108
mov esp, ebp
pop ebp
ret