Function at 0x1000b610
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003c0c8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x10047650]
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
cmp byte [0x101ab3d1], 0
mov eax, dword [0x101ab70c]
mov ebx, ecx
mov ecx, dword [0x101ab708]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x18], ecx
jne 0x1000b77c
mov edi, dword [0x101ab754]
test edi, edi
je 0x1000b6c6
cmp dword [0x101ab758], 0
je 0x1000b6c6
cmp dword [0x101ab75c], 0
je 0x1000b6c6
push 0x101ab3e5
mov esi, 0x20
call fcn.100039a0
mov edi, dword [0x101ab758]
add esp, 4
push 0x101ab405
mov esi, 5
call fcn.100039a0
mov edi, dword [0x101ab75c]
add esp, 4
push 0x101ab40a
mov esi, 0x11
call fcn.100039a0
add esp, 4
cmp byte [0x101ab3d1], 0
jne 0x1000b77c
mov ecx, 0x101ab398
mov eax, 0x100a9c27
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000b6f0
test dl, dl
je 0x1000b6ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000b6f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000b6d0
xor eax, eax
jmp 0x1000b6f5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1000b739
movzx edx, word [0x100a9c04]
cmp edx, dword [0x101ab394]
jne 0x1000b739
mov ecx, ebx
mov eax, 0x100a9c06
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000b730
test dl, dl
je 0x1000b72c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000b730
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000b710
xor eax, eax
jmp 0x1000b735
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000b77c
mov ecx, 0x92
xor eax, eax
mov dl, byte [eax + 0x10040fe8]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x5c], dl
inc eax
and ecx, 0xff
cmp eax, 0x23
jb 0x1000b740
mov byte [ebp - 0x39], 0
push 0x1388
lea eax, [ebp - 0x5c]
push eax
push 2
mov eax, 0x100a9eb8
mov dword [ebp - 4], 0
call fcn.100050d0
add esp, 0xc
cmp dword [ebp - 0x18], 0
jne 0x1000b78c
cmp dword [ebp - 0x64], 0
je 0x1000b9f4
xor eax, eax
push ebx
push 0x100a9c06
mov dword [0x100a9c06], eax
mov dword [0x100a9c0a], eax
mov dword [0x100a9c0e], eax
mov dword [0x100a9c12], eax
mov dword [0x100a9c16], eax
mov dword [0x100a9c1a], eax
mov dword [0x100a9c1e], eax
mov dword [0x100a9c22], eax
mov byte [0x100a9c26], al
call fcn.1002029d
mov dword [ebp - 0x60], 0
mov cx, word [ebp - 0x60]
add esp, 8
xor eax, eax
jmp 0x1000b7e0
movsx esi, byte [eax + 0x100a9c08]
movsx dx, byte [eax + 0x100a9c06]
add dx, si
movsx esi, byte [eax + 0x100a9c07]
add dx, si
add eax, 3
add cx, dx
cmp eax, 0x21
jb 0x1000b7e0
mov al, cl
add al, byte [ebp - 0x18]
mov word [ebp - 0x60], cx
mov ecx, dword [ebp - 0x60]
shr ecx, 8
add cl, byte [ebp - 0x64]
sub al, 0xf
add cl, 0xf
mov byte [0x101ab11f], al
mov byte [0x101ab11c], cl
mov ecx, 0x547fc0a1
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0x76636572
mov byte [ebp - 0x14], 0
call fcn.1001b410
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea edx, [ebp - 0x18]
push edx
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [0x101ab378], eax
mov ecx, 0x547fc0a1
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0x646e6573
mov byte [ebp - 0x14], 0
call fcn.1001b410
lea ecx, [ebp - 0x18]
push ecx
push eax
call esi
push eax
call edi
mov dword [0x101ab3bc], eax
mov ecx, 0xd4
xor eax, eax
lea ebx, [ebx]
mov dl, byte [eax + 0x10041018]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x38], dl
inc eax
and ecx, 0xff
cmp eax, 0xc
jb 0x1000b890
mov byte [ebp - 0x2c], 0
mov ecx, 0x8c
xor eax, eax
mov dl, byte [eax + 0x10041028]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x28], dl
inc eax
and ecx, 0xff
cmp eax, 0xc
jb 0x1000b8b4
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov byte [ebp - 0x1c], 0
call esi
push eax
call edi
mov edx, dword [0x101ab3bc]
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov byte [ebp - 0x1c], cl
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x2c], cl
mov ecx, dword [0x101ab378]
mov dword [0x101ab6d4], ecx
mov dword [0x101ab37c], edx
mov esi, dword [ecx]
mov dword [0x101ab380], esi
mov cl, byte [ecx + 4]
mov byte [0x101ab384], cl
mov ecx, dword [edx]
mov dword [0x101ab370], ecx
movzx edx, byte [edx + 4]
mov byte [0x101ab374], dl
mov ecx, dword [eax]
mov dword [0x101ab3b0], ecx
movzx edx, byte [eax + 4]
mov dword [0x101ab38c], eax
mov dword [0x101ab134], eax
mov byte [0x101ab3b4], dl
call fcn.1003a4a0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call fcn.1003a970
push 0x10004430
push 0x101ab6d4
call fcn.10039f30
call fcn.1003a500
call fcn.1003a4a0
call esi
push eax
call fcn.1003a970
push 0x100044a0
push 0x101ab37c
call fcn.10039f30
call fcn.1003a500
mov eax, dword [0x101ab378]
mov ecx, dword [eax]
mov dword [0x101ab380], ecx
movzx edx, byte [eax + 4]
mov eax, dword [0x101ab3bc]
mov byte [0x101ab384], dl
mov ecx, dword [eax]
mov dword [0x101ab370], ecx
movzx edx, byte [eax + 4]
xor eax, eax
mov byte [0x101ab374], dl
mov dword [0x100a9c06], eax
mov dword [0x100a9c0a], eax
mov dword [0x100a9c0e], eax
mov dword [0x100a9c12], eax
mov dword [0x100a9c16], eax
mov dword [0x100a9c1a], eax
mov dword [0x100a9c1e], eax
mov dword [0x100a9c22], eax
mov byte [0x100a9c26], al
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.1002005a
mov esp, ebp
pop ebp
ret