Function at 0x476e30
Capabilities:
Encode data using xor
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee1cd
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x52610c]
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 edi, ecx
mov dword [ebp - 0xc8], edi
mov eax, dword fs:[0x2c]
mov dword [ebp - 0xcc], 0
mov ecx, dword [eax]
mov eax, dword [0x52ea58]
cmp eax, dword [ecx + 4]
jle 0x476ecf
push 0x52ea58
call fcn.004a06ac
add esp, 4
cmp dword [0x52ea58], 0xffffffff
jne 0x476ecf
push 0x507250
mov ecx, 0x52ea5c
mov dword [ebp - 4], 0
call fcn.00409bf0
push 0x4f10d0
call fcn.004a0a03
push 0x52ea58
mov dword [ebp - 4], 0xffffffff
call fcn.004a066d
add esp, 8
cmp dword [0x52ea6c], 0
ja 0x4770cd
mov dword [ebp - 0x90], 0x6e1c1c32
mov dword [ebp - 0x8c], 0x545c5d51
mov dword [ebp - 0x88], 0x5b1c555b
mov word [ebp - 0x84], 0x5b5c
mov byte [ebp - 0x82], 0
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], 1
call fcn.00478440
mov edx, eax
mov byte [ebp - 4], 2
xor ecx, ecx
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x8f]
xor al, byte [ebp - 0x90]
mov byte [ebp + ecx - 0x81], al
inc ecx
cmp ecx, 0xd
jb 0x476f30
lea eax, [ebp - 0x81]
mov byte [ebp - 0x74], 0
push eax
push edx
lea eax, [ebp - 0xc0]
push eax
call fcn.00407900
add esp, 0xc
mov eax, dword [ebp - 0x94]
cmp eax, 0x10
jb 0x476f83
inc eax
lea ecx, [ebp - 0xa8]
push eax
push dword [ebp - 0xa8]
call fcn.004099a0
mov dword [ebp - 0x94], 0xf
mov dword [ebp - 0x98], 0
mov byte [ebp - 0xa8], 0
push 0x40
mov byte [ebp - 4], 5
lea eax, [ebp - 0x50]
xorps xmm0, xmm0
mov dword [ebp - 0x87], 0
push 0
push eax
movq qword [ebp - 0x8f], xmm0
mov word [ebp - 0x83], 0
call fcn.004b98e0
add esp, 0xc
mov dword [ebp - 0x70], 0x58404b2e
cmp dword [ebp - 0xac], 0x10
lea esi, [ebp - 0xc0]
mov bh, 0x32
mov dword [ebp - 0x64], 0x3534385b
cmovae esi, dword [ebp - 0xc0]
mov al, 0x4b
mov byte [ebp - 0xc1], bh
mov cl, 0x40
mov bh, 0x3c
mov byte [ebp - 0x6c], 0
mov byte [ebp - 0xc2], bh
mov ah, 0x34
mov bh, byte [ebp - 0x70]
mov bl, 0x58
xor al, bh
mov dword [ebp - 0x60], 0x3c323d
xor cl, bh
mov byte [ebp - 0x6b], al
mov al, byte [ebp - 0xc2]
xor bl, bh
mov bh, byte [ebp - 0xc1]
mov dl, 0x38
mov byte [ebp - 0x6a], cl
mov ch, 0x35
mov cl, byte [ebp - 0x64]
mov dh, 0x3d
xor ah, cl
mov byte [ebp - 0x69], bl
xor al, cl
mov byte [ebp - 0x5b], ah
push esi
mov byte [ebp - 0x57], al
xor dl, cl
push 0x40
lea eax, [ebp - 0x50]
mov byte [ebp - 0x68], 0
push eax
push 0x507250
lea eax, [ebp - 0x6b]
mov byte [ebp - 0x5c], dl
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 0x56], 0
xor ch, cl
xor dh, cl
xor bh, cl
mov byte [ebp - 0x5a], ch
push eax
mov byte [ebp - 0x59], dh
mov byte [ebp - 0x58], bh
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x50], 0
jne 0x477086
xor eax, eax
jmp 0x477099
lea eax, [ebp - 0x50]
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x477090
sub eax, edx
push eax
lea eax, [ebp - 0x50]
mov ecx, 0x52ea5c
push eax
call fcn.00409af0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xac]
cmp eax, 0x10
jb 0x4770cd
inc eax
lea ecx, [ebp - 0xc0]
push eax
push dword [ebp - 0xc0]
call fcn.004099a0
push 0xffffffffffffffff
push 0
mov dword [edi + 0x14], 0xf
mov ecx, edi
mov dword [edi + 0x10], 0
push 0x52ea5c
mov byte [edi], 0
call fcn.00409690
mov eax, edi
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.004a04d5
mov esp, ebp
pop ebp
ret