Function at 0x10044fd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006e355
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x10084014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x15c]
cmp eax, dword [edi + 0x160]
je 0x100458f2
mov ecx, dword [edi + 0x160]
sub ecx, eax
mov dword [ebp - 0x58], 0
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x100454e1
mov ebx, dword [ebp + 8]
xor esi, esi
xor ecx, ecx
mov eax, dword [edi + 0x15c]
cmp dword [esi + eax + 0x18], ebx
je 0x10045079
inc ecx
add esi, 0x68
mov dword [ebp - 0x58], ecx
mov ecx, dword [edi + 0x160]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
mov ecx, dword [ebp - 0x58]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jl 0x10045041
jmp 0x100454e1
imul edx, ecx, 0x68
mov ebx, 4
mov ecx, eax
mov al, byte [ebp + 0xc]
mov dword [ebp - 0x98], edx
mov byte [ecx + edx + 0x64], al
lea esi, [edx + 0x58]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
sub eax, edx
mov dword [ebp + 0x10], eax
nop
mov ecx, dword [edi + 0x15c]
lea edx, [edx + 2]
movzx eax, word [eax + edx - 2]
lea esi, [esi + 2]
mov word [esi + ecx - 0xa], ax
mov ecx, dword [edi + 0x15c]
movzx eax, word [edx - 2]
mov word [esi + ecx - 2], ax
mov eax, dword [ebp + 0x10]
sub ebx, 1
jne 0x100450a0
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 0x144]
jne 0x100454e1
lea ebx, [edi + 0xb4]
mov dword [ebp - 0x94], 0xffffffff
lea esi, [edi + 0x84]
mov dword [ebp - 0x5c], 0
mov eax, 4
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x54], eax
nop word [eax + eax]
mov esi, dword [esi]
test esi, esi
je 0x100454c3
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100454c0
push 4
add esi, 0xfc
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100454c0
cmp byte [esi], al
setne al
test al, al
je 0x100454c0
mov eax, dword [edi + 0x15c]
mov ecx, dword [ebp - 0x98]
cmp byte [ecx + eax + 0x64], 2
jne 0x1004523a
movaps xmm0, xmmword [0x1007a7c0]
xor ecx, ecx
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0x30362b3e
mov word [ebp - 0x3c], 0x231
mov byte [ebp - 0x3a], 0
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x15
jb 0x10045184
cmp byte [ebp - 0x4f], 0
mov byte [ebp - 0x3a], 0
mov dword [ebp - 0x7c], 0xf
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
jne 0x100451b4
xor ecx, ecx
jmp 0x100451c9
lea ecx, [ebp - 0x4f]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100451c0
sub ecx, edx
push ecx
lea eax, [ebp - 0x4f]
push eax
lea ecx, [ebp - 0x90]
call fcn.100027b0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x90]
mov ecx, dword [edi + 0x7c]
call fcn.10018ac0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x7c]
cmp eax, 0x10
jb 0x1004520a
inc eax
push eax
push dword [ebp - 0x90]
call fcn.100026b0
mov esi, dword [edi + 0x7c]
test esi, esi
je 0x1004522b
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004522b
push 0xff5cb9fe
mov ecx, esi
call dword [0x10078638]
mov dword [ebp - 0x94], 0xff808080
jmp 0x100452fb
mov cl, 0x12
mov dword [ebp - 0x38], 0x7c474912
mov dword [ebp - 0x34], 0x32607776
xor eax, eax
mov dword [ebp - 0x30], 0x4f6b7365
mov byte [ebp - 0x2c], 0
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 0xb
jae 0x10045266
mov cl, byte [ebp - 0x38]
jmp 0x10045257
cmp byte [ebp - 0x37], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x7c], 0xf
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
jne 0x10045289
xor ecx, ecx
jmp 0x10045299
lea ecx, [ebp - 0x37]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045290
sub ecx, edx
push ecx
lea eax, [ebp - 0x37]
push eax
lea ecx, [ebp - 0x90]
call fcn.100027b0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x90]
mov ecx, dword [edi + 0x7c]
call fcn.10018ac0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x7c]
cmp eax, 0x10
jb 0x100452da
inc eax
push eax
push dword [ebp - 0x90]
call fcn.100026b0
mov esi, dword [edi + 0x7c]
test esi, esi
je 0x100452fb
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100452fb
push 0xffc4fc03
mov ecx, esi
call dword [0x10078638]
mov esi, dword [ebx - 4]
test esi, esi
je 0x1004531d
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004531d
push dword [ebp - 0x94]
mov ecx, esi
call dword [0x10078638]
imul edx, dword [ebp - 0x58], 0x34
mov ebx, dword [ebp - 0x5c]
mov eax, dword [edi + 0x15c]
lea ecx, [edx + ebx]
movzx eax, word [eax + ecx*2 + 0x58]
lea ecx, [edx + ebx]
push eax
mov eax, dword [edi + 0x15c]
mov bh, 0x70
mov dword [ebp - 0x78], ecx
mov dl, 0x50
mov bl, 0x5f
xor bl, bh
movzx eax, word [eax + ecx*2 + 0x50]
mov cl, 0x14
push eax
mov dh, cl
mov byte [ebp - 0x68], 0
mov ah, dl
mov byte [ebp - 0x70], bh
xor dl, bh
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6d], dl
xor dh, bh
mov byte [ebp - 0x69], dh
mov al, 0x55
sub esp, 0x18
mov byte [ebp - 0x68], 0
mov edx, esp
mov ch, al
xor al, bh
xor cl, bh
mov byte [ebp - 0x6f], al
xor ah, bh
mov byte [ebp - 0x6e], cl
xor ch, bh
mov byte [ebp - 0x6b], ah
mov byte [ebp - 0x6a], ch
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 0x100453ae
mov eax, dword [edx]
jmp 0x100453b0
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x6f], 0
jne 0x100453bd
xor ecx, ecx
jmp 0x100453cc
lea ecx, [ebp - 0x6f]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100453c3
sub ecx, esi
push ecx
lea eax, [ebp - 0x6f]
mov ecx, edx
push eax
call fcn.100027b0
lea eax, [ebp - 0x90]
push eax
call fcn.10005cc0
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 2
cmp dword [edx + 0x14], 0x10
jb 0x100453f8
mov edx, dword [edx]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
cmp byte [edx], 0
jne 0x10045413
xor ecx, ecx
jmp 0x10045421
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045418
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.100027b0
mov ebx, dword [ebp - 0x60]
lea edx, [ebp - 0x50]
mov byte [ebp - 4], 3
mov ecx, dword [ebx]
call fcn.10018ac0
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x1004544e
inc eax
push eax
push dword [ebp - 0x50]
call fcn.100026b0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
cmp eax, 0x10
jb 0x1004547c
inc eax
push eax
push dword [ebp - 0x90]
call fcn.100026b0
mov eax, dword [edi + 0x15c]
mov ecx, dword [ebp - 0x78]
mov ebx, dword [ebx + 4]
movzx esi, word [eax + ecx*2 + 0x50]
test ebx, ebx
je 0x100454bd
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100454bd
sub esp, 0xc
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov ecx, ebx
mov dword [esp + 8], eax
mov dword [esp + 4], eax
movss dword [esp], xmm0
call dword [0x1007861c]
mov ebx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x54]
mov esi, dword [ebp - 0x64]
add ebx, 0x14
inc dword [ebp - 0x5c]
add esi, 4
sub eax, 1
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x54], eax
jne 0x10045110
mov ecx, dword [edi + 0x148]
shl ecx, 2
mov dword [ebp - 0x78], ecx
lea eax, [ecx - 4]
mov dword [ebp - 0x58], eax
cmp eax, ecx
jge 0x100458f2
imul ebx, eax, 0x68
lea esi, [edi + 0xc]
mov ecx, dword [edi + 0x160]
mov eax, 0x4ec4ec4f
sub ecx, dword [edi + 0x15c]
add esi, 0x18
imul ecx
mov dword [ebp - 0x5c], esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
dec eax
add eax, edx
cmp dword [ebp - 0x58], eax
jg 0x100458f2
mov eax, dword [edi + 0x15c]
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
add eax, ebx
mov dword [ebp - 0x64], 0xffc4fc03
push 0
push eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10002330
mov dword [ebp - 4], 4
mov eax, dword [edi + 0x15c]
cmp byte [eax + ebx + 0x64], 2
jne 0x100455d0
movaps xmm0, xmmword [0x1007b060]
xor ecx, ecx
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0x637e6b79
mov dword [ebp - 0x3c], 0x576465
nop dword [eax + eax]
mov al, byte [ebp - 0x50]
xor byte [ebp + ecx - 0x4f], al
inc ecx
cmp ecx, 0x16
jb 0x10045590
cmp byte [ebp - 0x4f], 0
mov byte [ebp - 0x39], 0
jne 0x100455ab
xor ecx, ecx
jmp 0x100455ba
lea ecx, [ebp - 0x4f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100455b1
sub ecx, edx
push ecx
lea eax, [ebp - 0x4f]
push eax
lea ecx, [ebp - 0x28]
call fcn.10008120
mov dword [ebp - 0x64], 0xff5cb9fe
jmp 0x10045629
mov cl, 0x27
mov dword [ebp - 0x38], 0x727c0727
mov dword [ebp - 0x34], 0x55424349
xor eax, eax
mov dword [ebp - 0x30], 0x5e465007
mov word [ebp - 0x2c], 0x7a
nop
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 0xc
jae 0x100455ff
mov cl, byte [ebp - 0x38]
jmp 0x100455f0
cmp byte [ebp - 0x37], 0
mov byte [ebp - 0x2b], 0
jne 0x1004560d
xor ecx, ecx
jmp 0x1004561c
lea ecx, [ebp - 0x37]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045613
sub ecx, edx
push ecx
lea eax, [ebp - 0x37]
push eax
lea ecx, [ebp - 0x28]
call fcn.10008120
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov dword [ebp - 0x7c], 0xf
cmovae edx, dword [ebp - 0x28]
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
cmp byte [edx], 0
jne 0x10045652
xor ecx, ecx
jmp 0x10045663
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045657
sub ecx, esi
mov esi, dword [ebp - 0x5c]
push ecx
push edx
lea ecx, [ebp - 0x90]
call fcn.100027b0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x90]
mov ecx, dword [esi]
call fcn.10018ac0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x7c]
cmp eax, 0x10
jb 0x1004569a
inc eax
push eax
push dword [ebp - 0x90]
call fcn.100026b0
mov esi, dword [esi]
test esi, esi
je 0x100456b8
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100456b8
push dword [ebp - 0x64]
mov ecx, esi
call dword [0x10078638]
mov eax, dword [edi + 0x15c]
xor ecx, ecx
movaps xmm0, xmmword [0x1007a030]
movzx eax, byte [eax + ebx + 0x62]
push eax
mov eax, dword [edi + 0x15c]
movzx eax, byte [eax + ebx + 0x61]
push eax
movups xmmword [ebp - 0x74], xmm0
nop dword [eax]
mov al, byte [ebp - 0x74]
xor byte [ebp + ecx - 0x73], al
inc ecx
cmp ecx, 0xe
jb 0x100456e0
sub esp, 0x18
mov byte [ebp - 0x65], 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 0x1004571c
mov eax, dword [edx]
jmp 0x1004571e
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x73], 0
jne 0x1004572b
xor ecx, ecx
jmp 0x1004573a
lea ecx, [ebp - 0x73]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045731
sub ecx, esi
push ecx
lea eax, [ebp - 0x73]
mov ecx, edx
push eax
call fcn.100027b0
lea eax, [ebp - 0xcc]
push eax
call fcn.10005cc0
add esp, 0x24
mov edx, eax
mov byte [ebp - 4], 6
cmp dword [edx + 0x14], 0x10
jb 0x10045763
mov edx, dword [edx]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
cmp byte [edx], 0
jne 0x1004577e
xor ecx, ecx
jmp 0x1004578c
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045783
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.100027b0
mov esi, dword [ebp - 0x5c]
lea edx, [ebp - 0x50]
mov byte [ebp - 4], 7
mov ecx, dword [esi - 4]
call fcn.10018ac0
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x100457ba
inc eax
push eax
push dword [ebp - 0x50]
call fcn.100026b0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
cmp eax, 0x10
jb 0x100457e8
inc eax
push eax
push dword [ebp - 0xcc]
call fcn.100026b0
mov eax, dword [edi + 0x15c]
lea ecx, [ebp - 0xcc]
movzx edx, byte [eax + ebx + 0x63]
call fcn.1003ee80
mov edx, eax
mov byte [ebp - 4], 8
cmp dword [edx + 0x14], 0x10
jb 0x1004580c
mov edx, dword [edx]
mov dword [ebp - 0xa0], 0xf
mov dword [ebp - 0xa4], 0
mov byte [ebp - 0xb4], 0
cmp byte [edx], 0
jne 0x10045830
xor ecx, ecx
jmp 0x10045841
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045835
sub ecx, esi
mov esi, dword [ebp - 0x5c]
push ecx
push edx
lea ecx, [ebp - 0xb4]
call fcn.100027b0
mov byte [ebp - 4], 9
lea edx, [ebp - 0xb4]
mov ecx, dword [esi + 8]
call fcn.10018ac0
mov eax, dword [ebp - 0xa0]
cmp eax, 0x10
jb 0x10045878
inc eax
push eax
push dword [ebp - 0xb4]
call fcn.100026b0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xa0], 0xf
mov dword [ebp - 0xa4], 0
mov byte [ebp - 0xb4], 0
cmp eax, 0x10
jb 0x100458ab
inc eax
push eax
push dword [ebp - 0xcc]
call fcn.100026b0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xb8], 0xf
mov dword [ebp - 0xbc], 0
mov byte [ebp - 0xcc], 0
cmp eax, 0x10
jb 0x100458df
inc eax
push eax
push dword [ebp - 0x28]
call fcn.100026b0
mov eax, dword [ebp - 0x58]
add ebx, 0x68
inc eax
mov dword [ebp - 0x58], eax
cmp eax, dword [ebp - 0x78]
jl 0x10045501
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10067dd5
mov esp, ebp
pop ebp
ret 0x10