Function at 0x10032470
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi]
test edi, edi
je 0x1003249a
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003249a
mov ecx, edi
call dword [0x100624f8]
mov edi, eax
jmp 0x1003249c
xor edi, edi
mov ebx, dword [esi]
test ebx, ebx
je 0x100324bb
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100324bb
or edi, 0x20
mov ecx, ebx
push edi
call dword [0x100624fc]
mov byte [ebp - 0x14], 0x3d
mov al, 0x5f
xor al, byte [ebp - 0x14]
mov dl, 0x53
mov byte [ebp - 0x13], al
mov dh, 0x52
mov al, byte [ebp - 0x14]
mov cl, 0x49
xor dl, al
mov byte [ebp - 0xa], 0
xor dh, al
mov byte [ebp - 0x11], dl
mov byte [ebp - 0xd], dh
xor cl, al
mov bl, 0x62
mov byte [ebp - 1], 0x58
xor bl, al
mov byte [ebp - 0x12], cl
mov ah, 0x5e
mov byte [ebp - 0x10], bl
xor ah, al
mov byte [ebp - 0xa], 0
mov ch, 0x51
mov byte [ebp - 0xf], ah
xor ch, al
mov bh, 0x4e
xor bh, al
mov byte [ebp - 0xe], ch
mov al, byte [ebp - 1]
sub esp, 0x18
xor al, byte [ebp - 0x14]
mov edx, esp
mov byte [ebp - 0xc], bh
mov byte [ebp - 0xb], al
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1003253b
mov eax, dword [edx]
jmp 0x1003253d
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x13], 0
jne 0x1003254a
xor ecx, ecx
jmp 0x10032559
lea ecx, [ebp - 0x13]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10032550
sub ecx, edi
push ecx
lea eax, [ebp - 0x13]
mov ecx, edx
push eax
call fcn.100052b0
mov ecx, dword [esi]
call fcn.10011b00
add esp, 0x18
mov dword [esi + 4], eax
mov cl, 0x6f
mov dword [ebp - 0x18], 0x11b0d6f
mov dword [ebp - 0x14], 0x1d0e1830
xor eax, eax
mov dword [ebp - 0x10], 0x1d00061d
mov byte [ebp - 0xc], 0
nop
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xb
jae 0x1003259f
mov cl, byte [ebp - 0x18]
jmp 0x10032590
sub esp, 0x18
mov byte [ebp - 0xc], 0
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x100325ce
mov eax, dword [edx]
jmp 0x100325d0
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x17], 0
jne 0x100325dd
xor ecx, ecx
jmp 0x100325ec
lea ecx, [ebp - 0x17]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100325e3
sub ecx, edi
push ecx
lea eax, [ebp - 0x17]
mov ecx, edx
push eax
call fcn.100052b0
mov ecx, dword [esi]
call fcn.10011b00
mov dword [esi + 8], eax
mov dl, 0x19
mov byte [ebp - 0x14], 0x77
mov al, 0x15
xor al, byte [ebp - 0x14]
mov dh, 0x10
mov byte [ebp - 0x13], al
mov cl, 3
mov al, byte [ebp - 0x14]
mov bl, 0x28
xor dl, al
mov byte [ebp - 0xa], 0
xor dh, al
mov byte [ebp - 0x11], dl
mov byte [ebp - 0xd], dh
xor cl, al
xor bl, al
mov byte [ebp - 1], 0x12
mov edx, esp
mov byte [ebp - 0x12], cl
mov ah, 5
mov byte [ebp - 0x10], bl
xor ah, al
mov byte [ebp - 0xa], 0
mov ch, 0x18
mov byte [ebp - 0xf], ah
xor ch, al
mov bh, 2
xor bh, al
mov byte [ebp - 0xe], ch
mov al, byte [ebp - 1]
xor al, byte [ebp - 0x14]
mov byte [ebp - 0xc], bh
mov byte [ebp - 0xb], al
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1003267f
mov eax, dword [edx]
jmp 0x10032681
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x13], 0
jne 0x1003268e
xor ecx, ecx
jmp 0x1003269d
lea ecx, [ebp - 0x13]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10032694
sub ecx, edi
push ecx
lea eax, [ebp - 0x13]
mov ecx, edx
push eax
call fcn.100052b0
mov ecx, dword [esi]
call fcn.10011b00
mov dword [esi + 0xc], eax
mov dl, 0x4b
mov byte [ebp - 0x14], 0x25
mov al, 0x47
xor al, byte [ebp - 0x14]
mov dh, 0x42
mov byte [ebp - 0x13], al
mov cl, 0x51
mov al, byte [ebp - 0x14]
mov bl, 0x7a
xor dl, al
mov byte [ebp - 0xb], 0
mov byte [ebp - 0x11], dl
xor dh, al
mov byte [ebp - 0xd], dh
mov ah, 0x48
mov edx, esp
mov byte [ebp - 0xb], 0
mov ch, 0x44
mov bh, 0x40
xor cl, al
xor bl, al
mov byte [ebp - 0x12], cl
xor ah, al
mov byte [ebp - 0x10], bl
xor ch, al
mov byte [ebp - 0xf], ah
xor bh, al
mov byte [ebp - 0xe], ch
mov byte [ebp - 0xc], bh
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x10032723
mov eax, dword [edx]
jmp 0x10032725
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x13], 0
jne 0x10032732
xor ecx, ecx
jmp 0x10032741
lea ecx, [ebp - 0x13]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10032738
sub ecx, edi
push ecx
lea eax, [ebp - 0x13]
mov ecx, edx
push eax
call fcn.100052b0
mov ecx, dword [esi]
call fcn.10011b00
mov dword [esi + 0x10], eax
mov cl, 0xd
mov byte [ebp - 0x14], 0x79
mov al, 0x1b
xor al, byte [ebp - 0x14]
mov dl, 0x17
mov byte [ebp - 0x13], al
mov dh, 0x10
mov byte [ebp - 2], cl
mov bl, 0x26
xor cl, byte [ebp - 0x14]
mov ah, 9
mov byte [ebp - 0x12], cl
mov ch, 0xb
mov cl, byte [ebp - 0x14]
mov bh, 0x1c
mov byte [ebp - 1], 0xa
xor dl, cl
mov al, byte [ebp - 1]
xor dh, cl
mov byte [ebp - 0x11], dl
xor al, cl
mov byte [ebp - 0xb], al
xor bl, cl
mov al, byte [ebp - 2]
xor ah, cl
mov byte [ebp - 0xd], dh
xor ch, cl
mov edx, esp
mov byte [ebp - 9], 0
mov byte [ebp - 0x10], bl
xor bh, cl
mov byte [ebp - 0xf], ah
xor al, cl
mov byte [ebp - 0xe], ch
mov byte [ebp - 0xc], bh
mov byte [ebp - 0xa], al
mov byte [ebp - 9], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x100327df
mov eax, dword [edx]
jmp 0x100327e1
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x13], 0
jne 0x100327ee
xor ecx, ecx
jmp 0x100327fd
lea ecx, [ebp - 0x13]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100327f4
sub ecx, edi
push ecx
lea eax, [ebp - 0x13]
mov ecx, edx
push eax
call fcn.100052b0
mov ecx, dword [esi]
call fcn.10011b00
movaps xmm0, xmmword [0x10063870]
add esp, 0x18
mov dword [esi + 0x14], eax
xor ecx, ecx
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0xc], 0x4a4246
nop word [eax + eax]
mov al, byte [ebp - 0x1c]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 0x12
jb 0x10032830
sub esp, 0x18
mov byte [ebp - 9], 0
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1003286c
mov eax, dword [edx]
jmp 0x1003286e
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x1b], 0
jne 0x1003287b
xor ecx, ecx
jmp 0x1003288a
lea ecx, [ebp - 0x1b]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10032881
sub ecx, edi
push ecx
lea eax, [ebp - 0x1b]
mov ecx, edx
push eax
call fcn.100052b0
mov ecx, dword [esi]
call fcn.10011b00
movaps xmm0, xmmword [str.C7_7]
add esp, 0x18
mov dword [esi + 0x18], eax
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x2d362c20
mov word [ebp - 0xc], 0x37
nop dword [eax]
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x14
jb 0x100328c0
sub esp, 0x18
mov byte [ebp - 0xb], 0
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x100328fc
mov eax, dword [edx]
jmp 0x100328fe
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x1f], 0
jne 0x1003290b
xor ecx, ecx
jmp 0x1003291a
lea ecx, [ebp - 0x1f]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10032911
sub ecx, edi
push ecx
lea eax, [ebp - 0x1f]
mov ecx, edx
push eax
call fcn.100052b0
mov ecx, dword [esi]
call fcn.10011b00
movaps xmm0, xmmword [0x10062e90]
add esp, 0x18
mov dword [esi + 0x1c], eax
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x121e2211
mov dword [ebp - 0xc], 0x91308
nop
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x16
jb 0x10032950
sub esp, 0x18
mov byte [ebp - 9], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x1f], 0
jne 0x10032981
xor ecx, ecx
jmp 0x10032990
lea ecx, [ebp - 0x1f]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10032987
sub ecx, edi
push ecx
lea eax, [ebp - 0x1f]
mov ecx, edx
push eax
call fcn.100052b0
mov ecx, dword [esi]
call fcn.10011b00
add esp, 0x18
mov dword [esi + 0x20], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret