Function at 0x403219
Capabilities:
Check if file exists

Disassembly:
push 0xcc
mov eax, 0x41ba26
call fcn.0041a287
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.0041209a
mov eax, dword [edi]
add esp, 0xc
cmp dword [eax + 0x558], ebx
je 0x40328a
add eax, 0x350
cmp word [eax], bx
je 0x40328a
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x84], eax
jmp 0x403290
mov dword [ebp - 0x84], ebx
cmp dword [ebp - 0x84], ebx
je 0x4033a6
mov eax, dword [edi]
mov eax, dword [eax + 0x558]
add eax, dword [ebp - 0x84]
mov dword [ebp - 0x90], eax
je 0x403378
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.00403925
mov ebx, eax
lea eax, [ebp - 0x7c]
push 0x20
push eax
mov byte [ebp - 4], 2
call fcn.004010c5
call fcn.00403900
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 3
call fcn.004010c5
lea esi, [ebp - 0x78]
call fcn.004017f9
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 0x4221ca
push eax
push dword [edi]
call dword [ebp - 0x90]
mov esi, eax
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
call fcn.004016a2
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
call fcn.004016a2
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x70]
add eax, 0xfffffff0
call fcn.004016a2
test esi, esi
je 0x403376
cmp dword [ebp - 0x74], 0
je 0x403376
cmp dword [ebp - 0x94], 0
jbe 0x403376
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 0x403837
call fcn.00401815
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.00404554
cmp dword [ebp + 0xc], 0x60
mov byte [ebp - 4], 7
mov eax, str.MidDump.dmp
je 0x4033f6
mov eax, str..dmp
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x88]
call fcn.00404737
mov byte [ebp - 4], 8
push dword [eax]
lea eax, [ebp - 0x7c]
push eax
call fcn.00411be5
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.00403900
push ebx
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0xa
call fcn.0040e92d
mov eax, dword [ebp - 0x70]
add esp, 0xc
add eax, 0xfffffff0
call fcn.004016a2
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
call fcn.004016a2
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
call fcn.004016a2
lea eax, [ebp - 0x78]
push str..txt
push eax
lea ecx, [ebp - 0x88]
call fcn.00404737
mov byte [ebp - 4], 0xb
push dword [eax]
lea eax, [ebp - 0x7c]
push eax
call fcn.00411be5
add esp, 0x10
mov esi, eax
push 1
lea eax, [ebp - 0x70]
push eax
mov ebx, edi
mov byte [ebp - 4], 0xc
call fcn.00403925
push esi
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0xd
call fcn.0040e92d
mov eax, dword [ebp - 0x70]
add esp, 0xc
add eax, 0xfffffff0
call fcn.004016a2
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
call fcn.004016a2
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
call fcn.004016a2
xor ebx, ebx
cmp dword [0x429638], ebx
je 0x403520
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1d4c0
push dword [edi + 0x28]
call esi
cmp dword [0x429638], ebx
je 0x40350f
push 0x7d0
push dword [edi + 0x28]
mov dword [0x429638], ebx
mov dword [0x429640], 1
call esi
mov eax, dword [edi + 0x28]
cmp eax, ebx
je 0x403520
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.00403925
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov eax, dword [ebp - 0x70]
add eax, 0xfffffff0
call fcn.004016a2
test esi, esi
je 0x4035b4
lea eax, [ebp - 0x78]
push str.FMD5.txt
push eax
lea ecx, [ebp - 0x88]
call fcn.00404737
mov byte [ebp - 4], 0xe
push dword [eax]
lea eax, [ebp - 0x7c]
push eax
call fcn.00411be5
add esp, 0x10
mov esi, eax
push 2
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 0xf
call fcn.00403925
push esi
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0x10
call fcn.0040e92d
mov eax, dword [ebp - 0x70]
add esp, 0xc
add eax, 0xfffffff0
call fcn.004016a2
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
call fcn.004016a2
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
call fcn.004016a2
push edi
call fcn.0040426b
test eax, eax
je 0x403696
mov esi, dword [ebp - 0x90]
test byte [esi], 1
je 0x403696
mov eax, dword [esi + 8]
mov ebx, dword [eax]
add esi, 4
mov dword [ebp - 0x7c], eax
cmp esi, esi
je 0x4035e6
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [ebp - 0x7c]
je 0x403696
cmp ebx, dword [esi + 4]
jne 0x4035fa
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea eax, [ebp - 0xd8]
lea edi, [ebx + 8]
push eax
call fcn.0040387e
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0x11
mov edi, dword [ebp - 0x74]
push eax
push edi
call fcn.004039cf
test eax, eax
je 0x40363e
mov eax, dword [edi]
mov eax, dword [eax + 0x24]
lea ecx, [ebp - 0xd8]
test ecx, ecx
je 0x403672
push eax
lea eax, [ebp - 0x6c]
push eax
mov edi, ecx
call fcn.00403c9a
jmp 0x403672
push dword [ebp - 0xd8]
lea eax, [ebp - 0x70]
push eax
call fcn.00411b49
push dword [ebp - 0xd4]
push dword [eax]
push str.GetDetail2:_invalid_filter._FilterName__s__LogCount__d_
push 0x421428
call fcn.0041209a
mov eax, dword [ebp - 0x70]
add esp, 0x18
add eax, 0xfffffff0
call fcn.004016a2
lea edi, [ebp - 0xd8]
mov byte [ebp - 4], 7
call fcn.004038dc
cmp ebx, dword [esi + 4]
jne 0x40368c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [ebx]
mov edi, dword [ebp - 0x74]
jmp 0x4035dc
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.0040efd9
test eax, eax
pop ecx
pop ecx
je 0x4037b9
mov ebx, dword [ebp - 0xa4]
test ebx, ebx
je 0x4037b9
mov eax, dword [ebp - 0xa0]
sub eax, ebx
sar eax, 2
je 0x4037b9
cmp ebx, dword [ebp - 0xa0]
jbe 0x4036f9
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 0x403710
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [ebp - 0x70]
je 0x4037b9
cmp ebx, dword [ebp - 0xa0]
jb 0x403727
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx]
sub eax, 0x10
call fcn.00404f08
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 0x403797
push 0x5c
lea esi, [ebp - 0x74]
call fcn.00404630
mov edx, eax
lea eax, [ebp - 0x78]
push eax
inc edx
mov eax, esi
call fcn.004046c8
mov byte [ebp - 4], 0x14
push dword [eax]
lea eax, [ebp - 0x7c]
push eax
call fcn.00411be5
push eax
mov eax, esi
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0x15
call fcn.0040e92d
mov eax, dword [ebp - 0x7c]
add esp, 0x14
add eax, 0xfffffff0
call fcn.004016a2
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
call fcn.004016a2
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0x12
call fcn.004016a2
cmp ebx, dword [ebp - 0xa0]
jb 0x4037b1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add ebx, 4
jmp 0x403710
lea eax, [ebp - 0x30]
push eax
lea esi, [ebp - 0x6c]
call fcn.00410da8
cmp dword [ebp - 0x1c], 0x32000
jbe 0x4037e6
push dword [ebp + 0xc]
push dword [ebp - 0x1c]
push str.detail2_over_200k__lu__08X
push 0x421428
call fcn.0041209a
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.0040497b
mov eax, dword [ebp - 0x88]
add eax, 0xfffffff0
call fcn.004016a2
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.0041a30a
ret 8