Function at 0x403214
Capabilities:
Check if file exists

Disassembly:
push 0xcc
mov eax, 0x41b8b4
call fcn.0041a007
mov eax, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x74], 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.00411e0e
mov eax, dword [edi]
add esp, 0xc
cmp dword [eax + 0x558], ebx
je 0x403285
add eax, 0x350
cmp word [eax], bx
je 0x403285
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x84], eax
jmp 0x40328b
mov dword [ebp - 0x84], ebx
cmp dword [ebp - 0x84], ebx
je 0x4033a1
mov eax, dword [edi]
mov eax, dword [eax + 0x558]
add eax, dword [ebp - 0x84]
mov dword [ebp - 0x90], eax
je 0x403373
lea eax, [ebp - 0x70]
push esi
push eax
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x94], ebx
call fcn.004010c5
mov ebx, eax
call fcn.00403920
mov ebx, eax
lea eax, [ebp - 0x7c]
push 0x20
push eax
mov byte [ebp - 4], 2
call fcn.004010c5
call fcn.004038fb
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 3
call fcn.004010c5
lea esi, [ebp - 0x78]
call fcn.004017f4
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 - 0x74]
push edx
push ebx
push ecx
push 0x4211ca
push eax
push dword [edi]
call dword [ebp - 0x90]
mov esi, eax
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
call fcn.004016a7
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
call fcn.004016a7
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x70]
add eax, 0xfffffff0
call fcn.004016a7
test esi, esi
je 0x403371
cmp dword [ebp - 0x74], 0
je 0x403371
cmp dword [ebp - 0x94], 0
jbe 0x403371
push dword [ebp - 0x94]
lea ecx, [ebp - 0x30]
push dword [ebp - 0x74]
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 - 0x30]
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 0x403832
call fcn.00401810
lea ecx, [ebp - 0x6c]
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 - 0x50]
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 - 0x34], ebx
mov byte [ebp - 4], 6
mov eax, dword [edi]
lea ecx, [ebp - 0x88]
push ecx
mov ecx, dword [eax + 0x5d4]
call fcn.0040453a
cmp dword [ebp + 0xc], 0x60
mov byte [ebp - 4], 7
mov eax, str.MidDump.dmp
je 0x4033f1
mov eax, str..dmp
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x88]
call fcn.00404728
mov byte [ebp - 4], 8
push dword [eax]
lea eax, [ebp - 0x7c]
push eax
call fcn.00411959
add esp, 0x10
mov ebx, eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x70]
push eax
mov eax, edi
mov byte [ebp - 4], 9
call fcn.004038fb
push ebx
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0xa
call fcn.0040e54d
mov eax, dword [ebp - 0x70]
add esp, 0xc
add eax, 0xfffffff0
call fcn.004016a7
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
call fcn.004016a7
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
call fcn.004016a7
lea eax, [ebp - 0x78]
push str..txt
push eax
lea ecx, [ebp - 0x88]
call fcn.00404728
mov byte [ebp - 4], 0xb
push dword [eax]
lea eax, [ebp - 0x7c]
push eax
call fcn.00411959
add esp, 0x10
mov esi, eax
push 1
lea eax, [ebp - 0x70]
push eax
mov ebx, edi
mov byte [ebp - 4], 0xc
call fcn.00403920
push esi
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0xd
call fcn.0040e54d
mov eax, dword [ebp - 0x70]
add esp, 0xc
add eax, 0xfffffff0
call fcn.004016a7
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
call fcn.004016a7
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
call fcn.004016a7
xor ebx, ebx
cmp dword [0x428638], ebx
je 0x40351b
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1d4c0
push dword [edi + 0x28]
call esi
cmp dword [0x428638], ebx
je 0x40350a
push 0x7d0
push dword [edi + 0x28]
mov dword [0x428638], ebx
mov dword [0x428640], 1
call esi
mov eax, dword [edi + 0x28]
cmp eax, ebx
je 0x40351b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x28], ebx
push 2
lea eax, [ebp - 0x70]
push eax
mov ebx, edi
call fcn.00403920
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov eax, dword [ebp - 0x70]
add eax, 0xfffffff0
call fcn.004016a7
test esi, esi
je 0x4035af
lea eax, [ebp - 0x78]
push str.FMD5.txt
push eax
lea ecx, [ebp - 0x88]
call fcn.00404728
mov byte [ebp - 4], 0xe
push dword [eax]
lea eax, [ebp - 0x7c]
push eax
call fcn.00411959
add esp, 0x10
mov esi, eax
push 2
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 0xf
call fcn.00403920
push esi
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0x10
call fcn.0040e54d
mov eax, dword [ebp - 0x70]
add esp, 0xc
add eax, 0xfffffff0
call fcn.004016a7
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
call fcn.004016a7
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
call fcn.004016a7
push edi
call fcn.00404266
test eax, eax
je 0x403691
mov esi, dword [ebp - 0x90]
test byte [esi], 1
je 0x403691
mov eax, dword [esi + 8]
mov ebx, dword [eax]
add esi, 4
mov dword [ebp - 0x7c], eax
cmp esi, esi
je 0x4035e1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [ebp - 0x7c]
je 0x403691
cmp ebx, dword [esi + 4]
jne 0x4035f5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea eax, [ebp - 0xd8]
lea edi, [ebx + 8]
push eax
call fcn.00403879
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0x11
mov edi, dword [ebp - 0x74]
push eax
push edi
call fcn.004039ca
test eax, eax
je 0x403639
mov eax, dword [edi]
mov eax, dword [eax + 0x24]
lea ecx, [ebp - 0xd8]
test ecx, ecx
je 0x40366d
push eax
lea eax, [ebp - 0x6c]
push eax
mov edi, ecx
call fcn.00403c95
jmp 0x40366d
push dword [ebp - 0xd8]
lea eax, [ebp - 0x70]
push eax
call fcn.004118bd
push dword [ebp - 0xd4]
push dword [eax]
push str.GetDetail2:_invalid_filter._FilterName__s__LogCount__d_
push 0x420428
call fcn.00411e0e
mov eax, dword [ebp - 0x70]
add esp, 0x18
add eax, 0xfffffff0
call fcn.004016a7
lea edi, [ebp - 0xd8]
mov byte [ebp - 4], 7
call fcn.004038d7
cmp ebx, dword [esi + 4]
jne 0x403687
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [ebx]
mov edi, dword [ebp - 0x74]
jmp 0x4035d7
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.0040ebf9
test eax, eax
pop ecx
pop ecx
je 0x4037b4
mov ebx, dword [ebp - 0xa4]
test ebx, ebx
je 0x4037b4
mov eax, dword [ebp - 0xa0]
sub eax, ebx
sar eax, 2
je 0x4037b4
cmp ebx, dword [ebp - 0xa0]
jbe 0x4036f4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0xa4], eax
mov dword [ebp - 0x70], eax
jbe 0x40370b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [ebp - 0x70]
je 0x4037b4
cmp ebx, dword [ebp - 0xa0]
jb 0x403722
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx]
sub eax, 0x10
call fcn.00404f3d
lea edi, [eax + 0x10]
mov dword [ebp - 0x74], edi
push edi
mov byte [ebp - 4], 0x13
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x403792
push 0x5c
lea esi, [ebp - 0x74]
call fcn.00404616
mov edx, eax
lea eax, [ebp - 0x78]
push eax
inc edx
mov eax, esi
call fcn.004046b9
mov byte [ebp - 4], 0x14
push dword [eax]
lea eax, [ebp - 0x7c]
push eax
call fcn.00411959
push eax
mov eax, esi
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0x15
call fcn.0040e54d
mov eax, dword [ebp - 0x7c]
add esp, 0x14
add eax, 0xfffffff0
call fcn.004016a7
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
call fcn.004016a7
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0x12
call fcn.004016a7
cmp ebx, dword [ebp - 0xa0]
jb 0x4037ac
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add ebx, 4
jmp 0x40370b
lea eax, [ebp - 0x30]
push eax
lea esi, [ebp - 0x6c]
call fcn.00410b5d
cmp dword [ebp - 0x1c], 0x32000
jbe 0x4037e1
push dword [ebp + 0xc]
push dword [ebp - 0x1c]
push str.detail2_over_200k__lu__08X
push 0x420428
call fcn.00411e0e
add esp, 0x10
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x30]
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.00404949
mov eax, dword [ebp - 0x88]
add eax, 0xfffffff0
call fcn.004016a7
lea ecx, [ebp - 0x50]
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 - 0x6c]
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 - 0x30]
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.0041a08a
ret 8