Function at 0x1019b280
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 0x1019b2f3
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1019b2e0
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 0x1019b303
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1019b629
cmp eax, esi
je 0x1019b629
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x1019b326
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 0x1019b346
push edi
push 0x10293344
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 0x1019b3dd
jmp 0x1019b370
xor edi, edi
mov esi, dword [edi*4 + 0x10416914]
mov ecx, ebx
call fcn.1004e8b0
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x1019b3a0
test cl, cl
je 0x1019b39c
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x1019b3a0
add eax, 2
add esi, 2
test cl, cl
jne 0x1019b380
xor eax, eax
jmp 0x1019b3a5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1019b3b1
inc edi
cmp edi, 4
jl 0x1019b372
jmp 0x1019b3b6
cmp edi, 4
jl 0x1019b3d5
cmp dword [ebx + 0x14], 0x10
jb 0x1019b3c0
mov eax, dword [ebx]
jmp 0x1019b3c2
mov eax, ebx
push eax
push str.CFG_MLP::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 0x1019b370
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov edi, ecx
mov esi, eax
cmp eax, ecx
je 0x1019b449
jmp 0x1019b3f0
cmp dword [esi + 0x14], 0x10
jb 0x1019b3fa
mov eax, dword [esi]
jmp 0x1019b3fc
mov eax, esi
push str.wmlp_param_normal_none
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x1019b415
add esi, 0x38
cmp esi, edi
jne 0x1019b3f0
mov ecx, dword [ebp - 0x38]
cmp esi, ecx
je 0x1019b446
test esi, esi
je 0x1019b446
cmp dword [esi + 0x2c], 0
je 0x1019b446
cmp dword [esi + 0x30], 0x10
lea eax, [esi + 0x1c]
jb 0x1019b431
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 0x1019b4b3
mov ebx, 0x10
cmp dword [esi + 0x14], ebx
jb 0x1019b45f
mov eax, dword [esi]
jmp 0x1019b461
mov eax, esi
push str.wmlp_param_mlp_type
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x1019b47a
add esi, 0x38
cmp esi, edi
jne 0x1019b456
mov ecx, dword [ebp - 0x38]
cmp esi, ecx
je 0x1019b4b0
test esi, esi
je 0x1019b4b0
cmp dword [esi + 0x2c], 0
je 0x1019b4b0
cmp dword [esi + 0x30], ebx
lea eax, [esi + 0x1c]
jb 0x1019b495
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 0x1019b4b6
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x40]
mov edi, ecx
mov esi, eax
cmp eax, ecx
je 0x1019b515
mov edi, edi
cmp dword [esi + 0x14], 0x10
jb 0x1019b4ca
mov eax, dword [esi]
jmp 0x1019b4cc
mov eax, esi
push str.wmlp_param_do_softmax
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x1019b4e5
add esi, 0x38
cmp esi, edi
jne 0x1019b4c0
mov ecx, dword [ebp - 0x38]
cmp esi, ecx
je 0x1019b512
test esi, esi
je 0x1019b512
cmp dword [esi + 0x2c], 0
je 0x1019b512
cmp dword [esi + 0x30], 0x10
lea eax, [esi + 0x1c]
jb 0x1019b501
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 0x1019b577
lea ecx, [ecx]
cmp dword [esi + 0x14], 0x10
jb 0x1019b52a
mov eax, dword [esi]
jmp 0x1019b52c
mov eax, esi
push str.wmlp_param_nframe_stride
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x1019b545
add esi, 0x38
cmp esi, edi
jne 0x1019b520
mov ecx, dword [ebp - 0x38]
cmp esi, ecx
je 0x1019b574
test esi, esi
je 0x1019b574
cmp dword [esi + 0x2c], 0
je 0x1019b574
cmp dword [esi + 0x30], 0x10
lea eax, [esi + 0x1c]
jb 0x1019b561
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 0x1019b5cf
nop
cmp dword [esi + 0x14], 0x10
jb 0x1019b58a
mov eax, dword [esi]
jmp 0x1019b58c
mov eax, esi
push str.wmlp_param_normal_count
push eax
call sub.MSVCR100.dll__stricmp
add esp, 8
test eax, eax
je 0x1019b5a5
add esi, 0x38
cmp esi, edi
jne 0x1019b580
cmp esi, dword [ebp - 0x38]
je 0x1019b5cf
test esi, esi
je 0x1019b5cf
cmp dword [esi + 0x2c], 0
je 0x1019b5cf
cmp dword [esi + 0x30], 0x10
lea eax, [esi + 0x1c]
jb 0x1019b5bf
mov eax, dword [eax]
push 0
push 0
push eax
call sub.MSVCR100.dll_strtol
add esp, 0xc
mov dword [ebx + 0x10], eax
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x1019b613
mov edi, dword [ebp - 0x4c]
cmp esi, edi
je 0x1019b60a
mov ebx, 0xf
cmp dword [esi + 0x14], 0x10
jb 0x1019b5f3
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 0x1019b5e2
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 0x1019b6b1
test byte [0x10455d90], 1
jne 0x1019b650
or dword [0x10455d90], 1
mov ecx, 0x10455b90
call fcn.101651b0
push 0x101b4ca0
call fcn.1015f6af
add esp, 4
cmp dword [0x10455d68], edi
jg 0x1019b6b1
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_MLP::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 0x1019b6c2
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