Function at 0x10045a93
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c9cfd
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x100f2040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x47]
xorps xmm0, xmm0
mov word [ebp - 0x48], 0x59
mov byte [ebp - 0x47], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045a60
sub ecx, edx
lea eax, [ebp - 0x47]
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003370
mov eax, dword [ebp + 0xc]
add eax, 0xfffffffd
mov dword [ebp - 4], 0
cmp eax, 9
ja case.default.0x10045a8c
jmp dword [eax*4 + 0x10045fcc]
movaps xmm0, xmmword [0x100e9130]
xor ecx, ecx
push 6
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x606c70
nop dword [eax]
mov al, byte [ebp + ecx - 0x3f]
xor al, byte [ebp - 0x40]
mov byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x12
jb 0x10045ab0
sub esp, 0x1c
mov byte [ebp - 0x2d], 0
mov edx, esp
lea ecx, [ebp - 0x3f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045af0
jmp 0x10045eb7
movaps xmm0, xmmword [str._nrgWdIZ_d]
xor ecx, ecx
push 7
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x4f435f
mov al, byte [ebp + ecx - 0x3f]
xor al, byte [ebp - 0x40]
mov byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x12
jb 0x10045b12
sub esp, 0x1c
mov byte [ebp - 0x2d], 0
mov edx, esp
lea ecx, [ebp - 0x3f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045b50
jmp 0x10045eb7
movaps xmm0, xmmword [0x100e8ed0]
xor ecx, ecx
push 8
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x727e62
mov al, byte [ebp + ecx - 0x3f]
xor al, byte [ebp - 0x40]
mov byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x12
jb 0x10045b72
sub esp, 0x1c
mov byte [ebp - 0x2d], 0
mov edx, esp
lea ecx, [ebp - 0x3f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045bb0
jmp 0x10045eb7
movaps xmm0, xmmword [0x100e8c50]
xor ecx, ecx
push 9
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x565a46
mov al, byte [ebp + ecx - 0x3f]
xor al, byte [ebp - 0x40]
mov byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x12
jb 0x10045bd2
sub esp, 0x1c
mov byte [ebp - 0x2d], 0
mov edx, esp
lea ecx, [ebp - 0x3f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045c10
jmp 0x10045eb7
movaps xmm0, xmmword [0x100e8ff0]
xor ecx, ecx
push 0xa
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x686478
mov al, byte [ebp + ecx - 0x3f]
xor al, byte [ebp - 0x40]
mov byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x12
jb 0x10045c32
sub esp, 0x1c
mov byte [ebp - 0x2d], 0
mov edx, esp
lea ecx, [ebp - 0x3f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045c70
jmp 0x10045eb7
movaps xmm0, xmmword [str._atMDwOZILMw_rL]
xor ecx, ecx
push 0xb
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x5c504c
mov al, byte [ebp + ecx - 0x3f]
xor al, byte [ebp - 0x40]
mov byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x12
jb 0x10045c92
sub esp, 0x1c
mov byte [ebp - 0x2d], 0
mov edx, esp
lea ecx, [ebp - 0x3f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045cd0
jmp 0x10045eb7
movaps xmm0, xmmword [0x100e97d0]
xor ecx, ecx
push 0xc
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x3d312d
mov al, byte [ebp + ecx - 0x3f]
xor al, byte [ebp - 0x40]
mov byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x12
jb 0x10045cf2
sub esp, 0x1c
mov byte [ebp - 0x2d], 0
mov edx, esp
lea ecx, [ebp - 0x3f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045d30
jmp 0x10045eb7
movaps xmm0, xmmword [str.:osf_Ve_H__e]
xor ecx, ecx
push 0xd
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x4e425e
mov al, byte [ebp + ecx - 0x3f]
xor al, byte [ebp - 0x40]
mov byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x12
jb 0x10045d52
sub esp, 0x1c
mov byte [ebp - 0x2d], 0
mov edx, esp
lea ecx, [ebp - 0x3f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045d90
jmp 0x10045eb7
movaps xmm0, xmmword [0x100e9530]
xor ecx, ecx
push 0xe
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0xc001c
mov al, byte [ebp + ecx - 0x3f]
xor al, byte [ebp - 0x40]
mov byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x12
jb 0x10045db2
sub esp, 0x1c
mov byte [ebp - 0x2d], 0
mov edx, esp
lea ecx, [ebp - 0x3f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045df0
jmp 0x10045eb7
movaps xmm0, xmmword [0x100e9a30]
xor ecx, ecx
push 0xf
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x222e32
mov al, byte [ebp + ecx - 0x3f]
xor al, byte [ebp - 0x40]
mov byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x12
jb 0x10045e12
sub esp, 0x1c
mov byte [ebp - 0x2d], 0
mov edx, esp
lea ecx, [ebp - 0x3f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045e50
jmp 0x10045eb7
movaps xmm0, xmmword [0x100e98b0]
xor ecx, ecx
push esi
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x343824
nop
mov al, byte [ebp + ecx - 0x3f]
xor al, byte [ebp - 0x40]
mov byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x12
jb 0x10045e70
sub esp, 0x1c
mov byte [ebp - 0x2d], 0
mov edx, esp
lea ecx, [ebp - 0x3f]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045eb0
sub ecx, esi
lea eax, [ebp - 0x3f]
push ecx
push eax
mov ecx, edx
call fcn.10003370
lea eax, [ebp - 0x64]
push eax
call fcn.10029f30
mov esi, eax
add esp, 0x24
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x10045eea
mov ecx, eax
call fcn.10002f50
push esi
lea ecx, [ebp - 0x2c]
call fcn.100082f0
lea ecx, [ebp - 0x64]
call fcn.10002f50
mov eax, dword [ebp - 0x64]
push 8
push eax
mov dword [ebp - 0x64], 0
call fcn.100891b0
mov eax, dword [edi]
add esp, 8
mov dword [ebp - 0x44], eax
test eax, eax
je 0x10045f91
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10045f91
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
cmova ecx, dword [ebp - 0x28]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045f33
sub ecx, edx
mov dword [ebp - 0x48], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.100891d0
push esi
mov edi, eax
push 0
push edi
call fcn.1008c200
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
push dword [ebp - 0x48]
cmova edx, dword [ebp - 0x28]
lea esi, [edi + 0x20]
push edx
push esi
call fcn.1008bc80
mov eax, dword [ebp - 0x48]
add esp, 0x1c
mov ecx, dword [ebp - 0x44]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100e6d8c]
push edi
call fcn.100891b0
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.10002f50
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x2c], 0
call fcn.100891b0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10089100
mov esp, ebp
pop ebp
ret 8