Function at 0x403246
Capabilities:
Check if file exists

Disassembly:
push 0xcc
mov eax, 0x41bf2c
call fcn.0041a667
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 [0x41d248]
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.004124b5
mov eax, dword [edi]
add esp, 0xc
cmp dword [eax + 0x558], ebx
je 0x4032b7
add eax, 0x350
cmp word [eax], bx
je 0x4032b7
push eax
call dword [0x41d0e8]
mov dword [ebp - 0x84], eax
jmp 0x4032bd
mov dword [ebp - 0x84], ebx
cmp dword [ebp - 0x84], ebx
je 0x4033d3
mov eax, dword [edi]
mov eax, dword [eax + 0x558]
add eax, dword [ebp - 0x84]
mov dword [ebp - 0x90], eax
je 0x4033a5
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.00403952
mov ebx, eax
lea eax, [ebp - 0x7c]
push 0x20
push eax
mov byte [ebp - 4], 2
call fcn.004010c5
call fcn.0040392d
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 3
call fcn.004010c5
lea esi, [ebp - 0x78]
call fcn.004017af
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 0x42220a
push eax
push dword [edi]
call dword [ebp - 0x90]
mov esi, eax
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
call fcn.00401677
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
call fcn.00401677
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x70]
add eax, 0xfffffff0
call fcn.00401677
test esi, esi
je 0x4033a3
cmp dword [ebp - 0x74], 0
je 0x4033a3
cmp dword [ebp - 0x94], 0
jbe 0x4033a3
push dword [ebp - 0x94]
lea ecx, [ebp - 0x30]
push dword [ebp - 0x74]
call dword [0x41d214]
xor ebx, ebx
push dword [ebp - 0x84]
call dword [0x41d124]
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x30]
push eax
call dword [0x41d1d0]
mov dword [ebp - 0x98], 1
mov byte [ebp - 4], bl
jmp 0x403864
call fcn.004017cb
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x90], eax
call dword [0x41d248]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call dword [0x41d248]
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.00404581
cmp dword [ebp + 0xc], 0x60
mov byte [ebp - 4], 7
mov eax, str.MidDump.dmp
je 0x403423
mov eax, str..dmp
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x88]
call fcn.0040476f
mov byte [ebp - 4], 8
push dword [eax]
lea eax, [ebp - 0x7c]
push eax
call fcn.00412000
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.0040392d
push ebx
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0xa
call fcn.0040ec6a
mov eax, dword [ebp - 0x70]
add esp, 0xc
add eax, 0xfffffff0
call fcn.00401677
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
call fcn.00401677
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
call fcn.00401677
lea eax, [ebp - 0x78]
push str..txt
push eax
lea ecx, [ebp - 0x88]
call fcn.0040476f
mov byte [ebp - 4], 0xb
push dword [eax]
lea eax, [ebp - 0x7c]
push eax
call fcn.00412000
add esp, 0x10
mov esi, eax
push 1
lea eax, [ebp - 0x70]
push eax
mov ebx, edi
mov byte [ebp - 4], 0xc
call fcn.00403952
push esi
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0xd
call fcn.0040ec6a
mov eax, dword [ebp - 0x70]
add esp, 0xc
add eax, 0xfffffff0
call fcn.00401677
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
call fcn.00401677
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
call fcn.00401677
xor ebx, ebx
cmp dword [0x42ac88], ebx
je 0x40354d
mov esi, dword [0x41d110]
push 0x1d4c0
push dword [edi + 0x28]
call esi
cmp dword [0x42ac88], ebx
je 0x40353c
push 0x7d0
push dword [edi + 0x28]
mov dword [0x42ac88], ebx
mov dword [0x42ac90], 1
call esi
mov eax, dword [edi + 0x28]
cmp eax, ebx
je 0x40354d
push eax
call dword [0x41d0c0]
mov dword [edi + 0x28], ebx
push 2
lea eax, [ebp - 0x70]
push eax
mov ebx, edi
call fcn.00403952
push dword [eax]
call dword [0x41d41c]
mov esi, eax
mov eax, dword [ebp - 0x70]
add eax, 0xfffffff0
call fcn.00401677
test esi, esi
je 0x4035e1
lea eax, [ebp - 0x78]
push str.FMD5.txt
push eax
lea ecx, [ebp - 0x88]
call fcn.0040476f
mov byte [ebp - 4], 0xe
push dword [eax]
lea eax, [ebp - 0x7c]
push eax
call fcn.00412000
add esp, 0x10
mov esi, eax
push 2
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 0xf
call fcn.00403952
push esi
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0x10
call fcn.0040ec6a
mov eax, dword [ebp - 0x70]
add esp, 0xc
add eax, 0xfffffff0
call fcn.00401677
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
call fcn.00401677
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
call fcn.00401677
push edi
call fcn.00404298
test eax, eax
je 0x4036c3
mov esi, dword [ebp - 0x90]
test byte [esi], 1
je 0x4036c3
mov eax, dword [esi + 8]
mov ebx, dword [eax]
add esi, 4
mov dword [ebp - 0x7c], eax
cmp esi, esi
je 0x403613
call dword [0x41d350]
cmp ebx, dword [ebp - 0x7c]
je 0x4036c3
cmp ebx, dword [esi + 4]
jne 0x403627
call dword [0x41d350]
lea eax, [ebp - 0xd8]
lea edi, [ebx + 8]
push eax
call fcn.004038ab
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0x11
mov edi, dword [ebp - 0x74]
push eax
push edi
call fcn.004039fc
test eax, eax
je 0x40366b
mov eax, dword [edi]
mov eax, dword [eax + 0x24]
lea ecx, [ebp - 0xd8]
test ecx, ecx
je 0x40369f
push eax
lea eax, [ebp - 0x6c]
push eax
mov edi, ecx
call fcn.00403cc7
jmp 0x40369f
push dword [ebp - 0xd8]
lea eax, [ebp - 0x70]
push eax
call fcn.00411f64
push dword [ebp - 0xd4]
push dword [eax]
push str.GetDetail2:_invalid_filter._FilterName__s__LogCount__d_
push 0x42144c
call fcn.004124b5
mov eax, dword [ebp - 0x70]
add esp, 0x18
add eax, 0xfffffff0
call fcn.00401677
lea edi, [ebp - 0xd8]
mov byte [ebp - 4], 7
call fcn.00403909
cmp ebx, dword [esi + 4]
jne 0x4036b9
call dword [0x41d350]
mov ebx, dword [ebx]
mov edi, dword [ebp - 0x74]
jmp 0x403609
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.0040f31a
test eax, eax
pop ecx
pop ecx
je 0x4037e6
mov ebx, dword [ebp - 0xa4]
test ebx, ebx
je 0x4037e6
mov eax, dword [ebp - 0xa0]
sub eax, ebx
sar eax, 2
je 0x4037e6
cmp ebx, dword [ebp - 0xa0]
jbe 0x403726
call dword [0x41d350]
mov eax, dword [ebp - 0xa0]
cmp dword [ebp - 0xa4], eax
mov dword [ebp - 0x70], eax
jbe 0x40373d
call dword [0x41d350]
cmp ebx, dword [ebp - 0x70]
je 0x4037e6
cmp ebx, dword [ebp - 0xa0]
jb 0x403754
call dword [0x41d350]
mov eax, dword [ebx]
sub eax, 0x10
call fcn.00404f93
lea edi, [eax + 0x10]
mov dword [ebp - 0x74], edi
push edi
mov byte [ebp - 4], 0x13
call dword [0x41d41c]
test eax, eax
je 0x4037c4
push 0x5c
lea esi, [ebp - 0x74]
call fcn.0040465d
mov edx, eax
lea eax, [ebp - 0x78]
push eax
inc edx
mov eax, esi
call fcn.00404700
mov byte [ebp - 4], 0x14
push dword [eax]
lea eax, [ebp - 0x7c]
push eax
call fcn.00412000
push eax
mov eax, esi
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0x15
call fcn.0040ec6a
mov eax, dword [ebp - 0x7c]
add esp, 0x14
add eax, 0xfffffff0
call fcn.00401677
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
call fcn.00401677
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0x12
call fcn.00401677
cmp ebx, dword [ebp - 0xa0]
jb 0x4037de
call dword [0x41d350]
add ebx, 4
jmp 0x40373d
lea eax, [ebp - 0x30]
push eax
lea esi, [ebp - 0x6c]
call fcn.004111d8
cmp dword [ebp - 0x1c], 0x32000
jbe 0x403813
push dword [ebp + 0xc]
push dword [ebp - 0x1c]
push str.detail2_over_200k__lu__08X
push 0x42144c
call fcn.004124b5
add esp, 0x10
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x30]
push eax
call dword [0x41d1d0]
lea esi, [ebp - 0xa8]
mov dword [ebp - 0x98], 1
call fcn.004049c5
mov eax, dword [ebp - 0x88]
add eax, 0xfffffff0
call fcn.00401677
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x16
call dword [0x41d1cc]
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call dword [0x41d1cc]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call dword [0x41d1cc]
mov eax, dword [ebp - 0x8c]
call fcn.0041a6ea
ret 8