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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef92d
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x52910c]
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 [0x531a58]
cmp eax, dword [ecx + 4]
jle 0x47823f
push 0x531a58
call fcn.004a1a0b
add esp, 4
cmp dword [0x531a58], 0xffffffff
jne 0x47823f
push 0x509250
mov ecx, 0x531a5c
mov dword [ebp - 4], 0
call fcn.00409bf0
push 0x4f2820
call fcn.004a1d62
push 0x531a58
mov dword [ebp - 4], 0xffffffff
call fcn.004a19cc
add esp, 8
cmp dword [0x531a6c], 0
ja 0x47843d
mov dword [ebp - 0x90], 0x6a181836
mov dword [ebp - 0x8c], 0x50585955
mov dword [ebp - 0x88], 0x5f18515f
mov word [ebp - 0x84], 0x5f58
mov byte [ebp - 0x82], 0
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], 1
call fcn.004797b0
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 0x4782a0
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 0x4782f3
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.004bac20
add esp, 0xc
mov dword [ebp - 0x70], 0x2c343f5a
cmp dword [ebp - 0xac], 0x10
lea esi, [ebp - 0xc0]
mov bh, 0x14
mov dword [ebp - 0x64], 0x13121e7d
cmovae esi, dword [ebp - 0xc0]
mov al, 0x3f
mov byte [ebp - 0xc1], bh
mov cl, 0x34
mov bh, 0x1a
mov byte [ebp - 0x6c], 0
mov byte [ebp - 0xc2], bh
mov ah, 0x12
mov bh, byte [ebp - 0x70]
mov bl, 0x2c
xor al, bh
mov dword [ebp - 0x60], 0x1a141b
xor cl, bh
mov byte [ebp - 0x6b], al
mov al, byte [ebp - 0xc2]
xor bl, bh
mov bh, byte [ebp - 0xc1]
mov dl, 0x1e
mov byte [ebp - 0x6a], cl
mov ch, 0x13
mov cl, byte [ebp - 0x64]
mov dh, 0x1b
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 0x509250
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 0x4783f6
xor eax, eax
jmp 0x478409
lea eax, [ebp - 0x50]
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x478400
sub eax, edx
push eax
lea eax, [ebp - 0x50]
mov ecx, 0x531a5c
push eax
call fcn.00409af0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xac]
cmp eax, 0x10
jb 0x47843d
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 0x531a5c
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.004a1845
mov esp, ebp
pop ebp
ret