Function at 0x100b09d0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x101613ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
mov eax, 0x31e
push ebx
cdq
idiv dword [0x1018cae0]
mov eax, dword [0x1018cadc]
push ebp
push esi
push edi
mov cl, byte [edx + eax]
mov byte [0x1018caf2], cl
lea ecx, [esp + 0x14]
call fcn.100ef7d0
mov eax, 0xff87
mov edi, 0xff7b
mov word [esp + 0x74], ax
mov word [esp + 0x80], ax
mov word [esp + 0x96], ax
mov word [esp + 0xaa], ax
mov word [esp + 0xae], ax
mov al, byte [0x10196d14]
mov word [esp + 0x6c], di
mov word [esp + 0x88], di
mov esi, 0xff84
mov edx, 0xff89
mov ecx, 0xff7a
mov ebp, 0xff71
mov ebx, 0xff7e
mov edi, 0xff83
mov dword [esp + 0xc4], 0
mov byte [0x1018caf1], 0xb8
test al, 1
mov word [esp + 0x68], 0xff68
mov word [esp + 0x6a], si
mov word [esp + 0x6e], dx
mov word [esp + 0x70], 0xff8c
mov word [esp + 0x72], 0xff76
mov word [esp + 0x76], cx
mov word [esp + 0x78], bp
mov word [esp + 0x7a], 0xff62
mov word [esp + 0x7c], bx
mov word [esp + 0x7e], 0xff78
mov word [esp + 0x82], si
mov word [esp + 0x84], 0xff88
mov word [esp + 0x86], si
mov word [esp + 0x8a], dx
mov word [esp + 0x8c], bp
mov word [esp + 0x8e], 0xff5e
mov word [esp + 0x90], di
mov word [esp + 0x92], dx
mov word [esp + 0x94], cx
mov word [esp + 0x98], di
mov word [esp + 0x9a], cx
mov word [esp + 0x9c], dx
mov word [esp + 0x9e], 0xff35
mov word [esp + 0xa0], 0xff5a
mov word [esp + 0xa2], 0xff8d
mov word [esp + 0xa4], 0xff85
mov word [esp + 0xa6], 0xff81
mov word [esp + 0xa8], si
mov word [esp + 0xac], cx
mov word [esp + 0xb0], bp
mov word [esp + 0xb2], 0xff62
mov word [esp + 0xb4], 0xff76
mov word [esp + 0xb6], bx
mov word [esp + 0xb8], di
jne 0x100b0bbc
mov bl, al
lea edx, [esp + 0x68]
or bl, 1
push edx
mov ecx, 0x10196d18
mov byte [0x10196d14], bl
call fcn.100b5fb0
push 0x100b7c00
call fcn.1013c36b
add esp, 4
mov al, byte [esp + 0x13]
mov edi, dword [0x10196d18]
xor ebp, ebp
lea ecx, [esp + 0x20]
push ebp
mov byte [esp + 0x24], al
call fcn.1000bc70
push edi
call fcn.1013c2c2
add esp, 4
mov esi, eax
lea ecx, [esp + 0x20]
push 1
push esi
call fcn.1000c010
test al, al
je 0x100b0c0a
mov ecx, dword [esp + 0x24]
push esi
push edi
push ecx
call fcn.100017d0
add esp, 0xc
lea ecx, [esp + 0x20]
push esi
call fcn.1000bff0
push 1
lea edx, [esp + 0x24]
push SysReAllocString
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0xd0], 1
call fcn.100ef890
test al, al
push 1
lea ecx, [esp + 0x24]
sete bl
mov byte [esp + 0xc8], 0
call fcn.1000bc70
test bl, bl
je 0x100b0c4f
call fcn.100ef6f0
mov esi, eax
jmp 0x100b0f18
mov al, byte [esp + 0xcc]
mov ebx, 2
test al, al
je 0x100b0cab
mov al, byte [0x10196d1c]
mov word [esp + 0x18], 0x49
test al, 1
mov word [esp + 0x1a], 0x1c
mov word [esp + 0x1c], 0x16
jne 0x100b0ca0
or al, 1
mov ecx, 0x10196d20
mov byte [0x10196d1c], al
lea eax, [esp + 0x18]
push eax
call fcn.100157c0
push 0x100b7de0
call fcn.1013c36b
add esp, 4
mov esi, dword [0x10196d20]
jmp 0x100b0d33
mov al, byte [0x10196d24]
mov word [esp + 0x18], 0x5e
test al, 1
mov word [esp + 0x1a], 1
jne 0x100b0d2d
or al, 1
push 6
mov byte [0x10196d24], al
call fcn.1013c2df
add esp, 4
mov dword [0x10196d28], eax
mov edi, 0x30
xor esi, esi
mov bp, word [esp + esi + 0x18]
push edi
mov ecx, ebp
and ecx, 0xffff
push ecx
mov ecx, 0x10196d28
call fcn.1004a650
mov edx, dword [0x10196d28]
xor eax, ebp
xor eax, edi
xor edi, edi
mov word [esi + edx], ax
mov eax, dword [0x10196d28]
mov di, word [esi + eax]
add esi, ebx
cmp esi, 4
jb 0x100b0cdf
push 0x100b7df0
mov word [eax + 4], 0
call fcn.1013c36b
add esp, 4
xor ebp, ebp
mov esi, dword [0x10196d28]
mov al, byte [esp + 0x13]
push esi
mov byte [esp + 0x24], al
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call fcn.1013c2c2
add esp, 4
lea ecx, [esp + 0x20]
push eax
push esi
call fcn.1000bf40
mov eax, 0xf
mov esi, 0x18
mov word [esp + 0x42], ax
mov word [esp + 0x5e], ax
mov word [esp + 0x60], ax
mov word [esp + 0x64], ax
mov al, byte [0x10196d2c]
mov edx, 0x5d
mov ecx, 9
mov byte [esp + 0xc4], bl
test al, 1
mov word [esp + 0x40], 0x3b
mov word [esp + 0x44], 0x14
mov word [esp + 0x46], si
mov word [esp + 0x48], 0x13
mov word [esp + 0x4a], 0x19
mov word [esp + 0x4c], 0x11
mov word [esp + 0x4e], 4
mov word [esp + 0x50], dx
mov word [esp + 0x52], 0x15
mov word [esp + 0x54], cx
mov word [esp + 0x56], cx
mov word [esp + 0x58], 0xd
mov word [esp + 0x5a], dx
mov word [esp + 0x5c], si
mov word [esp + 0x62], 0x12
mov word [esp + 0x66], 0xe
jne 0x100b0e55
or al, 1
push 0x2a
mov byte [0x10196d2c], al
call fcn.1013c2df
add esp, 4
mov dword [0x10196d30], eax
xor esi, esi
mov di, word [esp + esi + 0x40]
push 0x7d
mov ecx, edi
and ecx, 0xffff
push ecx
mov ecx, 0x10196d30
call fcn.100a8ee0
mov edx, dword [0x10196d30]
add eax, 0x7d
xor eax, edi
mov word [esi + edx], ax
add esi, ebx
cmp esi, 0x28
jb 0x100b0e0f
mov eax, dword [0x10196d30]
push 0x100b7dd0
mov word [eax + 0x28], bp
call fcn.1013c36b
add esp, 4
mov esi, dword [0x10196d30]
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x34], cl
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
call fcn.1013c2c2
add esp, 4
lea ecx, [esp + 0x30]
push eax
push esi
call fcn.1000bf40
lea edx, [esp + 0x20]
lea eax, [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xcc], 3
call fcn.100efe90
mov ecx, dword [esp + 0x34]
and eax, 0xff
cmp ecx, ebp
mov esi, eax
mov byte [esp + 0xc4], bl
je 0x100b0ed2
mov al, byte [ecx - 1]
test al, al
je 0x100b0ec6
cmp al, 0xff
je 0x100b0ec6
dec al
mov byte [ecx - 1], al
jmp 0x100b0ed2
add ecx, 0xfffffffe
push ecx
call fcn.101307a0
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
cmp ecx, ebp
mov byte [esp + 0xc4], 0
je 0x100b0f0c
mov al, byte [ecx - 1]
test al, al
je 0x100b0f00
cmp al, 0xff
je 0x100b0f00
dec al
mov byte [ecx - 1], al
jmp 0x100b0f0c
add ecx, 0xfffffffe
push ecx
call fcn.101307a0
add esp, 4
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0xc4], 0xffffffff
call fcn.100ef820
mov ecx, dword [esp + 0xbc]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb8
ret