Function at 0x10090a10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1024b51a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x254
push ebx
push edi
mov ebx, ecx
mov dword [ebp - 0x1c], 0
push 0x10
xor eax, eax
mov dword [ebp - 0x14], ebx
push str.metadata.ini
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.1001a600
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebx + 0x17c]
push eax
lea eax, [ebp - 0x60]
push eax
call sym.WMCommon.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_WM::GMFileName::JoinFileName_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.1001a5a0
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 4
mov edi, 0x102f74b0
cmp dword [0x102f74b0], eax
je 0x10090be2
push esi
nop word [eax + eax]
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push eax
push 0x200
lea eax, [ebp - 0x260]
push eax
push 0x10255fec
push dword [edi]
push str.gmmeta
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x260]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10090af3
sub eax, edx
lea ecx, [ebp - 0x2c]
sar eax, 1
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.1001a600
cmp dword [ebp - 0x1c], 0
je 0x10090bd5
mov edx, dword [edi]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10090b23
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.1001a600
add ebx, 0x1e4
lea eax, [ebp - 0x44]
push eax
mov ecx, ebx
mov dword [ebp - 0x10], ebx
call fcn.1001adb0
mov esi, eax
cmp esi, dword [ebx]
je 0x10090b90
cmp dword [esi + 0x24], 8
lea edx, [esi + 0x10]
mov ebx, dword [edx + 0x10]
jb 0x10090b64
mov edx, dword [edx]
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x34]
cmovae ecx, dword [ebp - 0x44]
cmp ebx, eax
cmovb eax, ebx
push eax
call fcn.1001b210
add esp, 4
test eax, eax
jne 0x10090b8b
cmp dword [ebp - 0x34], ebx
jae 0x10090bb7
jmp 0x10090b8d
jns 0x10090bb7
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x44]
push ecx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push ecx
mov ecx, ebx
call fcn.1001dc30
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [ebp - 0x48]
push eax
call fcn.1001dcb0
mov esi, dword [ebp - 0x48]
lea ecx, [esi + 0x28]
lea eax, [ebp - 0x2c]
cmp ecx, eax
je 0x10090bd2
cmp dword [ebp - 0x18], 8
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.1001a600
mov ebx, dword [ebp - 0x14]
add edi, 4
cmp dword [edi], 0
jne 0x10090ac0
pop esi
lea ecx, [ebp - 0x2c]
call fcn.1001a5a0
lea ecx, [ebp - 0x44]
call fcn.1001a5a0
lea ecx, [ebp - 0x60]
call fcn.1001a5a0
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret