Function at 0x100c140
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x10221a8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov eax, dword [0x102806c]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x9c]
xor ebx, ebx
mov dword [ebp], vtable.NBOT_Handler.0
mov dword [ebp + 4], ebx
mov cx, word [0x102a260]
xor eax, eax
cmp cx, bx
mov edx, 0x102a260
je 0x100c1a6
movzx ecx, cx
movzx ecx, cx
rol eax, 7
add edx, 2
xor eax, ecx
movzx ecx, word [edx]
cmp cx, bx
jne 0x100c193
mov dword [ebp + 8], eax
mov dword [esp + 0x94], ebx
mov dword [ebp], method.NBOT_Handler.virtual_0
call fcn.0100a830
mov edi, eax
call fcn.0100ae00
lea esi, [esp + 0x34]
mov dword [esp + 0x24], eax
call fcn.010044a0
lea esi, [esp + 0x60]
mov byte [esp + 0x94], 1
call fcn.010044a0
lea eax, [edi + 4]
mov edi, str.NBOT_CONF_AT
mov byte [esp + 0x94], 2
mov dword [esp + 0x20], eax
call fcn.010041e0
cmp eax, ebx
je 0x100c397
cmp byte [eax + 0x10], 5
jne 0x100c397
mov ecx, dword [eax + 4]
cmp ecx, ebx
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], ecx
je 0x100c224
lea edx, [esp + 0x34]
push edx
call fcn.010049e0
lea esi, [esp + 0x34]
mov word [esp + 0x58], 0xffff
mov dword [esp + 0x5c], ebx
call fcn.01004520
mov ebx, eax
test ebx, ebx
je 0x100c34b
cmp dword [ebx + 4], 0
je 0x100c338
mov al, byte [ebx + 0x10]
cmp al, 4
je 0x100c25b
cmp al, 6
jne 0x100c338
push 8
call fcn.01012314
mov edi, eax
mov dword [edi], ebp
mov eax, dword [ebx + 4]
add esp, 4
push eax
call fcn.01012263
mov dword [edi + 4], eax
mov ecx, dword [ebx]
add esp, 4
push ecx
call fcn.010107ad
add esp, 4
mov dword [esp + 0x28], eax
mov ebp, edx
call fcn.0100ac20
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
mov eax, 0x10624dd3
mul edx
shr edx, 6
mov ecx, edx
sub ecx, dword [esi + 8]
xor eax, eax
add ecx, dword [esi]
adc eax, dword [esi + 4]
cmp ebp, eax
jl 0x100c331
jg 0x100c2ba
cmp dword [esp + 0x28], ecx
jb 0x100c331
push 0x1c
call fcn.01012314
add esp, 4
test eax, eax
je 0x100c331
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov dword [eax + 4], ebp
xor ebp, ebp
push eax
mov dword [eax], ecx
mov dword [eax + 8], ebp
mov dword [eax + 0x14], 0x100c400
mov dword [eax + 0x18], edi
mov dword [eax + 0xc], ebp
mov dword [eax + 0x10], ebp
call fcn.0100fa40
mov edi, dword [edi + 4]
cmp edi, ebp
mov ebx, dword [ebx]
mov dword [esp + 0x18], ebp
je 0x100c314
lea esi, [esp + 0x18]
mov edx, edi
call fcn.01004140
cmp eax, ebp
jl 0x100c319
mov ecx, dword [esp + 0x18]
add ecx, ecx
jmp 0x100c31b
mov eax, 0x80070057
xor ecx, ecx
cmp eax, ebp
jl 0x100c331
push 1
push 6
add ecx, 2
push ecx
push edi
lea eax, [esp + 0x70]
call fcn.010043d0
mov ebp, dword [esp + 0x9c]
lea esi, [esp + 0x34]
call fcn.01004520
mov ebx, eax
test ebx, ebx
jne 0x100c242
cmp dword [esp + 0x68], 0
jne 0x100c362
mov ebx, dword [esp + 0x20]
mov eax, str.NBOT_CONF_AT
call fcn.01004630
jmp 0x100c392
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x64]
push eax
call fcn.01004820
mov esi, dword [esp + 0x1c]
push 1
push 5
push eax
mov eax, dword [esp + 0x2c]
push esi
mov ebx, str.NBOT_CONF_AT
call fcn.010043d0
push esi
call fcn.01010bef
add esp, 4
call fcn.0100aa70
lea ebx, [esp + 0x60]
call fcn.010045a0
mov ecx, dword [esp + 0x60]
push ecx
call fcn.01011b90
mov esi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
add esp, 4
lea edx, [esp + 0x6c]
push edx
call esi
lea ebx, [esp + 0x34]
call fcn.010045a0
mov eax, dword [esp + 0x34]
push eax
call fcn.01011b90
add esp, 4
lea ecx, [esp + 0x40]
push ecx
call esi
mov eax, ebp
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 4