Function at 0x48d140
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a63a0
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x4ce4bc]
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 eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x88]
push eax
call fcn.0048f7a0
push 0x4a9b28
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0
push eax
call fcn.00401590
push esi
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
call fcn.00417580
mov edx, dword [ebp - 0x5c]
add esp, 0x1c
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x48d1f7
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48d1ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48d241
push edx
push ecx
call fcn.0049927f
add esp, 8
mov edx, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x48d251
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48d247
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48d247
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049927f
add esp, 8
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov ecx, dword [ebp - 0x30]
mov eax, 0x7ffffffe
sub eax, ecx
mov dword [ebp - 4], 2
cmp eax, 1
jb 0x48d469
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 1
cmovae eax, dword [ebp - 0x40]
push 0x4a9b28
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x90]
lea ecx, [ebp - 0x58]
call fcn.004080e0
push str.lang.conf
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00401590
add esp, 0xc
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x48d301
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48d2f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48d2f7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049927f
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
xor edi, edi
mov word [ebp - 0x58], ax
mov ebx, 0x80
lea ecx, [eax + 0x7e]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test edi, edi
je 0x48d340
cmp word [edi + ebx*2 - 4], 0
jne 0x48d397
cmp word [edi + ebx*2 - 2], 0
jne 0x48d397
lea eax, [ebx - 2]
cmp ecx, eax
jne 0x48d397
add ebx, ebx
test edi, edi
je 0x48d34c
push edi
call esi
add esp, 4
lea esi, [ebx + ebx]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
push esi
mov edi, eax
push 0
push edi
call sub.VCRUNTIME140.dll_memset
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x28]
add esp, 0x10
mov eax, edx
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
cmp dword [edx + 0x14], 8
jb 0x48d37f
mov eax, dword [edx]
push ecx
push ebx
push edi
push 0x4a9810
push eax
push str.Language
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, eax
jmp 0x48d31f
mov ebx, dword [ebp - 0x90]
xor eax, eax
push ecx
push edi
mov ecx, ebx
mov dword [ebx], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
call fcn.00404580
push edi
call esi
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 8
jb 0x48d3fb
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48d3f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48d43b
push edx
push ecx
call fcn.0049927f
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x48d44b
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48d441
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48d441
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049927f
add esp, 8
mov eax, ebx
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.0049928d
mov esp, ebp
pop ebp
ret
call fcn.00401c50
int3