Function at 0x10194bf0
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 0x10194c63
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10194c50
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 0x10194c73
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x101950b9
cmp eax, esi
je 0x101950b9
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x10194c96
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 0x10194cb6
push edi
push 0x10292a28
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 ebx, dword [ebp - 0x50]
cmp ebx, dword [ebp - 0x4c]
je 0x10194d4d
jmp 0x10194ce0
xor edi, edi
mov esi, dword [edi*4 + 0x104167d8]
mov ecx, ebx
call fcn.1004e8b0
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x10194d10
test cl, cl
je 0x10194d0c
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x10194d10
add eax, 2
add esi, 2
test cl, cl
jne 0x10194cf0
xor eax, eax
jmp 0x10194d15
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10194d21
inc edi
cmp edi, 7
jl 0x10194ce2
jmp 0x10194d26
cmp edi, 7
jl 0x10194d45
cmp dword [ebx + 0x14], 0x10
jb 0x10194d30
mov eax, dword [ebx]
jmp 0x10194d32
mov eax, ebx
push eax
push str.CFG_FEA::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 0x10194ce0
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov edi, ecx
mov esi, eax
cmp eax, ecx
je 0x10194db9
jmp 0x10194d60
cmp dword [esi + 0x14], 0x10
jb 0x10194d6a
mov eax, dword [esi]
jmp 0x10194d6c
mov eax, esi
push str.wfea_param_normal_none
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x10194d85
add esi, 0x38
cmp esi, edi
jne 0x10194d60
mov ecx, dword [ebp - 0x38]
cmp esi, ecx
je 0x10194db6
test esi, esi
je 0x10194db6
cmp dword [esi + 0x2c], 0
je 0x10194db6
cmp dword [esi + 0x30], 0x10
lea eax, [esi + 0x1c]
jb 0x10194da1
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 0x10194e21
mov ebx, 0x10
cmp dword [esi + 0x14], ebx
jb 0x10194dcf
mov eax, dword [esi]
jmp 0x10194dd1
mov eax, esi
push str.wfea_param_isFtrJump
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x10194dea
add esi, 0x38
cmp esi, edi
jne 0x10194dc6
mov ecx, dword [ebp - 0x38]
cmp esi, ecx
je 0x10194e1e
test esi, esi
je 0x10194e1e
cmp dword [esi + 0x2c], 0
je 0x10194e1e
cmp dword [esi + 0x30], ebx
lea eax, [esi + 0x1c]
jb 0x10194e05
mov eax, dword [eax]
push 0
push eax
call fcn.10164e10
mov ebx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
mov byte [ebx + 4], al
mov eax, dword [ebp - 0x3c]
add esp, 8
jmp 0x10194e24
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x40]
mov edi, ecx
mov esi, eax
cmp eax, ecx
je 0x10194e87
lea esp, [esp]
cmp dword [esi + 0x14], 0x10
jb 0x10194e3a
mov eax, dword [esi]
jmp 0x10194e3c
mov eax, esi
push str.wfea_param_FtrJumpCnt
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x10194e55
add esi, 0x38
cmp esi, edi
jne 0x10194e30
mov ecx, dword [ebp - 0x38]
cmp esi, ecx
je 0x10194e84
test esi, esi
je 0x10194e84
cmp dword [esi + 0x2c], 0
je 0x10194e84
cmp dword [esi + 0x30], 0x10
lea eax, [esi + 0x1c]
jb 0x10194e71
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 + 8], eax
mov eax, dword [ebp - 0x3c]
mov edi, ecx
mov esi, eax
cmp eax, ecx
je 0x10194ee7
nop
cmp dword [esi + 0x14], 0x10
jb 0x10194e9a
mov eax, dword [esi]
jmp 0x10194e9c
mov eax, esi
push str.wfea_param_feaType
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x10194eb5
add esi, 0x38
cmp esi, edi
jne 0x10194e90
mov ecx, dword [ebp - 0x38]
cmp esi, ecx
je 0x10194ee4
test esi, esi
je 0x10194ee4
cmp dword [esi + 0x2c], 0
je 0x10194ee4
cmp dword [esi + 0x30], 0x10
lea eax, [esi + 0x1c]
jb 0x10194ed1
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 + 0xc], eax
mov eax, dword [ebp - 0x3c]
mov edi, ecx
mov esi, eax
cmp eax, ecx
je 0x10194f45
nop
cmp dword [esi + 0x14], 0x10
jb 0x10194efa
mov eax, dword [esi]
jmp 0x10194efc
mov eax, esi
push str.wfea_param_isPitch
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x10194f15
add esi, 0x38
cmp esi, edi
jne 0x10194ef0
mov ecx, dword [ebp - 0x38]
cmp esi, ecx
je 0x10194f42
test esi, esi
je 0x10194f42
cmp dword [esi + 0x2c], 0
je 0x10194f42
cmp dword [esi + 0x30], 0x10
lea eax, [esi + 0x1c]
jb 0x10194f31
mov eax, dword [eax]
push 0
push eax
call fcn.10164e10
mov ecx, dword [ebp - 0x38]
add esp, 8
mov byte [ebx + 0x10], al
mov eax, dword [ebp - 0x3c]
mov edi, ecx
mov esi, eax
cmp eax, ecx
je 0x10194fa5
lea ecx, [ecx]
cmp dword [esi + 0x14], 0x10
jb 0x10194f5a
mov eax, dword [esi]
jmp 0x10194f5c
mov eax, esi
push str.wfea_param_isCMNRecursion
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x10194f75
add esi, 0x38
cmp esi, edi
jne 0x10194f50
mov ecx, dword [ebp - 0x38]
cmp esi, ecx
je 0x10194fa2
test esi, esi
je 0x10194fa2
cmp dword [esi + 0x2c], 0
je 0x10194fa2
cmp dword [esi + 0x30], 0x10
lea eax, [esi + 0x1c]
jb 0x10194f91
mov eax, dword [eax]
push 0
push eax
call fcn.10164e10
mov ecx, dword [ebp - 0x38]
add esp, 8
mov byte [ebx + 0x11], al
mov eax, dword [ebp - 0x3c]
mov edi, ecx
mov esi, eax
cmp eax, ecx
je 0x10195005
lea ecx, [ecx]
cmp dword [esi + 0x14], 0x10
jb 0x10194fba
mov eax, dword [esi]
jmp 0x10194fbc
mov eax, esi
push str.wfea_param_isNoCMN
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x10194fd5
add esi, 0x38
cmp esi, edi
jne 0x10194fb0
mov ecx, dword [ebp - 0x38]
cmp esi, ecx
je 0x10195002
test esi, esi
je 0x10195002
cmp dword [esi + 0x2c], 0
je 0x10195002
cmp dword [esi + 0x30], 0x10
lea eax, [esi + 0x1c]
jb 0x10194ff1
mov eax, dword [eax]
push 0
push eax
call fcn.10164e10
mov ecx, dword [ebp - 0x38]
add esp, 8
mov byte [ebx + 0x12], al
mov eax, dword [ebp - 0x3c]
mov edi, ecx
mov esi, eax
cmp eax, ecx
je 0x1019505f
lea ecx, [ecx]
cmp dword [esi + 0x14], 0x10
jb 0x1019501a
mov eax, dword [esi]
jmp 0x1019501c
mov eax, esi
push str.wfea_param_normal_count
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x10195035
add esi, 0x38
cmp esi, edi
jne 0x10195010
cmp esi, dword [ebp - 0x38]
je 0x1019505f
test esi, esi
je 0x1019505f
cmp dword [esi + 0x2c], 0
je 0x1019505f
cmp dword [esi + 0x30], 0x10
lea eax, [esi + 0x1c]
jb 0x1019504f
mov eax, dword [eax]
push 0
push 0
push eax
call sub.MSVCR100.dll_strtol
add esp, 0xc
mov dword [ebx + 0x14], eax
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x101950a3
mov edi, dword [ebp - 0x4c]
cmp esi, edi
je 0x1019509a
mov ebx, 0xf
cmp dword [esi + 0x14], 0x10
jb 0x10195083
mov eax, dword [esi]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0x1c
cmp esi, edi
jne 0x10195072
mov esi, dword [ebp - 0x50]
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.1016e000
mov esi, 0x10
jmp 0x10195141
test byte [0x10455d90], 1
jne 0x101950e0
or dword [0x10455d90], 1
mov ecx, 0x10455b90
call fcn.101651b0
push 0x101b4ca0
call fcn.1015f6af
add esp, 4
cmp dword [0x10455d68], edi
jg 0x10195141
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 edx, [ebp - 0x2c]
push edx
push str.__Couldnt_find_cfg_file
add eax, 0xbc0
push str.CFG_FEA::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 0x10195152
mov eax, dword [ebp - 0x2c]
push eax
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