Function at 0x403fc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42804b
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x436024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], 0
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 - 4], 1
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x558]
push edx
push str.GetLogInfo__dwGetLogInfoOff_d
push str.bugreport
call fcn.00419910
mov eax, dword [ebx]
add esp, 0xc
cmp dword [eax + 0x558], 0
je 0x404208
add eax, 0x350
cmp word [eax], 0
je 0x404208
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [ebp - 0x6c], eax
je 0x404208
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x558]
add ecx, eax
mov dword [ebp - 0xa8], ecx
je 0x4041dd
xor eax, eax
test byte [0x436680], 1
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
jne 0x4040a1
or dword [0x436680], 1
call fcn.00401bc0
push 0x428640
call fcn.0042585b
add esp, 4
push 1
lea edx, [ebp - 0x78]
push edx
mov ecx, 0x436684
call fcn.00404a30
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 2
test byte [0x436680], 1
jne 0x4040dd
or dword [0x436680], 1
call fcn.00401bc0
push 0x428640
call fcn.0042585b
add esp, 4
mov esi, 0x20
lea edi, [ebp - 0x80]
mov eax, 0x436684
call fcn.00404a00
mov edi, eax
mov byte [ebp - 4], 3
test byte [0x436680], 1
jne 0x404117
or dword [0x436680], 1
call fcn.00401bc0
push 0x428640
call fcn.0042585b
add esp, 4
lea esi, [ebp - 0x9c]
mov eax, 0x436684
call fcn.00401a60
mov ecx, dword [ebp - 0xac]
push 0
lea esi, [ebp - 0x70]
push esi
mov byte [ebp - 4], 4
mov ecx, dword [ecx]
mov edx, dword [edi]
mov eax, dword [eax]
lea esi, [ebp - 0x74]
push esi
push ecx
push edx
mov edx, dword [ebx]
push 0x42e552
push eax
push edx
call dword [ebp - 0xa8]
mov esi, eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x9c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40417a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x80]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40419d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4041c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4041dd
mov ecx, dword [ebp - 0x74]
test ecx, ecx
je 0x4041dd
mov eax, dword [ebp - 0x70]
test eax, eax
jbe 0x4041dd
push eax
push ecx
lea ecx, [ebp - 0x2c]
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_]
mov ecx, dword [ebp - 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [ebp - 0xa4]
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
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 - 0xa0], 1
jmp 0x404854
call fcn.00401a90
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x68]
push eax
call fcn.00401b00
mov byte [ebp - 4], 5
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x5d4]
lea edx, [ebp - 0x88]
push edx
call fcn.00405e20
mov edi, dword [ebp + 0xc]
cmp edi, 0x60
mov byte [ebp - 4], 6
mov ebx, str.MidDump.dmp
je 0x40424a
mov ebx, str..dmp
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.004060b0
add esp, 8
mov byte [ebp - 4], 7
mov eax, dword [eax]
lea esi, [ebp - 0x78]
call fcn.00419060
mov ebx, eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x74]
mov esi, edi
lea edi, [ebp - 0x6c]
call fcn.00404a00
push ebx
push eax
lea edx, [ebp - 0x68]
push edx
mov byte [ebp - 4], 9
call fcn.00414da0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4042b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4042d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x80]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4042f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x80]
push edx
mov ebx, str..txt
call fcn.004060b0
add esp, 8
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
lea esi, [ebp - 0x78]
call fcn.00419060
mov esi, eax
mov bl, 0xb
mov byte [ebp - 4], bl
mov edi, dword [ebp - 0x74]
push 1
lea eax, [ebp - 0x6c]
push eax
mov ecx, edi
call fcn.00404a30
push esi
push eax
lea ecx, [ebp - 0x68]
push ecx
mov byte [ebp - 4], 0xc
call fcn.00414da0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40436a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40438d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x80]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4043b0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
cmp dword [0x4366b8], ebx
je 0x4043ff
mov ecx, dword [edi + 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1d4c0
push ecx
call esi
cmp dword [0x4366b8], ebx
je 0x4043ee
mov edx, dword [edi + 0x28]
push 0x7d0
push edx
mov dword [0x4366b8], ebx
mov dword [0x4366c0], 1
call esi
mov eax, dword [edi + 0x28]
cmp eax, ebx
je 0x4043ff
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x28], ebx
push 2
lea eax, [ebp - 0x6c]
push eax
mov ecx, edi
call fcn.00404a30
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404436
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x4044f2
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x80]
push edx
mov ebx, str.FMD5.txt
call fcn.004060b0
add esp, 8
mov byte [ebp - 4], 0xd
mov eax, dword [eax]
lea esi, [ebp - 0x78]
call fcn.00419060
mov esi, eax
push 2
lea eax, [ebp - 0x6c]
mov bl, 0xe
push eax
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.00404a30
push esi
push eax
lea ecx, [ebp - 0x68]
push ecx
mov byte [ebp - 4], 0xf
call fcn.00414da0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4044ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4044cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x80]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4044f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call fcn.00405a20
test eax, eax
je 0x404603
mov esi, dword [ebp - 0x9c]
test byte [esi], 1
je 0x404603
mov eax, dword [esi + 8]
mov ebx, dword [eax]
add esi, 4
mov ecx, eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x80], ecx
cmp esi, esi
je 0x40452c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, dword [ebp - 0x80]
je 0x404603
cmp ebx, dword [esi + 4]
jne 0x404540
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
lea edx, [ebp - 0xd8]
lea edi, [ebx + 8]
push edx
call fcn.004048f0
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0x10
mov esi, dword [ebp - 0x74]
push eax
push esi
call fcn.00404b50
test eax, eax
je 0x404584
mov ecx, dword [esi]
mov eax, dword [ecx + 0x24]
lea edx, [ebp - 0xd8]
test edx, edx
je 0x4045d1
push eax
lea eax, [ebp - 0x68]
push eax
mov ecx, edx
call fcn.004051c0
jmp 0x4045d1
mov ebx, dword [ebp - 0xd8]
lea ecx, [ebp - 0x6c]
push ecx
call fcn.00418ed0
mov edx, dword [ebp - 0xd4]
mov eax, dword [eax]
add esp, 4
push edx
push eax
push str.GetDetail2:_invalid_filter._FilterName__s__LogCount__d_
push 0x42d7ac
call fcn.00419910
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4045d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0xd8]
mov byte [ebp - 4], 6
call fcn.00404980
mov esi, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x70]
cmp esi, dword [ecx + 4]
jne 0x4045f1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esi]
mov esi, dword [ebp - 0x70]
mov edi, dword [ebp - 0x74]
mov dword [ebp - 0x78], edx
mov ebx, edx
jmp 0x404522
xor esi, esi
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x8c], esi
mov byte [ebp - 4], 0x11
mov eax, dword [edi]
lea ecx, [ebp - 0x98]
push ecx
mov ecx, dword [eax + 0x5d4]
call fcn.00415740
add esp, 4
test eax, eax
je 0x404794
mov ecx, dword [ebp - 0x94]
cmp ecx, esi
je 0x404794
mov eax, dword [ebp - 0x90]
mov edx, eax
sub edx, ecx
sar edx, 2
je 0x404794
cmp ecx, eax
mov esi, ecx
jbe 0x404673
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x94]
cmp ecx, eax
mov ebx, esi
mov dword [ebp - 0x6c], eax
jbe 0x404690
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp - 0x90]
jmp 0x404690
cmp ebx, dword [ebp - 0x6c]
je 0x404794
cmp ebx, eax
jb 0x4046a3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx]
sub eax, 0x10
call fcn.00406e20
lea edi, [eax + 0x10]
mov dword [ebp - 0x70], edi
push edi
mov byte [ebp - 4], 0x12
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x404756
push 0x5c
push edi
call dword [sym.imp.MSVCR80.dll_wcsrchr]
add esp, 8
test eax, eax
jne 0x4046db
or eax, 0xffffffff
jmp 0x4046df
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea esi, [ebp - 0x80]
lea edx, [ebp - 0x70]
call fcn.00405fe0
mov byte [ebp - 4], 0x13
mov eax, dword [eax]
lea esi, [ebp - 0x78]
call fcn.00419060
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x68]
push ecx
mov byte [ebp - 4], 0x14
call fcn.00414da0
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404733
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x80]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404756
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov byte [ebp - 4], 0x11
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404776
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [ebp - 0x90]
cmp ebx, eax
jb 0x40478c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp - 0x90]
add ebx, 4
jmp 0x404690
lea edi, [ebp - 0x2c]
lea esi, [ebp - 0x68]
call fcn.00417f80
mov eax, dword [ebp - 0x18]
cmp eax, 0x32000
jbe 0x4047c0
mov ecx, dword [ebp + 0xc]
push ecx
push eax
push str.detail2_over_200k__lu__08X
push 0x42d7ac
call fcn.00419910
add esp, 0x10
mov esi, dword [ebp - 0xa4]
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
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 eax, dword [ebp - 0x94]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0xa0], 1
je 0x404802
mov edi, dword [ebp - 0x90]
call fcn.004072f0
mov eax, dword [ebp - 0x94]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x88]
add eax, 0xfffffff0
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40483a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x15
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_]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
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, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042575e
mov esp, ebp
pop ebp
ret 8