Function at 0x1001ca6d
Capabilities:
Encode data using xor

Disassembly:
push 0x2d8
mov eax, 0x1019f115
call fcn.1017516e
mov ebx, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2d4], eax
xor eax, eax
mov dword [ebp - 0x2c8], ecx
mov dword [ebp - 0x2d8], eax
mov dword [ebp - 4], eax
mov byte [ebp - 0x2e4], al
mov byte [ebp - 4], al
mov eax, dword [ecx + 4]
push eax
mov dword [ebp - 0x2d8], 1
mov ecx, dword [eax]
call dword [ecx + 4]
mov ecx, dword [ebx + 0x2d8]
mov edi, eax
push 0xc
mov dword [ebp - 0x2cc], edi
mov dword [ebp - 0x2d0], edi
mov esi, dword [ecx]
push esi
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov dword [edx], ecx
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 0x2dc]
call fcn.10006a60
pop ecx
pop ecx
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [ebx + 0x2d8]
call fcn.1001e6b4
mov eax, dword [ebx]
xor esi, esi
push esi
push ebx
call dword [eax + 0x5c]
mov eax, dword [ebx + 0x2e4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
je 0x1001d04b
lea edx, [ebp - 0x2dc]
mov dword [ebp - 0x2dc], esi
call fcn.100216e7
test eax, eax
js 0x1001cb5a
mov eax, dword [ebp - 0x2dc]
lea edx, [ebp - 0x2e0]
push edi
mov dword [ebp - 0x2e0], esi
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
js 0x1001cb5a
cmp dword [ebp - 0x2e0], esi
je 0x1001d0a7
mov ecx, dword [ebx + 0x2e4]
test ecx, ecx
je 0x1001ccb7
mov eax, dword [ecx]
push ecx
call dword [eax + 0x34]
test eax, eax
je 0x1001ccb7
mov edi, dword [ebx + 0x2e4]
mov eax, 0x4dc6
mov dword [ebp - 0x248], 0x4dbe
mov word [ebp - 0x244], ax
add eax, 0x16
mov word [ebp - 0x242], ax
mov eax, 0x4ddf
mov word [ebp - 0x240], ax
add eax, 0xffffffee
mov word [ebp - 0x23e], ax
mov eax, 0x4ddb
mov word [ebp - 0x23c], ax
add eax, 0xffffffa9
mov word [ebp - 0x23a], ax
mov word [ebp - 0x238], ax
mov eax, 0x4d9e
mov word [ebp - 0x236], ax
lea edx, [eax - 3]
mov word [ebp - 0x234], dx
lea ecx, [eax + 0x3c]
mov word [ebp - 0x232], cx
mov word [ebp - 0x230], ax
add eax, 0x30
mov word [ebp - 0x22e], ax
lea eax, [edx + 0x30]
mov word [ebp - 0x22c], ax
add eax, 2
mov word [ebp - 0x22a], ax
lea eax, [edx + 0x3b]
mov word [ebp - 0x228], ax
add eax, 0xffffffc8
mov word [ebp - 0x226], ax
lea eax, [edx + 0x2f]
mov word [ebp - 0x224], ax
add eax, 7
mov word [ebp - 0x222], ax
lea eax, [edx + 3]
mov word [ebp - 0x220], ax
xor eax, eax
mov word [ebp - 0x21e], dx
mov word [ebp - 0x21c], cx
mov word [ebp - 0x21a], ax
mov ax, word [ebp - 0x244]
mov ax, word [ebp + esi*2 - 0x244]
movzx ecx, ax
movzx eax, word [ebp - 0x248]
xor ecx, eax
mov word [ebp + esi*2 - 0x244], cx
inc esi
cmp esi, 0x15
jb 0x1001cc64
xor eax, eax
mov word [ebp - 0x21a], ax
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov eax, dword [ebp - 0x2d0]
push eax
mov dword [ebp - 0x2cc], eax
lea eax, [ebp - 0x244]
push eax
push 4
push edi
call dword [esi + 0x18]
add esp, 0x14
xor esi, esi
mov eax, dword [ebp - 0x2d4]
test eax, eax
je 0x1001ccc8
mov ecx, eax
call fcn.1001e4e7
mov eax, dword [ebp - 0x2cc]
lea edi, [ebx + 0x10]
mov dword [ebx + 0x94], esi
xchg dword [edi], eax
mov eax, dword [ebp - 0x2c8]
lea esi, [ebx + 0x14]
mov eax, dword [eax + 4]
xchg dword [esi], eax
call fcn.1001e07d
mov ecx, dword [ebp - 0x2c8]
push ebx
mov eax, dword [ecx + 4]
push eax
mov ecx, dword [eax]
call dword [ecx]
xor eax, eax
xchg dword [esi], eax
mov eax, 0x1321aef
xchg dword [edi], eax
mov ecx, dword [ebp - 0x2cc]
lea eax, [ebx + 0xc]
xchg dword [eax], ecx
mov ecx, dword [ebp - 0x2c8]
xor esi, esi
mov edi, dword [ebp - 0x2d4]
mov eax, dword [ecx + 4]
mov dword [ecx + 8], eax
mov dword [ebx + 0x94], esi
test edi, edi
je 0x1001cd36
mov ecx, edi
call fcn.1001e242
mov ecx, dword [ebx + 0x2e4]
test ecx, ecx
je 0x1001cea7
mov eax, dword [ecx]
push ecx
call dword [eax + 0x34]
test eax, eax
je 0x1001cea7
mov edx, dword [ebx + 0x2e4]
mov eax, 0x98d2
mov dword [ebp - 0x27c], 0x98aa
mov ecx, 0x988a
mov word [ebp - 0x278], ax
add eax, 0xfffffff6
mov word [ebp - 0x276], ax
mov eax, 0x98cb
mov word [ebp - 0x274], ax
add eax, 0xe
mov word [ebp - 0x272], ax
mov eax, 0x98cf
mov word [ebp - 0x270], ax
add eax, 0xffffffc1
mov word [ebp - 0x26e], ax
mov word [ebp - 0x26c], ax
lea eax, [ecx + 5]
mov word [ebp - 0x26a], cx
mov word [ebp - 0x268], ax
add eax, 0x3f
mov word [ebp - 0x266], ax
lea eax, [ecx + 0x50]
mov word [ebp - 0x264], cx
add ecx, 0x3b
mov word [ebp - 0x262], ax
mov word [ebp - 0x260], cx
mov word [ebp - 0x25e], ax
add eax, 0xffffffb0
mov word [ebp - 0x25c], ax
mov eax, 0x98cc
mov word [ebp - 0x25a], ax
add eax, 0xc
mov word [ebp - 0x258], ax
mov eax, 0x98c7
mov word [ebp - 0x256], cx
mov word [ebp - 0x254], ax
add eax, 0xffffffc3
mov word [ebp - 0x252], ax
mov eax, 0x988f
mov word [ebp - 0x250], ax
add eax, 0x3f
mov word [ebp - 0x24e], ax
xor eax, eax
mov word [ebp - 0x24c], ax
mov ax, word [ebp - 0x278]
mov dword [ebp - 0x2d4], edx
mov ax, word [ebp + esi*2 - 0x278]
movzx ecx, ax
movzx eax, word [ebp - 0x27c]
xor ecx, eax
mov word [ebp + esi*2 - 0x278], cx
inc esi
cmp esi, 0x16
jb 0x1001ce56
xor eax, eax
mov word [ebp - 0x24c], ax
mov esi, dword [edx]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push dword [ebp - 0x2d0]
lea eax, [ebp - 0x278]
push eax
push 4
push dword [ebp - 0x2d4]
call dword [esi + 0x18]
add esp, 0x14
xor esi, esi
test edi, edi
je 0x1001d0a7
push 0x7f
pop eax
mov word [ebp - 0x2c4], ax
push 0x69
pop eax
mov word [ebp - 0x2c2], ax
push 0x68
pop eax
push 0x7a
pop ecx
mov word [ebp - 0x2c0], ax
push 0x6c
pop eax
push 0x41
mov word [ebp - 0x2be], cx
mov word [ebp - 0x2bc], ax
pop eax
mov word [ebp - 0x2ba], ax
mov word [ebp - 0x2b8], ax
push 0x27
pop eax
mov word [ebp - 0x2b6], ax
push 0x6b
pop eax
mov word [ebp - 0x2b4], ax
push 0x70
pop eax
push 0x77
pop edx
mov word [ebp - 0x2b2], ax
push 0x68
pop eax
push 0x7b
mov word [ebp - 0x2b0], cx
mov word [ebp - 0x2ae], dx
mov word [ebp - 0x2ac], ax
pop eax
push 0x6a
pop ecx
mov word [ebp - 0x2aa], ax
push 0x6f
pop eax
push 0x6c
mov word [ebp - 0x2a8], cx
mov word [ebp - 0x2a6], ax
pop eax
mov word [ebp - 0x2a4], ax
push 0x79
pop eax
mov word [ebp - 0x2a2], ax
push 0x27
pop eax
mov word [ebp - 0x2a0], ax
push 0x7c
pop eax
push 0x27
mov word [ebp - 0x29e], cx
pop ecx
mov word [ebp - 0x29c], dx
mov word [ebp - 0x29a], ax
push 0x7a
mov word [ebp - 0x298], cx
mov word [ebp - 0x296], ax
pop eax
mov word [ebp - 0x294], ax
push 0x68
pop eax
mov word [ebp - 0x292], ax
push 0x6e
pop eax
mov word [ebp - 0x290], ax
push 0x6c
pop eax
mov word [ebp - 0x28e], ax
push 0x2c
pop eax
mov word [ebp - 0x28c], cx
mov word [ebp - 0x28a], ax
push 0x6b
pop eax
mov word [ebp - 0x288], ax
push 0x44
pop eax
mov word [ebp - 0x286], cx
mov word [ebp - 0x284], ax
push 0x45
pop eax
mov word [ebp - 0x282], ax
xor eax, eax
mov word [ebp - 0x280], ax
mov ax, word [ebp - 0x2c4]
mov ax, word [ebp + esi*2 - 0x2c4]
movzx eax, ax
add eax, 0xfffffff9
mov word [ebp + esi*2 - 0x2c4], ax
inc esi
cmp esi, 0x22
jb 0x1001cffe
push dword [ebp - 0x2d0]
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x218]
push 0x208
push eax
call fcn.10007b06
add esp, 0x10
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.1001e16b
jmp 0x1001d0a7
mov eax, dword [ebp - 0x2cc]
lea edi, [ebx + 0x10]
mov dword [ebx + 0x94], esi
xchg dword [edi], eax
mov eax, dword [ebp - 0x2c8]
lea esi, [ebx + 0x14]
mov eax, dword [eax + 4]
xchg dword [esi], eax
call fcn.1001e07d
mov ecx, dword [ebp - 0x2c8]
push ebx
mov eax, dword [ecx + 4]
push eax
mov ecx, dword [eax]
call dword [ecx]
xor eax, eax
xchg dword [esi], eax
mov eax, 0x1321aef
xchg dword [edi], eax
mov ecx, dword [ebp - 0x2cc]
lea eax, [ebx + 0xc]
xchg dword [eax], ecx
mov ecx, dword [ebp - 0x2c8]
mov eax, dword [ecx + 4]
mov dword [ecx + 8], eax
and dword [ebx + 0x94], 0
lea edi, [ebx + 0x2d8]
mov eax, dword [edi]
push 0xc
mov esi, dword [eax]
push esi
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
dec dword [edi + 4]
call fcn.10006a60
pop ecx
pop ecx
lea eax, [ebp - 0x2d0]
mov ecx, edi
push eax
call fcn.1001e6b4
inc dword [ebx + 0x90]
xor eax, eax
inc eax
mov dword [ebp - 0x2d8], eax
and eax, 0xfffffffe
mov dword [ebp - 0x2d8], eax
or dword [ebp - 4], 0xffffffff
call fcn.100218df
call fcn.10175118
ret 8