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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c9257
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x102a000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.1001a2f0
mov ecx, eax
test ecx, ecx
je 0x100bb38e
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x100bb0ef
push 0x104
lea ecx, [ebp - 0x14]
call fcn.1001d6a0
mov esi, dword [ebp - 0x14]
push 0x104
push str.settings.ini
push esi
call fcn.10030ec8
push dword [esi - 8]
push esi
call fcn.1002ec5f
add esp, 0x14
test eax, eax
js 0x100bb384
cmp eax, dword [esi - 8]
jg 0x100bb384
xor ecx, ecx
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], cx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100bb14c
push 0
push str.Error
push str.Settings_INI_File_Was_Not_Found_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor bl, bl
jmp 0x100bb348
push esi
push 0x102499dc
mov edx, str.ToggleButton
lea ecx, [ebp - 0x2c]
call fcn.100bab90
add esp, 8
mov ecx, 0x102a0df0
push eax
call fcn.10007cd0
lea ecx, [ebp - 0x2c]
call fcn.10007c80
push esi
push 0x10249a00
mov edx, str.ToggleOnlineButton
lea ecx, [ebp - 0x2c]
call fcn.100bab90
add esp, 8
mov ecx, 0x102a0e08
push eax
call fcn.10007cd0
lea ecx, [ebp - 0x2c]
call fcn.10007c80
push esi
push 0x10249a30
mov edx, str.ToggleHUDButton
lea ecx, [ebp - 0x2c]
call fcn.100bab90
add esp, 8
mov ecx, 0x102a0e20
push eax
call fcn.10007cd0
lea ecx, [ebp - 0x2c]
call fcn.10007c80
push esi
push str.none
mov edx, str.DinputDllWrapper
lea ecx, [ebp - 0x2c]
call fcn.100bab90
add esp, 8
mov ecx, 0x102a0e38
push eax
call fcn.10007cd0
lea ecx, [ebp - 0x2c]
call fcn.10007c80
push esi
mov edx, str.1920
mov ecx, str.RenderingWidth
call fcn.100bae50
push esi
mov edx, str.1080
mov dword [0x102a0e50], eax
mov ecx, str.RenderingHeight
call fcn.100bae50
push esi
mov edx, 0x10249ae0
mov dword [0x102a0e54], eax
mov ecx, 0x10249ae4
call fcn.100bae50
push esi
mov edx, 0x10249af8
mov dword [0x102a0e58], eax
mov ecx, str.AntiAliasing
call fcn.100bae50
push esi
mov edx, 0x10249b1c
mov dword [0x102a0e5c], eax
mov ecx, 0x10249b20
call fcn.100bae50
push esi
mov edx, 0x10249b30
mov dword [0x102a0e60], eax
mov ecx, 0x10249b34
call fcn.100bae50
push esi
mov edx, 0x10249ae0
mov dword [0x102a0e64], eax
mov ecx, str.Notifications
call fcn.100bae50
mov dword [0x102a0e68], eax
mov edx, 0x10249ae0
push esi
mov ecx, str.CheckUpdates
call fcn.100bae50
push esi
mov edx, 0x10249ae0
mov dword [0x102a0e69], eax
mov ecx, str.LoadForeignPalettesToggleDefault
call fcn.100bae50
add esp, 0x24
mov dword [0x102a0e6a], eax
cmp dword [0x102a0e00], 2
jne 0x100bb2d1
cmp dword [0x102a0e04], 0x10
mov eax, 0x102a0df0
cmovae eax, dword [0x102a0df0]
cmp byte [eax], 0x46
je 0x100bb2e2
push 2
push 0x10249bc4
mov ecx, 0x102a0df0
call fcn.10007eb0
cmp dword [0x102a0e18], 2
jne 0x100bb303
cmp dword [0x102a0e1c], 0x10
mov eax, 0x102a0e08
cmovae eax, dword [0x102a0e08]
cmp byte [eax], 0x46
je 0x100bb314
push 2
push 0x10249bc8
mov ecx, 0x102a0e08
call fcn.10007eb0
cmp dword [0x102a0e30], 2
jne 0x100bb335
cmp dword [0x102a0e34], 0x10
mov eax, 0x102a0e20
cmovae eax, dword [0x102a0e20]
cmp byte [eax], 0x46
je 0x100bb346
push 2
push 0x10249bcc
mov ecx, 0x102a0e20
call fcn.10007eb0
mov bl, 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100bb367
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001ed23
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.1001a1c0
push 0x80004005
call fcn.1001a1c0
int3