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

Disassembly:
push 0xffffffffffffffff
push 0x101b29e8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10415990]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10415990]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, dword [esp + 0x68]
push 9
mov dword [esp + 0x28], ecx
xor ebx, ebx
push str.ivw_g.cfg
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.10048340
mov dword [esp + 0x60], ebx
cmp esi, ebx
je 0x10192654
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10192640
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x40]
call fcn.10048340
mov eax, dword [esp + 0x38]
mov esi, 0x10
cmp dword [esp + 0x4c], esi
jae 0x10192667
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x101928c0
cmp eax, esi
je 0x101928c0
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x4c], esi
jae 0x1019268d
lea eax, [esp + 0x38]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x60], 1
cmp eax, ebx
je 0x101926b2
push ebx
push 0x10292560
push eax
lea ecx, [esp + 0x20]
call fcn.1016e7a0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 3
call fcn.1016dbc0
mov ebp, dword [esp + 0x28]
cmp ebp, dword [esp + 0x2c]
je 0x1019274f
jmp 0x101926e0
xor edi, edi
mov esi, dword [edi*4 + 0x10416464]
mov ecx, ebp
call fcn.1004e8b0
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x10192710
cmp cl, bl
je 0x1019270c
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x10192710
add eax, 2
add esi, 2
cmp cl, bl
jne 0x101926f0
xor eax, eax
jmp 0x10192715
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x10192721
inc edi
cmp edi, 2
jl 0x101926e2
jmp 0x10192726
cmp edi, 2
jl 0x10192746
cmp dword [ebp + 0x14], 0x10
jb 0x10192731
mov eax, dword [ebp]
jmp 0x10192733
mov eax, ebp
push eax
push str.CFG_RES::init
push str._s__para_not_suitable_for_normal_operation__param___s_n
call sub.MSVCR100.dll_printf
add esp, 0xc
add ebp, 0x1c
cmp ebp, dword [esp + 0x2c]
jne 0x101926e0
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov edi, eax
cmp esi, eax
je 0x101927bf
lea ecx, [ecx]
mov ebp, 0x10
cmp dword [esi + 0x14], ebp
jb 0x1019276e
mov eax, dword [esi]
jmp 0x10192770
mov eax, esi
push str.wres_param_normal_none
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x10192789
add esi, 0x38
cmp esi, edi
jne 0x10192760
mov eax, dword [esp + 0x18]
cmp esi, eax
je 0x101927b9
cmp esi, ebx
je 0x101927b9
cmp dword [esi + 0x2c], ebx
je 0x101927b9
cmp dword [esi + 0x30], ebp
lea eax, [esi + 0x1c]
jb 0x101927a4
mov eax, dword [eax]
push ebx
push ebx
push eax
call sub.MSVCR100.dll_strtol
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
add esp, 0xc
mov esi, dword [esp + 0x14]
jmp 0x101927c4
mov ebp, 0x10
mov edi, eax
cmp esi, eax
je 0x10192828
lea ebx, [ebx]
cmp dword [esi + 0x14], ebp
jb 0x101927d9
mov eax, dword [esi]
jmp 0x101927db
mov eax, esi
push str.wres_param_is_calc_md5
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x101927f4
add esi, 0x38
cmp esi, edi
jne 0x101927d0
mov eax, dword [esp + 0x18]
cmp esi, eax
je 0x10192824
cmp esi, ebx
je 0x10192824
cmp dword [esi + 0x2c], ebx
je 0x10192824
cmp dword [esi + 0x30], ebp
lea eax, [esi + 0x1c]
jb 0x1019280f
mov eax, dword [eax]
push ebx
push eax
call fcn.10164e10
mov edx, dword [esp + 0x2c]
mov byte [edx + 4], al
mov eax, dword [esp + 0x20]
add esp, 8
mov esi, dword [esp + 0x14]
mov edi, eax
cmp esi, eax
je 0x1019287f
mov edi, edi
cmp dword [esi + 0x14], ebp
jb 0x10192839
mov eax, dword [esi]
jmp 0x1019283b
mov eax, esi
push str.wres_param_normal_count
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x10192854
add esi, 0x38
cmp esi, edi
jne 0x10192830
cmp esi, dword [esp + 0x18]
je 0x1019287f
cmp esi, ebx
je 0x1019287f
cmp dword [esi + 0x2c], ebx
je 0x1019287f
cmp dword [esi + 0x30], ebp
lea eax, [esi + 0x1c]
jb 0x1019286d
mov eax, dword [eax]
push ebx
push ebx
push eax
call sub.MSVCR100.dll_strtol
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x101928a9
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x38]
push ecx
push edx
push eax
call fcn.1016ada0
mov eax, dword [esp + 0x38]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], bl
call fcn.1016e000
mov esi, 0x10
jmp 0x1019294e
test byte [0x10455d90], 1
jne 0x101928e7
or dword [0x10455d90], 1
mov ecx, 0x10455b90
call fcn.101651b0
push 0x101b4ca0
call fcn.1015f6af
add esp, 4
cmp dword [0x10455d68], ebx
jg 0x1019294e
push 0x1016baa0
push ebx
push 0x5e
push str.F:userypzhu2ivw_trunk_1421includecfg_template.h
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebx
call fcn.101697a0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x38]
push ecx
push str.__Couldnt_find_cfg_file
add eax, 0xbc0
push str.CFG_RES::init
push eax
mov byte [esp + 0x70], 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, [esp + 0x14]
mov byte [esp + 0x60], bl
call fcn.1016cac0
cmp dword [esp + 0x4c], esi
jb 0x10192961
mov edx, dword [esp + 0x38]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.1015eea7
add esp, 0x50
ret 4