Function at 0x32431860
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
push ebx
sub ebx, ebx
lea eax, [ebp - 0x1c]
push esi
push edi
mov byte [ebp - 1], bl
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], 0x257
mov dword [ebp - 0xc], eax
push dword [0x324390e4]
pop esi
push dword [ebp - 0xc]
pop edi
mov ecx, 9
lodsb al, byte [esi]
add al, 0x2d
xor al, 0x7e
stosb byte es:[edi], al
dec ecx
jne 0x32431891
lea eax, [ebp - 0x28]
mov dword [ebp - 0xc], eax
mov esi, 0x32439038
mov edi, dword [ebp - 0xc]
push 0xb
pop ecx
lodsb al, byte [esi]
xor al, 0xd9
add al, 0x2f
stosb byte es:[edi], al
dec ecx
jne 0x324318ab
push 0x100
lea eax, [ebp - 0x164]
push ebx
push eax
call fcn.324383b2
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
call fcn.32435ecc
cmp eax, ebx
mov dword [ebp - 0x2c], eax
je 0x32431913
push ebx
push ebx
lea eax, [ebp - 0x164]
push 0xff
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.3243456c
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x32431913
push eax
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x164]
push eax
push 8
push dword [0x32439140]
call fcn.32437d00
lea ecx, [ebp - 0x64]
call fcn.32432310
lea ecx, [ebp - 0x64]
call fcn.324328b8
or al, al
je 0x32431a7e
push 0xc
pop eax
call fcn.32438510
mov dword [ebp - 0xc], esp
push 0x324390b0
pop esi
push dword [ebp - 0xc]
pop edi
push 9
pop ecx
lodsb al, byte [esi]
xor al, 0x4d
sub al, 0xa9
stosb byte es:[edi], al
dec ecx
jne 0x32431943
push dword [ebp - 0x64]
push dword [ebp - 0xc]
call fcn.32434908
mov esi, dword [ebp - 0x2c]
cmp esi, ebx
je 0x3243199d
cmp dword [ebp - 0x10], ebx
je 0x3243199d
call fcn.3243843a
cmp eax, esi
jbe 0x3243199d
add esi, 0xa8c00
cmp eax, esi
jae 0x3243199d
lea eax, [ebp - 0x164]
push eax
push ebx
call fcn.324370cc
pop ecx
mov esi, eax
pop ecx
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.324315e0
cmp al, bl
mov byte [ebp - 1], al
jne 0x32431a15
push 1
mov dword [ebp - 0xc], ebx
pop edi
push ebx
push edi
call fcn.324370cc
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
jne 0x324319c2
cmp edi, 1
jne 0x324319e6
push ebx
push ebx
call fcn.324370cc
pop ecx
mov esi, eax
pop ecx
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.324315e0
cmp al, bl
mov byte [ebp - 1], al
jne 0x32431a15
cmp edi, ebx
je 0x324319e6
inc edi
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xa
jb 0x324319a3
cmp byte [ebp - 1], bl
jne 0x32431a15
push ebx
push ebx
call fcn.324370cc
mov esi, eax
pop ecx
cmp esi, ebx
pop ecx
je 0x32431a7e
lea eax, [ebp - 8]
push 1
push eax
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.324315e0
cmp al, bl
mov byte [ebp - 1], al
je 0x32431a7e
cmp esi, ebx
je 0x32431a79
add esi, 8
lea eax, [ebp - 0x164]
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
lea eax, [ebp - 0x164]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
push eax
pop esi
lea eax, [ebp - 0x164]
push esi
push eax
lea eax, [ebp - 0x164]
push eax
push 8
push dword [0x32439140]
call fcn.32437d00
push ebx
push ebx
push 3
lea eax, [ebp - 0x164]
push esi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.324353ac
call fcn.3243843a
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.32434908
cmp byte [ebp - 1], bl
jne 0x32431ac6
push ebx
push ebx
call fcn.324370cc
pop ecx
or eax, eax
pop ecx
je 0x32431ac6
call fcn.3243843a
push 0x10
mov dword [0x3243a674], eax
pop eax
call fcn.32438510
mov dword [ebp - 0x10], esp
push dword [0x32439078]
pop esi
mov edi, dword [ebp - 0x10]
mov ecx, 0xd
lodsb al, byte [esi]
add al, 0x88
xor al, 4
stosb byte es:[edi], al
dec ecx
jne 0x32431aaf
push dword [0x3243a674]
push dword [ebp - 0x10]
call fcn.32434908
push 0xc
pop eax
call fcn.32438510
mov dword [ebp - 0x10], esp
push dword [0x3243901c]
pop esi
mov edi, dword [ebp - 0x10]
mov ecx, 0xb
lodsb al, byte [esi]
xor al, 0xbf
sub al, 6
stosb byte es:[edi], al
dec ecx
jne 0x32431ae0
push dword [ebp - 8]
push dword [ebp - 0x10]
call fcn.32434908
lea ecx, [ebp - 0x64]
call fcn.32432c90
mov al, byte [ebp - 1]
lea esp, [ebp - 0x170]
pop edi
pop esi
pop ebx
leave
ret