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

Disassembly:
push ebp
lea ebp, [esp - 0x4c]
sub esp, 0x4c
push 0xffffffffffffffff
push 0x1010f399
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push ebx
sub esp, 0xc
mov ebx, ecx
lea ecx, [ebp - 0xc4]
push str..modsmods_order.txt
call fcn.10006330
mov dword [ebp - 4], 0
cmp dword [ebp - 0x68], 0
jne 0x1009286d
xor bl, bl
jmp 0x10092ae3
mov edx, str._n_Add_mods_from_mods_order.txt_file:
mov ecx, 0x10153db8
call fcn.10012cf0
push eax
call fcn.10012f90
add esp, 4
cmp dword [0x101553d8], 0
je 0x100928a6
mov edx, str._n_Add_mods_from_mods_order.txt_file:
mov ecx, 0x10141e60
call fcn.10012cf0
push eax
call fcn.10012f90
add esp, 4
mov dword [ebp + 0x44], 0xf
mov dword [ebp + 0x40], 0
mov byte [ebp + 0x30], 0
lea edx, [ebp + 0x30]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc4]
call fcn.10009280
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x10092abc
push esi
push edi
nop dword [eax]
xor ecx, ecx
mov eax, 2
cmp byte [0x1011f7c0], cl
cmove eax, ecx
lea ecx, [ebp + 0x30]
push eax
sub esp, 8
call fcn.100078a0
cmp eax, 0xffffffff
je 0x1009291c
cmp dword [ebp + 0x40], eax
jb 0x10092b68
cmp dword [ebp + 0x44], 0x10
lea ecx, [ebp + 0x30]
mov dword [ebp + 0x40], eax
cmovae ecx, dword [ebp + 0x30]
mov byte [ecx + eax], 0
mov esi, dword [ebp + 0x40]
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x30]
mov byte [ebp + 0x48], 0x20
test esi, esi
je 0x1009296a
cmp ecx, 0x10
lea edi, [ebp + 0x30]
cmovae edi, edx
add edi, esi
cmp ecx, 0x10
lea esi, [ebp + 0x30]
cmovae esi, edx
cmp esi, edi
jae 0x1009296a
movsx eax, byte [esi]
push 1
push eax
lea eax, [ebp + 0x48]
push eax
call fcn.100ec180
add esp, 0xc
test eax, eax
je 0x100929fb
inc esi
cmp esi, edi
jb 0x10092945
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x30]
cmp ecx, 0x10
mov dword [ebp + 0x40], 0
lea eax, [ebp + 0x30]
cmovae eax, edx
mov byte [eax], 0
cmp dword [ebp + 0x40], 0
je 0x10092a9c
lea ecx, [ebp + 0x30]
call fcn.10013bd0
test al, al
je 0x10092a9c
lea eax, [ebp + 0x30]
mov edx, str..mods_
push eax
lea ecx, [ebp + 0x18]
call fcn.10086800
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x18]
cmp dword [ebp + 0x2c], 0x10
mov edx, ebx
cmovae ecx, dword [ebp + 0x18]
add ecx, 2
call fcn.100927b0
test al, al
jne 0x10092a85
cmp dword [ebp + 0x2c], 0x10
lea eax, [ebp + 0x18]
cmovae eax, dword [ebp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
lea eax, [ebp + 0x18]
jne 0x10092a2d
cmp dword [ebp + 0x2c], 0x10
cmovae eax, dword [ebp + 0x18]
add eax, 2
push eax
push 0
push str.____s_:_Not_exists._n
jmp 0x10092a7d
mov ecx, dword [ebp + 0x44]
lea eax, [ebp + 0x30]
mov edx, dword [ebp + 0x30]
cmp ecx, 0x10
cmovae eax, edx
sub esi, eax
cmp esi, 0xffffffff
je 0x1009296a
test esi, esi
je 0x1009297d
push esi
push 0
lea ecx, [ebp + 0x30]
call fcn.1000d790
jmp 0x1009297d
cmp dword [ebp + 0x2c], 0x10
lea ecx, [ebp]
cmovae eax, dword [ebp + 0x18]
add eax, 2
push eax
call fcn.1000cbb0
lea eax, [ebp]
mov byte [ebp - 4], 3
push eax
mov ecx, ebx
call fcn.10086780
mov byte [ebp - 4], 2
mov edx, dword [ebp + 0x14]
cmp edx, 0x10
jb 0x10092a67
mov ecx, dword [ebp]
inc edx
push 1
call fcn.1000d8e0
cmp dword [ebp + 0x2c], 0x10
lea eax, [ebp + 0x18]
cmovae eax, dword [ebp + 0x18]
add eax, 2
push eax
push 0
push str.____s_:_Done._n
call fcn.10012410
add esp, 0xc
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0x2c]
cmp edx, 0x10
jb 0x10092a9c
mov ecx, dword [ebp + 0x18]
inc edx
push 1
call fcn.1000d8e0
lea edx, [ebp + 0x30]
lea ecx, [ebp - 0xc4]
call fcn.10009280
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x100928e0
pop edi
pop esi
mov edx, dword [ebp + 0x44]
mov bl, 1
cmp edx, 0x10
jb 0x10092ad1
mov ecx, dword [ebp + 0x30]
inc edx
push 1
call fcn.1000d8e0
mov dword [ebp + 0x44], 0xf
mov dword [ebp + 0x40], 0
mov byte [ebp + 0x30], 0
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc4], 0x1011f8c4
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0xc8], eax
lea ecx, [ebp - 0xb4]
call fcn.10006c30
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc4], 0x1011f8b8
mov eax, dword [ebp - 0xc4]
mov edx, dword [eax + 4]
lea ecx, [edx - 0x18]
mov dword [ebp + edx - 0xc8], ecx
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 4
push eax
mov dword [ebp - 0x54], vtable.std::ios_base.0
call fcn.100e8a81
mov ecx, dword [ebp - 0xc]
add esp, 4
mov al, bl
mov dword fs:[0], ecx
pop ebx
lea esp, [ebp + 0x4c]
pop ebp
ret
push str.invalid_string_position
call fcn.100e89d8
int3