Function at 0x48ee40
Capabilities:
Read .ini file

Disassembly:
sub esp, 8
mov eax, dword [0x547570]
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
push edi
test ebx, ebx
mov dword [esp + 0x10], eax
je 0x48eea5
mov ecx, ebx
shr ecx, 0x10
jne 0x48ee73
mov edx, ebx
lea ecx, [esp + 0x10]
and edx, 0xffff
push edx
call fcn.00413ae0
jmp 0x48eea5
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x48eea5
push esi
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x48eea5
mov edi, dword [esp + 0x10]
lea ecx, [esi + esi]
mov eax, ecx
mov esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x547570]
test ebx, ebx
mov dword [esp + 0x28], ecx
je 0x48eefe
mov edx, ebx
shr edx, 0x10
jne 0x48eecc
and ebx, 0xffff
lea ecx, [esp + 0x28]
push ebx
call fcn.00413ae0
jmp 0x48eefe
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
test esi, esi
je 0x48eefe
push esi
lea ecx, [esp + 0x2c]
call fcn.00405530
test eax, eax
je 0x48eefe
mov edi, dword [esp + 0x28]
lea ecx, [esi + esi]
mov eax, ecx
mov esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x28]
mov eax, 0x1000
mov edx, dword [ecx - 0xc]
lea ebx, [ecx - 0xc]
cmp edx, 1
jg 0x48ef17
cmp dword [ecx - 4], eax
jge 0x48ef71
mov ebp, dword [ecx - 8]
cmp ebp, eax
jle 0x48ef20
mov eax, ebp
push eax
lea ecx, [esp + 0x2c]
call fcn.00405530
test eax, eax
jne 0x48ef34
mov dword [esp + 0x14], eax
jmp 0x48ef79
mov edi, dword [esp + 0x28]
lea ecx, [ebp + ebp + 2]
mov edx, ecx
lea esi, [ebx + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x28]
mov dword [eax - 8], ebp
mov eax, dword [0x547574]
cmp ebx, eax
je 0x48ef71
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x48ef71
push ebx
call fcn.00532222
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
mov eax, 0x1000
mov edx, dword [ecx - 0xc]
lea ebp, [ecx - 0xc]
cmp edx, 1
jg 0x48ef92
cmp dword [ecx - 4], eax
jge 0x48efcf
mov ebx, dword [ecx - 8]
cmp ebx, eax
jle 0x48ef9b
mov eax, ebx
push eax
lea ecx, [esp + 0x14]
call fcn.00405530
test eax, eax
je 0x48efd3
mov edi, dword [esp + 0x10]
lea ecx, [ebx + ebx + 2]
mov edx, ecx
lea esi, [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
mov dword [eax - 8], ebx
call fcn.00405590
mov eax, dword [esp + 0x10]
mov ecx, dword [0x55df8c]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x24]
push 0x1000
push edx
push eax
mov eax, dword [esp + 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x28]
call fcn.004055c0
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x28]
mov word [edx + eax*2], 0
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx - 0xc]
lea eax, [ecx - 0xc]
test edx, edx
jl 0x48f037
push eax
mov dword [esi], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x48f046
mov eax, dword [0x547570]
push ecx
mov ecx, esi
mov dword [esi], eax
call fcn.00405920
lea ecx, [esp + 0x28]
call fcn.00405700
lea ecx, [esp + 0x10]
call fcn.00405700
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret