Function at 0x10045800
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aaafd
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100c90c0]
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 - 0x43]
xorps xmm0, xmm0
mov word [ebp - 0x44], 0x5c
mov byte [ebp - 0x43], 0
lea edx, [ecx + 1]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045854
sub ecx, edx
lea eax, [ebp - 0x43]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10002620
mov eax, dword [ebp + 0xc]
add eax, 0xfffffffd
mov dword [ebp - 4], 0
cmp eax, 9
ja case.default.0x10045880
jmp dword [eax*4 + 0x10045d54]
movaps xmm0, xmmword [0x100c0110]
xor ecx, ecx
push 6
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x2f233f
nop dword [eax]
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x100458a0
sub esp, 0x18
mov byte [ebp - 0x29], 0
mov edx, esp
lea ecx, [ebp - 0x3b]
xorps xmm0, xmm0
lea esi, [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 0x100458d0
sub ecx, esi
lea eax, [ebp - 0x3b]
push ecx
push eax
mov ecx, edx
call fcn.10002620
lea eax, [ebp - 0x5c]
push eax
call fcn.10005dd0
add esp, 0x20
lea ecx, [ebp - 0x28]
push eax
call fcn.100082d0
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x10045c7b
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10045c71
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045d4e
jmp 0x10045c71
movaps xmm0, xmmword [0x100bfe70]
xor ecx, ecx
push 7
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x3c302c
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10045947
sub esp, 0x18
mov byte [ebp - 0x29], 0
mov edx, esp
lea ecx, [ebp - 0x3b]
xorps xmm0, xmm0
lea esi, [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 0x10045977
jmp 0x100458d7
movaps xmm0, xmmword [0x100bf570]
xor ecx, ecx
push 8
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x727e62
nop dword [eax]
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x100459a0
sub esp, 0x18
mov byte [ebp - 0x29], 0
mov edx, esp
lea ecx, [ebp - 0x3b]
xorps xmm0, xmm0
lea esi, [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 0x100459d0
jmp 0x100458d7
movaps xmm0, xmmword [str.1dxmT_nVCPUTn]
xor ecx, ecx
push 9
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x454955
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x100459f2
sub esp, 0x18
mov byte [ebp - 0x29], 0
mov edx, esp
lea ecx, [ebp - 0x3b]
xorps xmm0, xmm0
lea esi, [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 0x10045a22
jmp 0x100458d7
movaps xmm0, xmmword [0x100bfdb0]
xor ecx, ecx
push 0xa
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x3e322e
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10045a44
sub esp, 0x18
mov byte [ebp - 0x29], 0
mov edx, esp
lea ecx, [ebp - 0x3b]
xorps xmm0, xmm0
lea esi, [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 0x10045a74
jmp 0x100458d7
movaps xmm0, xmmword [0x100bfc70]
xor ecx, ecx
push 0xb
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x30f13
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10045a96
sub esp, 0x18
mov byte [ebp - 0x29], 0
mov edx, esp
lea ecx, [ebp - 0x3b]
xorps xmm0, xmm0
lea esi, [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 0x10045ac6
jmp 0x100458d7
movaps xmm0, xmmword [0x100bfb50]
xor ecx, ecx
push 0xc
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x80418
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10045ae8
sub esp, 0x18
mov byte [ebp - 0x29], 0
mov edx, esp
lea ecx, [ebp - 0x3b]
xorps xmm0, xmm0
lea esi, [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 0x10045b18
jmp 0x100458d7
movaps xmm0, xmmword [0x100bf460]
xor ecx, ecx
push 0xd
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x7e726e
nop word [eax + eax]
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10045b40
sub esp, 0x18
mov byte [ebp - 0x29], 0
mov edx, esp
lea ecx, [ebp - 0x3b]
xorps xmm0, xmm0
lea esi, [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 0x10045b70
jmp 0x100458d7
movaps xmm0, xmmword [0x100bf7b0]
xor ecx, ecx
push 0xe
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x6e627e
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10045b92
sub esp, 0x18
mov byte [ebp - 0x29], 0
mov edx, esp
lea ecx, [ebp - 0x3b]
xorps xmm0, xmm0
lea esi, [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 0x10045bc2
jmp 0x100458d7
movaps xmm0, xmmword [0x100bf8b0]
xor ecx, ecx
push 0xf
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x636f73
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10045be4
sub esp, 0x18
mov byte [ebp - 0x29], 0
mov edx, esp
lea ecx, [ebp - 0x3b]
xorps xmm0, xmm0
lea esi, [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 0x10045c14
jmp 0x100458d7
movaps xmm0, xmmword [str._thDMFS_ED]
xor ecx, ecx
push esi
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x555945
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x12
jb 0x10045c35
sub esp, 0x18
mov byte [ebp - 0x29], 0
mov edx, esp
lea ecx, [ebp - 0x3b]
xorps xmm0, xmm0
lea esi, [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 0x10045c65
jmp 0x100458d7
push ecx
push edx
call fcn.100859f6
add esp, 8
mov eax, dword [edi]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
test eax, eax
je 0x10045d02
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10045d02
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
cmova ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045ca1
sub ecx, edx
mov dword [ebp - 0x44], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.10085d23
push esi
mov edi, eax
push 0
push edi
call fcn.10087b80
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
push dword [ebp - 0x44]
cmova edx, dword [ebp - 0x28]
lea esi, [edi + 0x20]
push edx
push esi
call fcn.10087600
mov eax, dword [ebp - 0x44]
add esp, 0x1c
mov ecx, dword [ebp - 0x40]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100bd63c]
push edi
call fcn.10085d1e
mov esi, dword [ebp - 0x28]
add esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x10045d31
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x10045d27
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045d4e
push ecx
push esi
call fcn.100859f6
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.10085995
mov esp, ebp
pop ebp
ret 8
call fcn.1008ac0f
nop
xchg dword [eax + 4], ebx
adc byte [ecx], dh
pop ecx
add al, 0x10
sbb dword [ecx + 4], 0x10
fcomp qword [ecx + 4]
adc byte [esi], ch
pop edx
add al, 0x10
sbb byte [edx + 4], 0x10
rcr byte [edx + 4], cl
adc byte [ebx + ebx*2], ah
add al, 0x10
jl 0x10045dd1
add al, 0x10
into
pop ebx
add al, 0x10
int3
rol bh, cl
add byte [eax], al
add byte [eax], al
add byte [esi - 0x77], ah
push eax
add al, 0x8d
inc eax
sbb byte [eax + 0x5089ee50], cl
cld