Function at 0x4033a7
Capabilities:
Check if file exists

Disassembly:
push 0xcc
mov eax, 0x420986
call fcn.0041eefb
mov eax, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x98], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
xor esi, esi
inc esi
mov dword [ebp - 4], esi
mov eax, dword [edi]
push dword [eax + 0x558]
push str.GetLogInfo__dwGetLogInfoOff_d
push str.bugreport
call fcn.00414b27
mov eax, dword [edi]
add esp, 0xc
cmp dword [eax + 0x558], ebx
je 0x403418
add eax, 0x350
cmp word [eax], bx
je 0x403418
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x84], eax
jmp 0x40341e
mov dword [ebp - 0x84], ebx
cmp dword [ebp - 0x84], ebx
je 0x403534
mov eax, dword [edi]
mov eax, dword [eax + 0x558]
add eax, dword [ebp - 0x84]
mov dword [ebp - 0x90], eax
je 0x403506
lea eax, [ebp - 0x6c]
push esi
push eax
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x94], ebx
call fcn.004010c5
mov ebx, eax
call fcn.00403ace
mov ebx, eax
lea eax, [ebp - 0x74]
push 0x20
push eax
mov byte [ebp - 4], 2
call fcn.004010c5
call fcn.00403aa9
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 3
call fcn.004010c5
lea esi, [ebp - 0x7c]
call fcn.004017e3
mov ecx, dword [ebp - 0xac]
push 0
lea edx, [ebp - 0x94]
push edx
mov byte [ebp - 4], 4
mov ebx, dword [ebx]
mov ecx, dword [ecx]
mov eax, dword [eax]
lea edx, [ebp - 0x70]
push edx
push ebx
push ecx
push 0x42753a
push eax
push dword [edi]
call dword [ebp - 0x90]
mov esi, eax
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
call fcn.00401689
mov eax, dword [ebp - 0x74]
add eax, 0xfffffff0
call fcn.00401689
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffff0
call fcn.00401689
test esi, esi
je 0x403504
cmp dword [ebp - 0x70], 0
je 0x403504
cmp dword [ebp - 0x94], 0
jbe 0x403504
push dword [ebp - 0x94]
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x70]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
xor ebx, ebx
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov dword [ebp - 0x98], 1
mov byte [ebp - 4], bl
jmp 0x4039e0
call fcn.004017ff
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x90], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 6
mov eax, dword [edi]
lea ecx, [ebp - 0x88]
push ecx
mov ecx, dword [eax + 0x5d4]
call fcn.004047a6
cmp dword [ebp + 0xc], 0x60
mov byte [ebp - 4], 7
mov eax, str.MidDump.dmp
je 0x403584
mov eax, str..dmp
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x88]
call fcn.00404989
mov byte [ebp - 4], 8
push dword [eax]
lea eax, [ebp - 0x74]
push eax
call fcn.0041465e
add esp, 0x10
mov ebx, eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x6c]
push eax
mov eax, edi
mov byte [ebp - 4], 9
call fcn.00403aa9
push ebx
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0xa
call fcn.004111f2
mov eax, dword [ebp - 0x6c]
add esp, 0xc
add eax, 0xfffffff0
call fcn.00401689
mov eax, dword [ebp - 0x74]
add eax, 0xfffffff0
call fcn.00401689
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
call fcn.00401689
lea eax, [ebp - 0x7c]
push str..txt
push eax
lea ecx, [ebp - 0x88]
call fcn.00404989
mov byte [ebp - 4], 0xb
push dword [eax]
lea eax, [ebp - 0x74]
push eax
call fcn.0041465e
add esp, 0x10
mov esi, eax
push 1
lea eax, [ebp - 0x6c]
push eax
mov ebx, edi
mov byte [ebp - 4], 0xc
call fcn.00403ace
push esi
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0xd
call fcn.004111f2
mov eax, dword [ebp - 0x6c]
add esp, 0xc
add eax, 0xfffffff0
call fcn.00401689
mov eax, dword [ebp - 0x74]
add eax, 0xfffffff0
call fcn.00401689
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
call fcn.00401689
xor ebx, ebx
cmp dword [0x432f3c], ebx
je 0x4036ae
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1d4c0
push dword [edi + 0x2c]
call esi
cmp dword [0x432f3c], ebx
je 0x40369d
push 0x7d0
push dword [edi + 0x2c]
mov dword [0x432f3c], ebx
mov dword [0x432f44], 1
call esi
mov eax, dword [edi + 0x2c]
cmp eax, ebx
je 0x4036ae
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x2c], ebx
push 2
lea eax, [ebp - 0x6c]
push eax
mov ebx, edi
call fcn.00403ace
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffff0
call fcn.00401689
test esi, esi
je 0x403742
lea eax, [ebp - 0x7c]
push str.FMD5.txt
push eax
lea ecx, [ebp - 0x88]
call fcn.00404989
mov byte [ebp - 4], 0xe
push dword [eax]
lea eax, [ebp - 0x74]
push eax
call fcn.0041465e
add esp, 0x10
mov esi, eax
push 2
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0xf
call fcn.00403ace
push esi
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0x10
call fcn.004111f2
mov eax, dword [ebp - 0x6c]
add esp, 0xc
add eax, 0xfffffff0
call fcn.00401689
mov eax, dword [ebp - 0x74]
add eax, 0xfffffff0
call fcn.00401689
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
call fcn.00401689
push edi
call fcn.0040447a
test eax, eax
je 0x40383f
mov ebx, dword [ebp - 0x90]
test byte [ebx + 4], 1
je 0x40383f
mov eax, dword [ebx + 0xc]
mov esi, dword [eax]
add ebx, 8
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x78], 0
je 0x40377c
cmp dword [ebp - 0x78], ebx
je 0x403782
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [ebp - 0x7c]
je 0x40383f
cmp dword [ebp - 0x78], 0
jne 0x403797
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp - 0x78]
cmp esi, dword [eax + 4]
jne 0x4037a5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea eax, [ebp - 0xd8]
lea edi, [esi + 8]
push eax
call fcn.00403a27
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0x11
mov esi, dword [ebp - 0x70]
push eax
push esi
call fcn.00403b78
test eax, eax
je 0x4037e9
mov eax, dword [esi]
mov eax, dword [eax + 0x24]
lea ecx, [ebp - 0xd8]
test ecx, ecx
je 0x40381d
push eax
lea eax, [ebp - 0x68]
push eax
mov edi, ecx
call fcn.00403e37
jmp 0x40381d
push dword [ebp - 0xd8]
lea eax, [ebp - 0x6c]
push eax
call fcn.004145c2
push dword [ebp - 0xd4]
push dword [eax]
push str.GetDetail2:_invalid_filter._FilterName__s__LogCount__d_
push 0x426560
call fcn.00414b27
mov eax, dword [ebp - 0x6c]
add esp, 0x18
add eax, 0xfffffff0
call fcn.00401689
lea edi, [ebp - 0xd8]
mov byte [ebp - 4], 7
call fcn.00403a85
lea esi, [ebp - 0x78]
call fcn.0040512e
mov esi, dword [ebp - 0x74]
mov edi, dword [ebp - 0x70]
jmp 0x403771
xor eax, eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 0x12
mov eax, dword [edi]
push dword [eax + 0x5d4]
lea eax, [ebp - 0xa8]
push eax
call fcn.004118a2
test eax, eax
pop ecx
pop ecx
je 0x403962
mov ebx, dword [ebp - 0xa4]
test ebx, ebx
je 0x403962
mov eax, dword [ebp - 0xa0]
sub eax, ebx
sar eax, 2
je 0x403962
cmp ebx, dword [ebp - 0xa0]
jbe 0x4038a2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0xa4], eax
mov dword [ebp - 0x6c], eax
jbe 0x4038b9
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [ebp - 0x6c]
je 0x403962
cmp ebx, dword [ebp - 0xa0]
jb 0x4038d0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx]
sub eax, 0x10
call fcn.004052e9
lea edi, [eax + 0x10]
mov dword [ebp - 0x70], edi
push edi
mov byte [ebp - 4], 0x13
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x403940
push 0x5c
lea esi, [ebp - 0x70]
call fcn.00404882
mov edx, eax
lea eax, [ebp - 0x7c]
push eax
inc edx
mov eax, esi
call fcn.0040491a
mov byte [ebp - 4], 0x14
push dword [eax]
lea eax, [ebp - 0x74]
push eax
call fcn.0041465e
push eax
mov eax, esi
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0x15
call fcn.004111f2
mov eax, dword [ebp - 0x74]
add esp, 0x14
add eax, 0xfffffff0
call fcn.00401689
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
call fcn.00401689
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0x12
call fcn.00401689
cmp ebx, dword [ebp - 0xa0]
jb 0x40395a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add ebx, 4
jmp 0x4038b9
lea eax, [ebp - 0x2c]
push eax
lea esi, [ebp - 0x68]
call fcn.0041385a
cmp dword [ebp - 0x18], 0x32000
jbe 0x40398f
push dword [ebp + 0xc]
push dword [ebp - 0x18]
push str.detail2_over_200k__lu__08X
push 0x426560
call fcn.00414b27
add esp, 0x10
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea esi, [ebp - 0xa8]
mov dword [ebp - 0x98], 1
call fcn.00404cc5
mov eax, dword [ebp - 0x88]
add eax, 0xfffffff0
call fcn.00401689
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x16
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x8c]
call fcn.0041ef7e
ret 8