Function at 0x1001be10
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x10074d08
mov eax, dword fs:[0]
push eax
sub esp, 0x5d0
mov eax, dword [0x1008c54c]
xor eax, esp
mov dword [esp + 0x5cc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008c54c]
xor eax, esp
push eax
lea eax, [esp + 0x5e4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x5f4]
xor esi, esi
mov dword [esp + 0x24], esi
mov al, byte [0x1008d8e5]
mov cl, 0x4e
imul cl
lea edx, [esp + 0x2c]
mov bl, 0x28
push edx
mov byte [0x1008d8e4], al
sub bl, al
call fcn.10038930
mov cl, byte [0x1008d8e4]
movzx eax, byte [0x1008d8e5]
add bl, bl
sub cl, bl
add cl, 0x37
imul cl
add al, al
mov byte [0x1008d8e4], al
mov eax, 0x2e
mov word [esp + 0x88], ax
mov eax, 0x40
mov word [esp + 0x8e], ax
mov byte [esp + 0x1b], cl
mov eax, 0xa4
mov ecx, 0xc0
mov edx, 0x9f
mov word [esp + 0x66], ax
mov word [esp + 0x8a], cx
mov word [esp + 0x8c], dx
mov eax, 0x71
mov ecx, 0x15
mov edx, 0xb
mov word [esp + 0x6c], ax
mov word [esp + 0x90], cx
mov word [esp + 0x64], dx
mov eax, 1
add esp, 4
mov ecx, 0xbf
mov edx, 0x65
mov word [esp + 0x64], cx
mov word [esp + 0x66], dx
test byte [0x10090ddc], al
jne 0x1001bf53
or dword [0x10090ddc], eax
mov dword [esp + 0x5ec], esi
lea edi, [esp + 0x60]
lea ebx, [esp + 0x84]
mov esi, 0x10090dd8
call fcn.1003abd0
push 0x10077620
call fcn.1005f1f6
add esp, 4
or edi, 0xffffffff
mov dword [esp + 0x5ec], edi
jmp 0x1001bf56
or edi, 0xffffffff
movzx ecx, word [esp + 0x4e]
movzx edx, word [esp + 0x4c]
mov eax, dword [0x10090dd8]
push ecx
push edx
push eax
mov eax, 0x200
lea ebx, [esp + 0x2e4]
call fcn.1000b110
movzx eax, byte [esp + 0x23]
mov cl, 0x30
imul cl
mov cl, byte [0x1008d8e5]
mov dl, al
mov al, cl
add al, dl
imul dl
mov bl, 0x2f
imul bl
mov bl, 0xa3
sub bl, al
movzx eax, byte [0x1008d8e4]
add al, dl
mov byte [esp + 0x23], al
mov al, bl
mov bl, byte [esp + 0x23]
imul bl
mov bl, al
sub cl, bl
add cl, 0x24
mov byte [0x1008d8e4], cl
mov edx, 0x45
mov eax, 0x96
mov ecx, 0xd4
xor esi, esi
mov word [esp + 0x5c], dx
mov word [esp + 0x5e], ax
mov word [esp + 0x60], cx
add esp, 0xc
test byte [0x10090dd4], 1
mov edx, 0x26
mov eax, 0xac
mov ecx, 0x88
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov word [esp + 0x58], dx
mov word [esp + 0x5a], ax
mov word [esp + 0x5c], cx
jne 0x1001c072
mov eax, 1
or dword [0x10090dd4], eax
push 8
mov dword [esp + 0x5f0], eax
call fcn.1004407f
add esp, 4
mov dword [0x10090dd0], eax
xor eax, eax
mov dx, word [esp + eax + 0x58]
xor dx, word [esp + eax + 0x50]
mov ecx, dword [0x10090dd0]
mov word [eax + ecx], dx
add eax, 2
cmp eax, 6
jb 0x1001c037
mov eax, dword [0x10090dd0]
xor edx, edx
push 0x10077630
mov word [eax + 6], dx
call fcn.1005f1f6
add esp, 4
mov dword [esp + 0x5ec], edi
mov ecx, dword [0x10090dd0]
push ecx
lea edx, [esp + 0xd4]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
mov cl, 0xb
mov al, bl
imul cl
mov dl, 0xc
sub dl, al
mov al, dl
imul bl
add al, 0x4b
imul byte [0x1008d8e5]
imul bl
mov cl, al
mov al, byte [0x1008d8e4]
mov dl, 0x6a
imul dl
sub cl, al
lea eax, [esp + 0xd0]
sub cl, 0x7d
push eax
mov byte [0x1008d8e5], cl
call fcn.10038b20
add esp, 4
lea ecx, [esp + 0xd0]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
mov cl, 0xfc
sub cl, byte [0x1008d8e4]
mov dl, 0x57
mov al, cl
imul dl
mov dl, byte [0x1008d8e5]
add al, dl
mov bl, dl
sub al, 0x37
sub bl, cl
imul bl
mov bl, al
add bl, dl
mov byte [0x1008d8e4], cl
mov edx, 0x40
lea eax, [esp + 0x90]
mov byte [eax], 0
inc eax
sub edx, 1
jne 0x1001c107
mov al, cl
imul bl
mov byte [0x1008d8e4], al
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0xd4]
push ecx
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x24]
call fcn.10038db0
add esp, 8
cmp eax, 1
jne 0x1001c1f8
test byte [0x10090dac], 1
mov edx, 0x9b
mov word [esp + 0x18], dx
mov eax, 0xf3
mov ecx, 0xbe
mov edx, 0x8b
mov word [esp + 0x1a], ax
mov word [esp + 0x20], cx
mov word [esp + 0x22], dx
jne 0x1001c1cf
or dword [0x10090dac], 1
push 6
mov dword [esp + 0x5f0], 2
call fcn.1004407f
add esp, 4
mov dword [0x10090ce8], eax
xor eax, eax
mov cx, word [esp + eax + 0x20]
xor cx, word [esp + eax + 0x18]
mov edx, dword [0x10090ce8]
mov word [eax + edx], cx
add eax, 2
cmp eax, 4
jb 0x1001c193
mov ecx, dword [0x10090ce8]
xor eax, eax
push 0x10077680
mov word [ecx + 4], ax
call fcn.1005f1f6
add esp, 4
mov dword [esp + 0x5ec], edi
mov edx, dword [esp + 0x1c]
mov eax, dword [0x10090ce8]
push edx
push eax
mov eax, 0x80
lea ebx, [esp + 0x98]
call fcn.1000b110
mov cl, 0x25
add esp, 8
mov byte [0x1008d8e5], cl
jmp 0x1001c1fe
mov cl, byte [0x1008d8e5]
mov dl, byte [0x1008d8e4]
mov al, dl
mov bl, 0x19
imul bl
inc al
imul dl
sub cl, 0x2e
add cl, cl
add al, cl
test byte [0x10090da8], 1
mov byte [0x1008d8e4], al
mov ecx, 0x77
mov word [esp + 0x6c], cx
mov eax, 0x5e
mov edx, 0xee
mov ecx, 0xb8
mov word [esp + 0x70], ax
mov word [esp + 0x6e], dx
mov word [esp + 0x72], cx
mov eax, 0x52
mov ecx, 0x9d
mov edx, 0x50
mov word [esp + 0x78], ax
mov eax, ecx
mov word [esp + 0x74], dx
mov word [esp + 0x7a], cx
mov edx, 0x7e
mov ecx, 0x23
mov word [esp + 0x7c], dx
mov word [esp + 0x7e], ax
mov word [esp + 0x80], cx
jne 0x1001c2c3
or dword [0x10090da8], 1
lea edi, [esp + 0x78]
lea ebx, [esp + 0x6c]
mov esi, 0x10090da4
mov dword [esp + 0x5ec], 3
call fcn.1003abd0
push 0x10077690
call fcn.1005f1f6
add esp, 4
mov dword [esp + 0x5ec], 0xffffffff
mov ecx, dword [0x10090da4]
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x2dc]
push eax
push ecx
mov eax, 0x410
lea ebx, [esp + 0x3e4]
call fcn.1000b110
add esp, 0xc
xor edx, edx
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], 0
mov eax, ebx
mov word [ebp + 4], dx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001c307
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x3dc]
mov esi, ebp
call fcn.1000aed0
mov eax, ebp
mov ecx, dword [esp + 0x5e4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5cc]
xor ecx, esp
call fcn.1005f0c0
add esp, 0x5dc
ret