Function at 0x10032950
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10053b53
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
mov eax, dword [0x10068040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x80], esi
movzx ecx, word [ebx + 0xc]
movzx eax, word [ebx + 8]
movzx edx, word [ebx + 0x14]
mov dword [ebp - 0x88], ecx
movzx ecx, word [ebx + 0x10]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 1
test ax, ax
je 0x100331bf
test cx, cx
je 0x100331bf
cmp dword [esi + 0x34], 0
jg 0x100331bf
mov eax, dword [esi + 8]
mov ecx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x10032a7d
push 4
push eax
call ecx
test eax, eax
jne 0x10032a77
cmp dword [ebx + 0x30], 0xf
lea ecx, [ebx + 0x1c]
cmova ecx, dword [ebx + 0x1c]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10032a10
sub ecx, edx
mov dword [ebp - 0x4c], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.10038019
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.10039ec0
add esp, 0xc
lea edx, [ebx + 0x1c]
cmp dword [ebx + 0x30], 0xf
lea esi, [edi + 0x20]
cmova edx, dword [ebx + 0x1c]
push dword [ebp - 0x4c]
push edx
push esi
call fcn.10039940
mov eax, dword [ebp - 0x4c]
add esp, 0xc
mov ecx, dword [ebp - 0x48]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x10062334]
push edi
call fcn.10038014
mov esi, dword [ebp - 0x80]
add esp, 4
mov ecx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x10032b09
push 4
push eax
call ecx
test eax, eax
jne 0x10032b09
cmp dword [ebx + 0x48], 0xf
lea ecx, [ebx + 0x34]
cmova ecx, dword [ebx + 0x34]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10032aa2
sub ecx, edx
mov dword [ebp - 0x4c], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.10038019
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.10039ec0
add esp, 0xc
lea edx, [ebx + 0x34]
cmp dword [ebx + 0x48], 0xf
lea esi, [edi + 0x20]
cmova edx, dword [ebx + 0x34]
push dword [ebp - 0x4c]
push edx
push esi
call fcn.10039940
mov eax, dword [ebp - 0x4c]
add esp, 0xc
mov ecx, dword [ebp - 0x48]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x10062334]
push edi
call fcn.10038014
mov esi, dword [ebp - 0x80]
add esp, 4
mov edi, dword [esi + 0x10]
test edi, edi
je 0x10032b26
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10032b26
push eax
mov ecx, edi
call dword [0x10062338]
mov edi, dword [esi + 0x14]
test edi, edi
je 0x10032b43
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10032b43
push eax
mov ecx, edi
call dword [0x10062338]
mov edi, dword [ebp - 0x84]
cmp di, 0xffff
je 0x1003315b
cmp word [ebp - 0x7c], 0xffff
je 0x1003315b
mov byte [ebp - 0x78], 0x49
mov al, 0x3a
xor al, byte [ebp - 0x78]
mov cl, 0x30
mov byte [ebp - 0x77], al
mov dl, 0x24
mov al, byte [ebp - 0x78]
mov ah, 0x2b
xor cl, al
mov byte [ebp - 0x4d], 0x15
xor dl, al
mov byte [ebp - 0x76], cl
mov ch, 0x26
mov byte [ebp - 0x70], 0
xor ch, al
mov byte [ebp - 0x75], dl
mov dh, 0x25
mov byte [ebp - 0x73], ch
xor dh, al
mov byte [ebp - 0x70], 0
xor ah, al
mov byte [ebp - 0x72], dh
mov al, byte [ebp - 0x4d]
lea ecx, [ebp - 0x77]
xor al, byte [ebp - 0x78]
mov edx, dword [0x10069f48]
mov byte [ebp - 0x74], ah
mov byte [ebp - 0x71], al
lea eax, [ecx + 1]
mov dword [ebp - 0x84], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10032bb7
sub ecx, dword [ebp - 0x84]
mov eax, 0x7fffffff
sub eax, edx
cmp eax, ecx
jb 0x10033255
cmp dword [0x10069f4c], 0xf
mov eax, 0x10069f38
push ecx
cmova eax, dword [0x10069f38]
lea ecx, [ebp - 0x77]
push ecx
push edx
push eax
push ecx
push dword [ebp - 0x54]
lea ecx, [ebp - 0x44]
call fcn.1000b310
mov dword [ebp - 0x4c], 0x10
mov eax, dword [ebp - 0x88]
mov byte [ebp - 4], 2
test ax, ax
jne 0x10032c8e
movaps xmm0, xmmword [0x10062680]
xor ecx, ecx
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0x74d0811
mov word [ebp - 0x58], 0x171b
mov byte [ebp - 0x56], al
nop dword [eax]
mov al, byte [ebp - 0x6c]
xor byte [ebp + ecx - 0x6b], al
inc ecx
cmp ecx, 0x15
jb 0x10032c30
xorps xmm0, xmm0
mov byte [ebp - 0x56], 0
lea ecx, [ebp - 0x6b]
mov dword [ebp - 0x90], 0
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x8c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10032c65
sub ecx, edx
lea eax, [ebp - 0x6b]
push ecx
push eax
lea ecx, [ebp - 0xa0]
call fcn.10001790
lea ecx, [ebp - 0xa0]
mov eax, 0x11
jmp 0x10032d10
cmp dword [ebp - 0x30], 0xf
lea ecx, [ebp - 0x44]
movaps xmm0, xmmword [0x10062780]
cmova ecx, dword [ebp - 0x44]
cwde
push eax
movsx eax, di
push eax
push 1
push ecx
movups xmmword [ebp - 0x68], xmm0
mov word [ebp - 0x58], 0x19
xor ecx, ecx
mov al, byte [ebp - 0x68]
xor byte [ebp + ecx - 0x67], al
inc ecx
cmp ecx, 0x10
jb 0x10032cb5
sub esp, 0x18
mov byte [ebp - 0x57], 0
mov edx, esp
lea ecx, [ebp - 0x67]
xorps xmm0, xmm0
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10032ce5
sub ecx, edi
lea eax, [ebp - 0x67]
push ecx
push eax
mov ecx, edx
call fcn.10001790
lea eax, [ebp - 0xb8]
push eax
call fcn.10009170
mov ecx, eax
add esp, 0x2c
mov eax, 0x12
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov dword [ebp - 4], 4
test al, 2
je 0x10032da4
mov ecx, dword [ebp - 0xa4]
and eax, 0xfffffffd
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], eax
cmp ecx, 0xf
jbe 0x10032d89
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10032d7c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003325a
push ecx
push edx
call fcn.10038006
mov eax, dword [ebp - 0x48]
add esp, 8
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
mov byte [ebp - 4], 5
test al, 1
je 0x10032def
mov ecx, dword [ebp - 0x8c]
and eax, 0xfffffffe
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], eax
cmp ecx, 0xf
jbe 0x10032def
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10032de5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003325a
push ecx
push edx
call fcn.10038006
add esp, 8
mov ecx, dword [esi + 0x18]
lea edx, [ebp - 0x2c]
call fcn.1000e410
mov edi, dword [esi + 0x18]
test edi, edi
je 0x10032e40
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10032e40
sub esp, 0x20
mov ecx, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [0x10062320]
mov eax, dword [ebp - 0x54]
test ax, ax
jne 0x10032ed1
movaps xmm0, xmmword [0x10062940]
xor ecx, ecx
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0x4802475e
mov word [ebp - 0x58], 0x5854
mov byte [ebp - 0x56], al
nop dword [eax]
mov al, byte [ebp - 0x6c]
xor byte [ebp + ecx - 0x6b], al
inc ecx
cmp ecx, 0x15
jb 0x10032e70
xorps xmm0, xmm0
mov byte [ebp - 0x56], 0
lea ecx, [ebp - 0x6b]
mov dword [ebp - 0x90], 0
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x8c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10032ea5
sub ecx, edx
lea eax, [ebp - 0x6b]
push ecx
push eax
lea ecx, [ebp - 0xa0]
call fcn.10001790
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 6
or dword [ebp - 0x48], 4
jmp 0x10032f5a
cmp dword [ebp - 0x30], 0xf
lea ecx, [ebp - 0x44]
movaps xmm0, xmmword [0x10062a00]
cmova ecx, dword [ebp - 0x44]
cwde
push eax
mov eax, dword [ebp - 0x7c]
cwde
push eax
push 1
push ecx
movups xmmword [ebp - 0x68], xmm0
mov word [ebp - 0x58], 0x6f
xor ecx, ecx
nop dword [eax]
mov al, byte [ebp - 0x68]
xor byte [ebp + ecx - 0x67], al
inc ecx
cmp ecx, 0x10
jb 0x10032f00
sub esp, 0x18
mov byte [ebp - 0x57], 0
mov edx, esp
lea ecx, [ebp - 0x67]
xorps xmm0, xmm0
lea edi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10032f30
sub ecx, edi
lea eax, [ebp - 0x67]
push ecx
push eax
mov ecx, edx
call fcn.10001790
lea eax, [ebp - 0xd0]
push eax
call fcn.10009170
add esp, 0x2c
mov ecx, eax
or dword [ebp - 0x48], 8
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10003d40
mov eax, dword [ebp - 0x48]
test al, 8
je 0x10032fc8
mov ecx, dword [ebp - 0xbc]
and eax, 0xfffffff7
mov dword [ebp - 0x48], eax
cmp ecx, 0xf
jbe 0x10032fad
mov edx, dword [ebp - 0xd0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10032fa0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003325f
push ecx
push edx
call fcn.10038006
mov eax, dword [ebp - 0x48]
add esp, 8
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
mov dword [ebp - 4], 5
test al, 4
je 0x1003300d
mov ecx, dword [ebp - 0x8c]
cmp ecx, 0xf
jbe 0x1003300d
mov edx, dword [ebp - 0xa0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10033003
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003325f
push ecx
push edx
call fcn.10038006
add esp, 8
mov eax, dword [esi + 0x1c]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x100330a2
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100330a2
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033038
sub ecx, edx
mov dword [ebp - 0x7c], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.10038019
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.10039ec0
add esp, 0xc
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
lea esi, [edi + 0x20]
cmova edx, dword [ebp - 0x2c]
push dword [ebp - 0x7c]
push edx
push esi
call fcn.10039940
mov eax, dword [ebp - 0x7c]
add esp, 0xc
mov ecx, dword [ebp - 0x54]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x10062318]
push edi
call fcn.10038014
mov esi, dword [ebp - 0x80]
add esp, 4
mov edi, dword [ebp - 0x2c]
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x100330ec
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100330ec
mov ecx, dword [ebp - 0x54]
sub esp, 0x20
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [0x10062320]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
cmp eax, 0xf
jbe 0x10033123
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10033119
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033264
push ecx
push edi
call fcn.10038006
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x1003315b
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10033151
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033264
push ecx
push edx
call fcn.10038006
add esp, 8
mov edi, dword [esi + 0x20]
test edi, edi
je 0x10033178
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10033178
push eax
mov ecx, edi
call dword [0x1006230c]
mov edi, dword [esi + 0x24]
test edi, edi
je 0x10033195
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10033195
push eax
mov ecx, edi
call dword [0x1006230c]
mov al, byte [ebx + 0x18]
mov ecx, esi
mov byte [esi + 0x30], al
call fcn.10031e40
mov esi, dword [esi]
test esi, esi
je 0x100331bf
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100331bf
push 1
mov ecx, esi
call dword [0x1006230c]
mov ecx, dword [ebx + 0x30]
cmp ecx, 0xf
jbe 0x100331f3
mov edx, dword [ebx + 0x1c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100331e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033269
push ecx
push edx
call fcn.10038006
add esp, 8
mov ecx, dword [ebx + 0x48]
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0xf
mov byte [ebx + 0x1c], 0
cmp ecx, 0xf
jbe 0x10033235
mov edx, dword [ebx + 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003322b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10033269
push ecx
push edx
call fcn.10038006
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10037fa5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x44
call fcn.10001630
call fcn.1003cf4f
call fcn.1003cf4f
call fcn.1003cf4f
call fcn.1003cf4f
int3