Function at 0x32431e84
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0xe0
and byte [ebp - 5], 0
push ebx
push edi
push dword [ebp + 8]
pop edi
xor ebx, ebx
cmp dword [edi + 0x14], ebx
mov dword [ebp - 0xc], ebx
je 0x32432149
cmp dword [edi + 0x18], ebx
je 0x32432149
cmp dword [edi + 0x1c], ebx
je 0x32432149
mov al, byte [ebp + 0xc]
push esi
mov esi, 0x98
mov byte [edi + 8], al
push esi
call fcn.32438354
mov dword [ebp + 0xc], ebx
pop ecx
test eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], esi
push 0xa8
pop ebx
je 0x324320a7
lea ecx, [ebp + 0xc]
mov dword [eax], esi
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [edi + 0x18]
cmp eax, 0x25b
jne 0x32431f1c
push dword [ebp - 0x10]
push dword [ebp - 0x20]
call fcn.32438383
pop ecx
mov dword [ebp - 0x20], eax
or eax, eax
pop ecx
je 0x324320a7
lea ecx, [ebp + 0xc]
mov dword [eax], esi
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [edi + 0x18]
test eax, eax
jne 0x324320a7
lea eax, [ebp - 0x30]
mov dword [ebp - 4], eax
mov esi, 0x32439180
mov edi, dword [ebp - 4]
mov ecx, 6
lodsb al, byte [esi]
sub al, 0x72
add al, 0x7f
stosb byte es:[edi], al
dec ecx
jne 0x32431f37
lea eax, [ebp - 0x28]
mov dword [ebp - 4], eax
mov esi, dword [0x32439188]
push dword [ebp - 4]
pop edi
mov ecx, 5
lodsb al, byte [esi]
xor al, 0x11
add al, 0xe7
stosb byte es:[edi], al
dec ecx
jne 0x32431f55
and dword [ebp - 0x14], 0
cmp dword [ebp + 0xc], 0
jbe 0x32432093
push dword [ebp - 0x20]
pop eax
lea edi, [eax + 4]
mov dword [ebp - 0x1c], edi
push dword [sym.imp.KERNEL32.DLL_lstrcmpiA]
pop esi
lea eax, [ebp - 0x30]
push eax
push edi
call esi
test eax, eax
je 0x32431f93
lea eax, [ebp - 0x28]
push eax
push edi
call esi
test eax, eax
jne 0x32431f96
inc dword [ebp - 0xc]
inc dword [ebp - 0x14]
add edi, 0x98
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jb 0x32431f76
cmp dword [ebp - 0xc], 0
je 0x32432093
push dword [ebp - 0xc]
pop eax
imul eax, eax, 0xa8
push eax
call fcn.32438354
mov esi, eax
mov eax, dword [ebp + 8]
test esi, esi
pop ecx
mov dword [ebp - 0x38], esi
mov dword [eax + 4], esi
je 0x324320a4
xor eax, eax
cmp dword [ebp + 0xc], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x34], eax
jbe 0x32432093
and dword [ebp - 4], eax
push dword [ebp - 0x1c]
pop eax
mov edi, dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0xc]
jae 0x32432093
push dword [ebp - 0x18]
pop eax
mov dword [ebp - 0x1c], 1
cmp byte [eax + 0x11], 0
je 0x32432025
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiA]
test eax, eax
mov dword [ebp - 0x1c], eax
je 0x32432036
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_lstrcmpiA]
and eax, eax
jne 0x3243207d
push dword [ebp - 4]
pop eax
push dword [ebp - 0x18]
add esi, eax
lea eax, [esi + 0x14]
push eax
call edi
mov eax, dword [ebp - 0x18]
add eax, 0x11
push eax
lea eax, [esi + 0x25]
push eax
call edi
xor eax, eax
xor ecx, ecx
cmp dword [ebp - 0x1c], eax
setne cl
cmp dword [ebp - 0x1c], eax
mov dword [esi], ecx
setne cl
mov byte [esi + 4], cl
and byte [esi + 5], al
inc dword [ebp - 0x34]
add dword [ebp - 4], ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
push dword [ebp - 0x38]
pop esi
inc dword [ebp - 0x14]
add dword [ebp - 0x18], 0x98
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jb 0x32431ff6
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
mov byte [ebp - 5], 1
mov dword [ecx], eax
call fcn.32431c40
mov edi, dword [ebp + 8]
push dword [ebp - 0x20]
call fcn.32438368
cmp dword [ebp - 0xc], 0
pop ecx
jbe 0x32432143
push dword [edi + 4]
pop eax
push 1
mov dword [ebp + 8], eax
add eax, 0xa8
pop edi
mov dword [ebp - 4], eax
push dword [ebp + 8]
pop eax
cmp edi, dword [ebp - 0xc]
mov dword [ebp + 0xc], eax
jae 0x32432105
push dword [ebp - 0xc]
pop eax
push dword [ebp - 4]
pop ecx
sub eax, edi
mov esi, dword [ebp + 0xc]
push dword [ecx]
pop edx
mov esi, dword [esi]
cmp edx, esi
ja 0x324320fd
jne 0x32432100
push dword [ebp + 0xc]
pop esi
push dword [ecx + 0x10]
pop edx
cmp edx, dword [esi + 0x10]
jbe 0x32432100
mov dword [ebp + 0xc], ecx
add ecx, ebx
dec eax
jne 0x324320e2
push ebx
lea eax, [ebp - 0xe0]
push dword [ebp + 8]
push eax
call fcn.324383eb
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.324383eb
lea eax, [ebp - 0xe0]
push ebx
push eax
push dword [ebp + 0xc]
call fcn.324383eb
add dword [ebp - 4], ebx
add dword [ebp + 8], ebx
add esp, 0x24
inc edi
lea eax, [edi - 1]
cmp eax, dword [ebp - 0xc]
jb 0x324320cc
mov al, byte [ebp - 5]
pop esi
jmp 0x3243214b
xor al, al
pop edi
pop ebx
leave
ret 8