Function at 0x1016ee10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b12c8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10415990]
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 esi, dword [ebp + 8]
push 0xb
mov dword [ebp - 0x40], ecx
xor edi, edi
push str.._ivw_g.cfg
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
call fcn.10048340
mov dword [ebp - 4], edi
cmp esi, edi
je 0x1016ee83
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1016ee70
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.10048340
mov eax, dword [ebp - 0x2c]
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jae 0x1016ee93
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1016f8a9
cmp eax, esi
je 0x1016f8a9
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x1016eeb6
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov byte [ebp - 4], 1
cmp eax, edi
je 0x1016eed6
push edi
push 0x10372bb0
push eax
lea ecx, [ebp - 0x3c]
call fcn.1016e7a0
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.1016dbc0
mov eax, dword [ebp - 0x50]
mov ebx, eax
cmp eax, dword [ebp - 0x4c]
je 0x1016ef6d
lea esp, [esp]
xor edi, edi
mov esi, dword [edi*4 + 0x10415b78]
mov ecx, ebx
call fcn.1004e8b0
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x1016ef30
test cl, cl
je 0x1016ef2c
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x1016ef30
add eax, 2
add esi, 2
test cl, cl
jne 0x1016ef10
xor eax, eax
jmp 0x1016ef35
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1016ef41
inc edi
cmp edi, 0x27
jl 0x1016ef02
jmp 0x1016ef46
cmp edi, 0x27
jl 0x1016ef65
cmp dword [ebx + 0x14], 0x10
jb 0x1016ef50
mov eax, dword [ebx]
jmp 0x1016ef52
mov eax, ebx
push eax
push str.CFG_IVW::init
push str._s__para_not_suitable_for_normal_operation__param___s_n
call sub.MSVCR100.dll_printf
add esp, 0xc
add ebx, 0x1c
cmp ebx, dword [ebp - 0x4c]
jne 0x1016ef00
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov edi, ecx
mov esi, eax
cmp eax, ecx
je 0x1016efd9
jmp 0x1016ef80
cmp dword [esi + 0x14], 0x10
jb 0x1016ef8a
mov eax, dword [esi]
jmp 0x1016ef8c
mov eax, esi
push str.wivw_param_normal_none
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x1016efa5
add esi, 0x38
cmp esi, edi
jne 0x1016ef80
mov ecx, dword [ebp - 0x38]
cmp esi, ecx
je 0x1016efd6
test esi, esi
je 0x1016efd6
cmp dword [esi + 0x2c], 0
je 0x1016efd6
cmp dword [esi + 0x30], 0x10
lea eax, [esi + 0x1c]
jb 0x1016efc1
mov eax, dword [eax]
push 0
push 0
push eax
call sub.MSVCR100.dll_strtol
mov ecx, dword [ebp - 0x40]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x38]
add esp, 0xc
mov eax, dword [ebp - 0x3c]
mov edi, ecx
mov esi, eax
cmp eax, ecx
je 0x1016f043
mov ebx, 0x10
cmp dword [esi + 0x14], ebx
jb 0x1016efef
mov eax, dword [esi]
jmp 0x1016eff1
mov eax, esi
push str.wivw_param_sampleRate
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x1016f00a
add esi, 0x38
cmp esi, edi
jne 0x1016efe6
mov ecx, dword [ebp - 0x38]
cmp esi, ecx
je 0x1016f040
test esi, esi
je 0x1016f040
cmp dword [esi + 0x2c], 0
je 0x1016f040
cmp dword [esi + 0x30], ebx
lea eax, [esi + 0x1c]
jb 0x1016f025
mov eax, dword [eax]
push 0
push 0
push eax
call sub.MSVCR100.dll_strtol
mov ebx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x3c]
add esp, 0xc
jmp 0x1016f046
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x40]
mov edi, ecx
mov esi, eax
cmp eax, ecx
je 0x1016f0a3
cmp dword [esi + 0x14], 0x10
jb 0x1016f058
mov eax, dword [esi]
jmp 0x1016f05a
mov eax, esi
push str.wivw_param_bDebugOn
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x1016f073
add esi, 0x38
cmp esi, edi
jne 0x1016f04e
mov ecx, dword [ebp - 0x38]
cmp esi, ecx
je 0x1016f0a0
test esi, esi
je 0x1016f0a0
cmp dword [esi + 0x2c], 0
je 0x1016f0a0
cmp dword [esi + 0x30], 0x10
lea eax, [esi + 0x1c]
jb 0x1016f08f
mov eax, dword [eax]
push 0
push eax
call fcn.10164e10
mov ecx, dword [ebp - 0x38]
add esp, 8
mov byte [ebx + 8], al
mov eax, dword [ebp - 0x3c]
mov edi, ecx
mov esi, eax
cmp eax, ecx
je 0x1016f100
cmp dword [esi + 0x14], 0x10
jb 0x1016f0b5
mov eax, dword [esi]
jmp 0x1016f0b7
mov eax, esi
push str.wivw_param_bVadOn
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x1016f0d0
add esi, 0x38
cmp esi, edi
jne 0x1016f0ab
mov ecx, dword [ebp - 0x38]
cmp esi, ecx
je 0x1016f0fd
test esi, esi
je 0x1016f0fd
cmp dword [esi + 0x2c], 0
je 0x1016f0fd
cmp dword [esi + 0x30], 0x10
lea eax, [esi + 0x1c]
jb 0x1016f0ec
mov eax, dword [eax]
push 0
push eax
call fcn.10164e10
mov ecx, dword [ebp - 0x38]
add esp, 8
mov byte [ebx + 9], al
mov eax, dword [ebp - 0x3c]
mov edi, ecx
mov esi, eax
cmp eax, ecx
je 0x1016f15d
cmp dword [esi + 0x14], 0x10
jb 0x1016f112
mov eax, dword [esi]
jmp 0x1016f114
mov eax, esi
push str.wivw_param_bMd5On
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x1016f12d
add esi, 0x38
cmp esi, edi
jne 0x1016f108
mov ecx, dword [ebp - 0x38]
cmp esi, ecx
je 0x1016f15a
test esi, esi
je 0x1016f15a
cmp dword [esi + 0x2c], 0
je 0x1016f15a
cmp dword [esi + 0x30], 0x10
lea eax, [esi + 0x1c]
jb 0x1016f149
mov eax, dword [eax]
push 0
push eax
call fcn.10164e10
mov ecx, dword [ebp - 0x38]
add esp, 8
mov byte [ebx + 0xa], al
mov eax, dword [ebp - 0x3c]
mov edi, ecx
mov esi, eax
cmp eax, ecx
je 0x1016f1ba
cmp dword [esi + 0x14], 0x10
jb 0x1016f16f
mov eax, dword [esi]
jmp 0x1016f171
mov eax, esi
push str.wivw_param_bCompare
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x1016f18a
add esi, 0x38
cmp esi, edi
jne 0x1016f165
mov ecx, dword [ebp - 0x38]
cmp esi, ecx
je 0x1016f1b7
test esi, esi
je 0x1016f1b7
cmp dword [esi + 0x2c], 0
je 0x1016f1b7
cmp dword [esi + 0x30], 0x10
lea eax, [esi + 0x1c]
jb 0x1016f1a6
mov eax, dword [eax]
push 0
push eax
call fcn.10164e10
mov ecx, dword [ebp - 0x38]
add esp, 8
mov byte [ebx + 0xb], al
mov eax, dword [ebp - 0x3c]
mov edi, ecx
mov esi, eax
cmp eax, ecx
je 0x1016f217
cmp dword [esi + 0x14], 0x10
jb 0x1016f1cc
mov eax, dword [esi]
jmp 0x1016f1ce
mov eax, esi
push str.wivw_param_fSvmThresh
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x1016f1e7
add esi, 0x38
cmp esi, edi
jne 0x1016f1c2
mov ecx, dword [ebp - 0x38]
cmp esi, ecx
je 0x1016f214
test esi, esi
je 0x1016f214
cmp dword [esi + 0x2c], 0
je 0x1016f214
cmp dword [esi + 0x30], 0x10
lea eax, [esi + 0x1c]
jb 0x1016f203
mov eax, dword [eax]
push 0
push eax
call sub.MSVCR100.dll_strtod
fstp dword [ebx + 0xc]
mov ecx, dword [ebp - 0x38]
add esp, 8
mov eax, dword [ebp - 0x3c]
mov edi, ecx
mov esi, eax
cmp eax, ecx
je 0x1016f276
cmp dword [esi + 0x14], 0x10
jb 0x1016f229
mov eax, dword [esi]
jmp 0x1016f22b
mov eax, esi
push str.wivw_param_loglevel
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x1016f244
add esi, 0x38
cmp esi, edi
jne 0x1016f21f
mov ecx, dword [ebp - 0x38]
cmp esi, ecx
je 0x1016f273
test esi, esi
je 0x1016f273
cmp dword [esi + 0x2c], 0
je 0x1016f273
cmp dword [esi + 0x30], 0x10
lea eax, [esi + 0x1c]
jb 0x1016f260
mov eax, dword [eax]
push 0
push 0
push eax
call sub.MSVCR100.dll_strtol
mov ecx, dword [ebp - 0x38]
add esp, 0xc
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x40]
add edi, 0x14
mov ebx, ecx
mov esi, eax
cmp eax, ecx
je 0x1016f2dc
cmp dword [esi + 0x14], 0x10
jb 0x1016f28e
mov eax, dword [esi]
jmp 0x1016f290
mov eax, esi
push str.wivw_param_logfile
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x1016f2a9
add esi, 0x38
cmp esi, ebx
jne 0x1016f284
mov ecx, dword [ebp - 0x38]
cmp esi, ecx
je 0x1016f2d9
test esi, esi
je 0x1016f2d9
cmp dword [esi + 0x2c], 0
je 0x1016f2d9
push 0xffffffffffffffff
push 0
add esi, 0x1c
push esi
mov ecx, edi
call fcn.100481c0
push 0
push 0x22
push edi
call fcn.1016af60
mov ecx, dword [ebp - 0x38]
add esp, 0xc
mov eax, dword [ebp - 0x3c]
mov edi, ecx
mov esi, eax
cmp eax, ecx
je 0x1016f33e
cmp dword [esi + 0x14], 0x10
jb 0x1016f2ee
mov eax, dword [esi]
jmp 0x1016f2f0
mov eax, esi
push str.wfea_param_normal_none
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x1016f309
add esi, 0x38
cmp esi, edi
jne 0x1016f2e4
mov ecx, dword [ebp - 0x38]
cmp esi, ecx
je 0x1016f33b
test esi, esi
je 0x1016f33b
cmp dword [esi + 0x2c], 0
je 0x1016f33b
cmp dword [esi + 0x30], 0x10
lea eax, [esi + 0x1c]
jb 0x1016f325
mov eax, dword [eax]
push 0
push 0
push eax
call sub.MSVCR100.dll_strtol
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
add esp, 0xc
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0x3c]
mov edi, ecx
mov esi, eax
cmp eax, ecx
je 0x1016f3ab
mov ebx, 0x10
jmp 0x1016f350
cmp dword [esi + 0x14], ebx
jb 0x1016f359
mov eax, dword [esi]
jmp 0x1016f35b
mov eax, esi
push str.wfea_param_isFtrJump
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x1016f374
add esi, 0x38
cmp esi, edi
jne 0x1016f350
mov ecx, dword [ebp - 0x38]
cmp esi, ecx
je 0x1016f3a8
test esi, esi
je 0x1016f3a8
cmp dword [esi + 0x2c], 0
je 0x1016f3a8
cmp dword [esi + 0x30], ebx
lea eax, [esi + 0x1c]
jb 0x1016f38f
mov eax, dword [eax]
push 0
push eax
call fcn.10164e10
mov ebx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
mov byte [ebx + 0x34], al
mov eax, dword [ebp - 0x3c]
add esp, 8
jmp 0x1016f3ae
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x40]
mov edi, ecx
mov esi, eax
cmp eax, ecx
je 0x1016f40d
cmp dword [esi + 0x14], 0x10
jb 0x1016f3c0
mov eax, dword [esi]
jmp 0x1016f3c2
mov eax, esi
push str.wfea_param_FtrJumpCnt
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x1016f3db
add esi, 0x38
cmp esi, edi
jne 0x1016f3b6
mov ecx, dword [ebp - 0x38]
cmp esi, ecx
je 0x1016f40a
test esi, esi
je 0x1016f40a
cmp dword [esi + 0x2c], 0
je 0x1016f40a
cmp dword [esi + 0x30], 0x10
lea eax, [esi + 0x1c]
jb 0x1016f3f7
mov eax, dword [eax]
push 0
push 0
push eax
call sub.MSVCR100.dll_strtol
mov ecx, dword [ebp - 0x38]
add esp, 0xc
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x3c]
mov edi, ecx
mov esi, eax
cmp eax, ecx
je 0x1016f46c
cmp dword [esi + 0x14], 0x10
jb 0x1016f41f
mov eax, dword [esi]
jmp 0x1016f421
mov eax, esi
push str.wfea_param_feaType
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x1016f43a
add esi, 0x38
cmp esi, edi
jne 0x1016f415
mov ecx, dword [ebp - 0x38]
cmp esi, ecx
je 0x1016f469
test esi, esi
je 0x1016f469
cmp dword [esi + 0x2c], 0
je 0x1016f469
cmp dword [esi + 0x30], 0x10
lea eax, [esi + 0x1c]
jb 0x1016f456
mov eax, dword [eax]
push 0
push 0
push eax
call sub.MSVCR100.dll_strtol
mov ecx, dword [ebp - 0x38]
add esp, 0xc
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov edi, ecx
mov esi, eax
cmp eax, ecx
je 0x1016f4c9
cmp dword [esi + 0x14], 0x10
jb 0x1016f47e
mov eax, dword [esi]
jmp 0x1016f480
mov eax, esi
push str.wfea_param_isPitch
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x1016f499
add esi, 0x38
cmp esi, edi
jne 0x1016f474
mov ecx, dword [ebp - 0x38]
cmp esi, ecx
je 0x1016f4c6
test esi, esi
je 0x1016f4c6
cmp dword [esi + 0x2c], 0
je 0x1016f4c6
cmp dword [esi + 0x30], 0x10
lea eax, [esi + 0x1c]
jb 0x1016f4b5
mov eax, dword [eax]
push 0
push eax
call fcn.10164e10
mov ecx, dword [ebp - 0x38]
add esp, 8
mov byte [ebx + 0x40], al
mov eax, dword [ebp - 0x3c]
mov edi, ecx
mov esi, eax
cmp eax, ecx
je 0x1016f526
cmp dword [esi + 0x14], 0x10
jb 0x1016f4db
mov eax, dword [esi]
jmp 0x1016f4dd
mov eax, esi
push str.wfea_param_isCMNRecursion
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x1016f4f6
add esi, 0x38
cmp esi, edi
jne 0x1016f4d1
mov ecx, dword [ebp - 0x38]
cmp esi, ecx
je 0x1016f523
test esi, esi
je 0x1016f523
cmp dword [esi + 0x2c], 0
je 0x1016f523
cmp dword [esi + 0x30], 0x10
lea eax, [esi + 0x1c]
jb 0x1016f512
mov eax, dword [eax]
push 0
push eax
call fcn.10164e10
mov ecx, dword [ebp - 0x38]
add esp, 8
mov byte [ebx + 0x41], al
mov eax, dword [ebp - 0x3c]
mov edi, ecx
mov esi, eax
cmp eax, ecx
je 0x1016f583
cmp dword [esi + 0x14], 0x10
jb 0x1016f538
mov eax, dword [esi]
jmp 0x1016f53a
mov eax, esi
push str.wfea_param_isNoCMN
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x1016f553
add esi, 0x38
cmp esi, edi
jne 0x1016f52e
mov ecx, dword [ebp - 0x38]
cmp esi, ecx
je 0x1016f580
test esi, esi
je 0x1016f580
cmp dword [esi + 0x2c], 0
je 0x1016f580
cmp dword [esi + 0x30], 0x10
lea eax, [esi + 0x1c]
jb 0x1016f56f
mov eax, dword [eax]
push 0
push eax
call fcn.10164e10
mov ecx, dword [ebp - 0x38]
add esp, 8
mov byte [ebx + 0x42], al
mov eax, dword [ebp - 0x3c]
mov edi, ecx
mov esi, eax
cmp eax, ecx
je 0x1016f5e2
cmp dword [esi + 0x14], 0x10
jb 0x1016f595
mov eax, dword [esi]
jmp 0x1016f597
mov eax, esi
push str.wfea_param_normal_count
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x1016f5b0
add esi, 0x38
cmp esi, edi
jne 0x1016f58b
mov ecx, dword [ebp - 0x38]
cmp esi, ecx
je 0x1016f5df
test esi, esi
je 0x1016f5df
cmp dword [esi + 0x2c], 0
je 0x1016f5df
cmp dword [esi + 0x30], 0x10
lea eax, [esi + 0x1c]
jb 0x1016f5cc
mov eax, dword [eax]
push 0
push 0
push eax
call sub.MSVCR100.dll_strtol
mov ecx, dword [ebp - 0x38]
add esp, 0xc
mov dword [ebx + 0x44], eax
mov eax, dword [ebp - 0x3c]
mov edi, ecx
mov esi, eax
cmp eax, ecx
je 0x1016f641
cmp dword [esi + 0x14], 0x10
jb 0x1016f5f4
mov eax, dword [esi]
jmp 0x1016f5f6
mov eax, esi
push str.wvad_param_normal_none
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x1016f60f
add esi, 0x38
cmp esi, edi
jne 0x1016f5ea
mov ecx, dword [ebp - 0x38]
cmp esi, ecx
je 0x1016f63e
test esi, esi
je 0x1016f63e
cmp dword [esi + 0x2c], 0
je 0x1016f63e
cmp dword [esi + 0x30], 0x10
lea eax, [esi + 0x1c]
jb 0x1016f62b
mov eax, dword [eax]
push 0
push 0
push eax
call sub.MSVCR100.dll_strtol
mov ecx, dword [ebp - 0x38]
add esp, 0xc
mov dword [ebx + 0x48], eax
mov eax, dword [ebp - 0x3c]
mov edi, ecx
mov esi, eax
cmp eax, ecx
je 0x1016f69f
lea esp, [esp]
cmp dword [esi + 0x14], 0x10
jb 0x1016f65a
mov eax, dword [esi]
jmp 0x1016f65c
mov eax, esi
push str.wvad_param_sampleRate
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x1016f675
add esi, 0x38
cmp esi, edi
jne 0x1016f650
cmp esi, dword [ebp - 0x38]
je 0x1016f69f
test esi, esi
je 0x1016f69f
cmp dword [esi + 0x2c], 0
je 0x1016f69f
cmp dword [esi + 0x30], 0x10
lea eax, [esi + 0x1c]
jb 0x1016f68f
mov eax, dword [eax]
push 0
push 0
push eax
call sub.MSVCR100.dll_strtol
add esp, 0xc
mov dword [ebx + 0x4c], eax
lea eax, [ebx + 0x50]
push eax
push str.wvad_param_nEnergyThreshold
lea ecx, [ebp - 0x3c]
call fcn.101682b0
lea ecx, [ebx + 0x54]
push ecx
push str.wvad_param_nEndGap
lea ecx, [ebp - 0x3c]
call fcn.101682b0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x40]
push edx
push eax
push ecx
mov dword [ebp - 0x40], str.wvad_param_isDebugOn
call fcn.10166810
add esp, 0xc
cmp eax, dword [ebp - 0x38]
je 0x1016f704
test eax, eax
je 0x1016f704
cmp dword [eax + 0x2c], 0
je 0x1016f704
add eax, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x1016f6f6
mov eax, dword [eax]
push 0
push eax
call fcn.10164e10
add esp, 8
mov byte [ebx + 0x58], al
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x40]
push edx
push eax
push ecx
mov dword [ebp - 0x40], str.wvad_param_isLogVadFileOut
call fcn.10166810
add esp, 0xc
cmp eax, dword [ebp - 0x38]
je 0x1016f747
test eax, eax
je 0x1016f747
cmp dword [eax + 0x2c], 0
je 0x1016f747
add eax, 0x1c
cmp dword [eax + 0x14], 0x10
jb 0x1016f739
mov eax, dword [eax]
push 0
push eax
call fcn.10164e10
add esp, 8
mov byte [ebx + 0x59], al
lea edx, [ebx + 0x5a]
push edx
push str.wvad_param_isLogVadFileIn
lea ecx, [ebp - 0x3c]
call fcn.10168310
lea eax, [ebx + 0x5c]
push eax
push str.wvad_param_normal_count
lea ecx, [ebp - 0x3c]
call fcn.101682b0
lea ecx, [ebx + 0x60]
push ecx
push str.wdec_param_normal_none
lea ecx, [ebp - 0x3c]
call fcn.101682b0
lea edx, [ebx + 0x64]
push edx
push str.wdec_param_nCmThreshold
lea ecx, [ebp - 0x3c]
call fcn.101682b0
lea eax, [ebx + 0x68]
push eax
push str.wdec_param_nLMPenalty
lea ecx, [ebp - 0x3c]
call fcn.101682b0
lea ecx, [ebx + 0x6c]
push ecx
push str.wdec_param_bWarmup
lea ecx, [ebp - 0x3c]
call fcn.10168310
lea edx, [ebx + 0x6d]
push edx
push str.wdec_param_bFillerDec
lea ecx, [ebp - 0x3c]
call fcn.10168310
lea eax, [ebx + 0x6e]
push eax
push str.wdec_param_bRegularCM
lea ecx, [ebp - 0x3c]
call fcn.10168310
lea ecx, [ebx + 0x6f]
push ecx
push str.wdec_param_bOpenAnalysis
lea ecx, [ebp - 0x3c]
call fcn.10168310
lea edx, [ebx + 0x70]
push edx
push str.wdec_param_nCMLevel
lea ecx, [ebp - 0x3c]
call fcn.101682b0
lea eax, [ebx + 0x74]
push eax
push str.wdec_param_nContinueFrame
lea ecx, [ebp - 0x3c]
call fcn.101682b0
lea ecx, [ebx + 0x78]
push ecx
push str.wdec_param_speech_door
lea ecx, [ebp - 0x3c]
call fcn.101682b0
lea edx, [ebx + 0x7c]
push edx
push str.wdec_param_normal_count
lea ecx, [ebp - 0x3c]
call fcn.101682b0
lea eax, [ebx + 0x80]
push eax
push str.wres_param_normal_none
lea ecx, [ebp - 0x3c]
call fcn.101682b0
lea ecx, [ebx + 0x84]
push ecx
push str.wres_param_is_calc_md5
lea ecx, [ebp - 0x3c]
call fcn.10168310
lea edx, [ebx + 0x88]
push edx
push str.wres_param_normal_count
lea ecx, [ebp - 0x3c]
call fcn.101682b0
add ebx, 0x8c
push ebx
push str.wivw_param_normal_count
lea ecx, [ebp - 0x3c]
call fcn.101682b0
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x1016f896
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x44]
push ecx
push edx
push esi
call fcn.1016ada0
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 0x14
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.1016e000
mov esi, 0x10
jmp 0x1016f90b
call fcn.101616a0
test eax, eax
jg 0x1016f90b
push 0x1016baa0
push edi
push 0x5e
push str.F:userypzhu2ivw_trunk_1421includecfg_template.h
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], edi
call fcn.101697a0
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
push ecx
push str.__Couldnt_find_cfg_file
add eax, 0xbc0
push str.CFG_IVW::init
push eax
mov byte [ebp - 4], 4
call fcn.10167060
add esp, 8
push eax
call fcn.10167060
add esp, 8
push eax
call fcn.100561b0
add esp, 8
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.1016cac0
cmp dword [ebp - 0x18], esi
jb 0x1016f91c
mov edx, dword [ebp - 0x2c]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
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.1015eea7
mov esp, ebp
pop ebp
ret 4