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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee21d
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 0x476f2f
push 0x52ea58
call fcn.004a06fc
add esp, 4
cmp dword [0x52ea58], 0xffffffff
jne 0x476f2f
push 0x507250
mov ecx, 0x52ea5c
mov dword [ebp - 4], 0
call fcn.00409bf0
push 0x4f1120
call fcn.004a0a53
push 0x52ea58
mov dword [ebp - 4], 0xffffffff
call fcn.004a06bd
add esp, 8
cmp dword [0x52ea6c], 0
ja 0x47712d
mov dword [ebp - 0x90], 0x295b5b75
mov dword [ebp - 0x8c], 0x131b1a16
mov dword [ebp - 0x88], 0x1c5b121c
mov word [ebp - 0x84], 0x1c1b
mov byte [ebp - 0x82], 0
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], 1
call fcn.004784a0
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 0x476f90
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 0x476fe3
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.004b9930
add esp, 0xc
mov dword [ebp - 0x70], 0x6f777c19
cmp dword [ebp - 0xac], 0x10
lea esi, [ebp - 0xc0]
mov bh, 0x47
mov dword [ebp - 0x64], 0x40414d2e
cmovae esi, dword [ebp - 0xc0]
mov al, 0x7c
mov byte [ebp - 0xc1], bh
mov cl, 0x77
mov bh, 0x49
mov byte [ebp - 0x6c], 0
mov byte [ebp - 0xc2], bh
mov ah, 0x41
mov bh, byte [ebp - 0x70]
mov bl, 0x6f
xor al, bh
mov dword [ebp - 0x60], 0x494748
xor cl, bh
mov byte [ebp - 0x6b], al
mov al, byte [ebp - 0xc2]
xor bl, bh
mov bh, byte [ebp - 0xc1]
mov dl, 0x4d
mov byte [ebp - 0x6a], cl
mov ch, 0x40
mov cl, byte [ebp - 0x64]
mov dh, 0x48
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 0x4770e6
xor eax, eax
jmp 0x4770f9
lea eax, [ebp - 0x50]
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4770f0
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 0x47712d
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.004a0525
mov esp, ebp
pop ebp
ret