Function at 0x403e50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40764b
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x40c014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x144], 0
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x144], 0
mov dword [ebp - 4], 0xffffffff
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403ed0
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x144]
call fcn.00401ec0
cmp dword [ebp - 0x130], 0x10
lea edx, [ebp - 0x144]
mov esi, dword [ebp - 0x144]
mov edi, dword [ebp - 0x134]
setae byte [ebp - 0x15d]
cmovae edx, esi
mov dword [ebp - 4], 1
test edi, edi
je 0x403ff6
or ecx, 0xffffffff
lea eax, [edi - 1]
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5c
je 0x403f3e
cmp ecx, edx
je 0x403ff6
dec ecx
cmp byte [ecx], 0x5c
jne 0x403f30
sub ecx, edx
cmp ecx, 0xffffffff
je 0x403ff6
mov dword [ebp - 0x15c], 0
inc ecx
mov dword [ebp - 0x14c], 0
cmp edi, ecx
mov dword [ebp - 0x148], 0xf
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 1
cmovb ecx, edi
cmp byte [ebp - 0x15d], 0
push ecx
cmovne eax, esi
lea ecx, [ebp - 0x15c]
push eax
call fcn.00401ec0
mov edx, dword [ebp - 0x130]
cmp edx, 0x10
jb 0x403fc8
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403fbe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40416e
push edx
push ecx
call fcn.0040664c
add esp, 8
movups xmm0, xmmword [ebp - 0x15c]
movups xmmword [ebp - 0x144], xmm0
movq xmm0, qword [ebp - 0x14c]
movq qword [ebp - 0x134], xmm0
mov edi, dword [ebp - 0x134]
mov esi, dword [ebp - 0x144]
mov byte [ebp - 4], 1
cmp dword [ebp - 0x130], 0x10
lea eax, [ebp - 0x144]
mov dword [ebp - 0x12c], 0
cmovae eax, esi
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x164], eax
cmp edi, 0x10
jae 0x404045
movups xmm0, xmmword [eax]
mov dword [ebp - 0x118], 0xf
movups xmmword [ebp - 0x12c], xmm0
jmp 0x404082
mov esi, edi
lea ecx, [ebp - 0x12c]
mov eax, 0x7fffffff
or esi, 0xf
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00401ff0
lea ecx, [edi + 1]
mov dword [ebp - 0x12c], eax
push ecx
push dword [ebp - 0x164]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x11c], edi
push 0x12
push str.DataOBSEobse.ini
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 5
call fcn.004041c0
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x12c]
push eax
push str.config_path___s
call fcn.00401210
add esp, 8
lea eax, [ebp - 0x12c]
cmp dword [ebp - 0x118], 0x10
cmovae eax, dword [ebp - 0x12c]
push eax
push 0
push str.bCheckForUpdates
push str.Loader
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x118]
cmp eax, 1
sete byte [ebp - 0x15d]
cmp edx, 0x10
jb 0x404127
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40411d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40416e
push edx
push ecx
call fcn.0040664c
add esp, 8
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
cmp edx, 0x10
jb 0x40417e
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x404174
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404174
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040664c
add esp, 8
mov al, byte [ebp - 0x15d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004068ab
mov esp, ebp
pop ebp
ret