Function at 0x47e140
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509c9d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x542040]
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 ebx, dword [ebp + 8]
mov eax, dword [0x5495d8]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], ebx
test eax, eax
je 0x47e401
cmp dword [eax], 0
je 0x47e401
mov ebx, 0x104
lea ecx, [ebx + 0x11]
call fcn.00425b20
mov esi, eax
mov ecx, 0x8b
xor eax, eax
mov dword [ebp - 0x14], esi
mov edi, esi
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x10]
mov dword [esi + 4], 1
mov dword [esi + 0xc], 0x105
mov dword [esi + 8], ecx
mov dword [esi], eax
mov dword [ebp - 4], eax
mov eax, dword [0x5495d8]
test eax, eax
je 0x47e1ce
mov eax, dword [eax + 8]
jmp 0x47e1d0
xor eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push eax
push 0x104
push ecx
push 0x520548
push str.rcWindow
push str.SHowData_Config
call edi
cmp byte [0x5495dc], 0
mov edx, eax
mov dword [ebp - 0x18], edx
je 0x47e235
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x47e232
mov eax, dword [0x5495d8]
test eax, eax
je 0x47e215
mov eax, dword [eax + 8]
jmp 0x47e217
xor eax, eax
push eax
push 0x520548
push str.rcWindow
push str.SHowData_Config
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x18]
jmp 0x47e288
mov edx, dword [ebp - 0x18]
lea eax, [ebx - 1]
cmp edx, eax
je 0x47e243
lea eax, [ebx - 2]
cmp edx, eax
jne 0x47e285
push ecx
add ebx, ebx
lea ecx, [ebp - 0x14]
push ebx
call fcn.00423fd0
mov eax, dword [0x5495d8]
test eax, eax
je 0x47e25d
mov eax, dword [eax + 8]
jmp 0x47e25f
xor eax, eax
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x47e26b
mov ecx, dword [esi + 8]
jmp 0x47e26d
xor ecx, ecx
push eax
push ebx
push ecx
push 0x520548
push str.rcWindow
push str.SHowData_Config
call edi
mov edx, eax
jmp 0x47e235
mov dword [ebp - 0x18], edx
test esi, esi
jne 0x47e2ce
xor ebx, ebx
cmp edx, 0xffffffff
cmovne ebx, edx
lea ecx, [ebx + 0x11]
call fcn.00425b20
mov esi, eax
lea ecx, [ebx*2 + 0x24]
shr ecx, 1
xor eax, eax
shr ecx, 1
mov edi, esi
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
lea eax, [ebx + 1]
mov dword [esi + 4], 1
mov dword [esi + 0xc], eax
lea eax, [esi + 0x10]
mov dword [esi + 8], eax
mov dword [esi], ebx
jmp 0x47e3cd
mov eax, dword [esi + 0xc]
mov ebx, dword [esi]
mov dword [ebp - 0x20], ebx
cmp eax, edx
jae 0x47e344
lea ecx, [edx + 0x1001]
add ecx, eax
lea edi, [eax + edx]
mov dword [ebp - 0x1c], ecx
cmp ecx, eax
jbe 0x47e344
lea ecx, [edi + 0x1011]
call fcn.00425b20
mov ebx, eax
lea ecx, [edi*2 + 0x2024]
shr ecx, 1
xor eax, eax
shr ecx, 1
mov edi, ebx
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 0xc]
lea eax, [eax*2 + 0x20]
push eax
push esi
push ebx
call fcn.004def30
lea eax, [ebx + 0x10]
push esi
mov dword [ebx + 8], eax
call fcn.004eb01a
mov eax, dword [ebp - 0x1c]
mov esi, ebx
mov edx, dword [ebp - 0x18]
add esp, 0x10
mov dword [ebx + 0xc], eax
mov ebx, dword [ebp - 0x20]
mov dword [esi], edx
lea edi, [esi + 8]
mov eax, dword [edi]
xor ecx, ecx
mov word [eax + edx*2], cx
cmp edx, ebx
ja 0x47e3cd
mov ecx, ebx
mov eax, edx
sub ecx, edx
mov dword [ebp - 0x1c], ecx
cmp edx, ebx
jae 0x47e3cd
cmp ecx, 8
jb 0x47e3c0
mov ecx, dword [edi]
lea ebx, [ecx + edx*2]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x20]
lea ecx, [ecx + ebx*2]
add ecx, 0xfffffffe
cmp dword [ebp - 0x18], edi
ja 0x47e381
cmp ecx, edi
jae 0x47e3c0
mov edi, dword [ebp - 0x1c]
mov ecx, ebx
and edi, 7
sub ecx, edi
nop dword [eax + eax]
add eax, 8
cmp eax, ecx
jb 0x47e390
mov edi, dword [ebp - 0x18]
sub ecx, edx
add ecx, 7
mov dword [ebp - 0x1c], eax
shr ecx, 3
xor eax, eax
shl ecx, 4
shr ecx, 1
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jae 0x47e3cd
lea edi, [esi + 8]
nop
mov ecx, dword [edi]
xor edx, edx
mov word [ecx + eax*2], dx
inc eax
cmp eax, ebx
jb 0x47e3c0
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x14]
mov dword [edi], 0
cmp eax, edi
je 0x47e3e3
mov eax, esi
xor esi, esi
mov dword [edi], eax
mov dword [ebp - 4], 1
test esi, esi
je 0x47e3fd
add dword [esi + 4], 0xffffffff
jne 0x47e3fd
push esi
call fcn.004eb01a
add esp, 4
mov eax, edi
jmp 0x47e414
push 0
push 0
mov ecx, ebx
mov dword [ebx], 0
call fcn.0042dfa0
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.004dadd7
mov esp, ebp
pop ebp
ret 0x14