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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee16d
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 0x476e8f
push 0x52ea58
call fcn.004a064c
add esp, 4
cmp dword [0x52ea58], 0xffffffff
jne 0x476e8f
push 0x507250
mov ecx, 0x52ea5c
mov dword [ebp - 4], 0
call fcn.00409bf0
push 0x4f1060
call fcn.004a09a3
push 0x52ea58
mov dword [ebp - 4], 0xffffffff
call fcn.004a060d
add esp, 8
cmp dword [0x52ea6c], 0
ja 0x47708d
mov dword [ebp - 0x90], 0xd7f7f51
mov dword [ebp - 0x8c], 0x373f3e32
mov dword [ebp - 0x88], 0x387f3638
mov word [ebp - 0x84], 0x383f
mov byte [ebp - 0x82], 0
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], 1
call fcn.00478400
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 0x476ef0
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 0x476f43
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.004b9880
add esp, 0xc
mov dword [ebp - 0x70], 0x322a2144
cmp dword [ebp - 0xac], 0x10
lea esi, [ebp - 0xc0]
mov bh, 0x4b
mov dword [ebp - 0x64], 0x4c4d4122
cmovae esi, dword [ebp - 0xc0]
mov al, 0x21
mov byte [ebp - 0xc1], bh
mov cl, 0x2a
mov bh, 0x45
mov byte [ebp - 0x6c], 0
mov byte [ebp - 0xc2], bh
mov ah, 0x4d
mov bh, byte [ebp - 0x70]
mov bl, 0x32
xor al, bh
mov dword [ebp - 0x60], 0x454b44
xor cl, bh
mov byte [ebp - 0x6b], al
mov al, byte [ebp - 0xc2]
xor bl, bh
mov bh, byte [ebp - 0xc1]
mov dl, 0x41
mov byte [ebp - 0x6a], cl
mov ch, 0x4c
mov cl, byte [ebp - 0x64]
mov dh, 0x44
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 0x477046
xor eax, eax
jmp 0x477059
lea eax, [ebp - 0x50]
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x477050
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 0x47708d
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.004a0475
mov esp, ebp
pop ebp
ret