Function at 0x10021d7b
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x102b7040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x102b7ae8]
push ebx
mov bh, byte [0x102b9087]
dec eax
push esi
push edi
cmp eax, 5
ja case.default.0x10021cc8
jmp dword [eax*4 + 0x100221f8]
mov bl, 0x3b
mov al, 8
mov cl, 0xd
mov dl, 0xb
mov byte [ebp - 0xc], 0
xor al, bl
xor cl, bl
mov byte [ebp - 0x10], bl
xor dl, bl
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xf], al
mov al, 0x58
mov byte [ebp - 0xd], dl
mov dl, 0x7d
xor al, dl
mov byte [ebp - 0xe], cl
mov byte [ebp - 0x1b], al
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1b]
push eax
lea eax, [ebp - 0xf]
jmp 0x10021dbf
mov cl, 0x75
mov bl, 0x45
mov al, 0x70
mov dl, cl
jmp 0x10021cd7
mov al, 0x53
mov byte [ebp - 0xc], 0
mov dl, al
mov byte [ebp - 0xc], 0
mov cl, al
mov bl, 0x64
xor al, bl
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xf], al
xor dl, bl
mov byte [ebp - 0xd], dl
mov al, 0x58
xor cl, bl
mov dl, 0x7d
xor al, dl
mov byte [ebp - 0xe], cl
mov byte [ebp - 0x1b], al
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1b]
push eax
lea eax, [ebp - 0xf]
jmp 0x10021dbf
mov al, 0x70
mov bl, 0x49
mov cl, al
mov dl, al
jmp 0x10021cd7
mov ah, 0xe
mov byte [ebp - 0xb], 0
mov dl, 0x3e
mov byte [ebp - 0x10], ah
mov al, 0x3f
mov byte [ebp - 0xb], 0
mov cl, 0x3b
mov bl, dl
xor al, ah
xor cl, ah
xor dl, ah
xor bl, ah
mov byte [ebp - 0xc], bl
jmp 0x10021ce8
mov al, 0x28
mov byte [ebp - 0x22], 0
mov dl, al
mov byte [ebp - 0x22], 0
mov ch, 0x11
mov cl, al
mov bl, al
mov byte [ebp - 0x28], ch
mov ah, al
xor dl, ch
xor al, ch
mov byte [ebp - 0x25], dl
mov byte [ebp - 0x27], al
xor ah, ch
mov al, 0x58
mov byte [ebp - 0x23], ah
xor cl, ch
xor bl, ch
mov dl, 0x7d
mov byte [ebp - 0x26], cl
xor al, dl
mov byte [ebp - 0x24], bl
mov byte [ebp - 0x1b], al
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1b]
push eax
lea eax, [ebp - 0x27]
mov cl, 0x14
mov byte [ebp - 0x19], 0
xor cl, dl
mov byte [ebp - 0x1c], dl
push eax
mov byte [ebp - 0x1a], cl
mov byte [ebp - 0x19], 0
call fcn.100136a0
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov byte [0x102b8d6d], 1
mov dword [0x102b7aec], eax
cmp byte [ebp + 8], 1
jne 0x10021df3
mov dl, 0xeb
jmp 0x10021e4e
mov ah, 0xb
mov byte [ebp - 0xb], 0
mov al, 0x3b
mov byte [ebp - 0x10], ah
xor al, ah
mov byte [ebp - 0x19], 0
mov dl, 0x3c
mov byte [ebp - 0xf], al
xor dl, ah
mov byte [ebp - 0xb], 0
mov byte [ebp - 0xd], dl
mov al, 0x2d
mov dl, 8
mov byte [ebp - 0x19], 0
xor al, dl
mov byte [ebp - 0x1c], dl
mov cl, 0x73
mov byte [ebp - 0x1b], al
xor cl, ah
mov bl, 0x3f
xor bl, ah
mov byte [ebp - 0xe], cl
lea eax, [ebp - 0x14]
mov byte [ebp - 0xc], bl
push eax
lea eax, [ebp - 0x1b]
mov cl, 0x70
push eax
lea eax, [ebp - 0xf]
xor cl, dl
push eax
mov byte [ebp - 0x1a], cl
call fcn.100136a0
mov dl, byte [ebp - 0x14]
add esp, 0xc
mov ecx, dword [0x102ba05c]
call fcn.10014c80
test bh, bh
je 0x10021ec3
mov ah, 0x24
mov byte [ebp - 0xb], 0
mov al, 0x14
mov byte [ebp - 0x10], ah
xor al, ah
mov byte [ebp - 0x19], 0
mov dl, 0x67
mov byte [ebp - 0xf], al
xor dl, ah
mov byte [ebp - 0xb], 0
mov byte [ebp - 0xd], dl
mov al, 0x2d
mov dl, 8
mov byte [ebp - 0x19], 0
xor al, dl
mov byte [ebp - 0x1c], dl
mov cl, 0x5c
mov byte [ebp - 0x1b], al
xor cl, ah
mov bl, 0x17
xor bl, ah
mov byte [ebp - 0xe], cl
lea eax, [ebp - 0x14]
mov byte [ebp - 0xc], bl
push eax
lea eax, [ebp - 0x1b]
mov cl, 0x70
push eax
lea eax, [ebp - 0xf]
xor cl, dl
push eax
mov byte [ebp - 0x1a], cl
call fcn.100136a0
mov dl, byte [ebp - 0x14]
add esp, 0xc
mov ecx, dword [0x102ba040]
call fcn.10014c80
cmp byte [0x102b8ec6], 0
je 0x10021ee1
cmp byte [0x102b8dce], 0
jne 0x10021eeb
mov dword [0x102b8db4], 1
jmp 0x10021eeb
mov dword [0x102b8db4], 0
cmp byte [ebp + 0x18], 1
jne 0x10021f29
mov al, 0x10
mov byte [ebp - 0xc], 0
mov dl, al
mov byte [ebp - 0xc], 0
mov cl, al
mov bl, 0x29
xor al, bl
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xf], al
xor dl, bl
mov byte [ebp - 0xd], dl
mov al, 0x5e
xor cl, bl
mov dl, 0x7b
xor al, dl
mov byte [ebp - 0xe], cl
mov byte [ebp - 0x1b], al
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1b]
push eax
lea eax, [ebp - 0xf]
jmp 0x10021f65
movaps xmm0, xmmword [0x102afc70]
xor ecx, ecx
movups xmmword [ebp - 0x3c], xmm0
mov byte [ebp - 0x2c], 0
nop word [eax + eax]
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0xf
jb 0x10021f40
mov al, 0x5e
mov byte [ebp - 0x2c], 0
mov dl, 0x7b
xor al, dl
mov byte [ebp - 0x1b], al
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1b]
push eax
lea eax, [ebp - 0x3b]
mov cl, 0x1d
mov byte [ebp - 0x19], 0
xor cl, dl
mov byte [ebp - 0x1c], dl
push eax
mov byte [ebp - 0x1a], cl
mov byte [ebp - 0x19], 0
call fcn.100136a0
movss xmm0, dword [ebp - 0x14]
add esp, 0xc
call fcn.10018d80
cmp byte [ebp + 0x1c], 1
jne 0x10022020
mov ah, 0xd
mov byte [ebp - 0x23], 0
mov cl, 0x34
mov byte [ebp - 0x28], ah
mov dl, cl
mov byte [ebp - 0x19], 0
xor dl, ah
mov byte [ebp - 0x23], 0
mov al, 0x20
mov byte [ebp - 0x25], dl
xor al, ah
mov byte [ebp - 0x19], 0
mov byte [ebp - 0x27], al
mov dl, 0x7b
mov bl, cl
mov byte [ebp - 0x1c], dl
xor cl, ah
mov al, 0x5e
xor al, dl
mov byte [ebp - 0x26], cl
xor bl, ah
mov byte [ebp - 0x1b], al
lea eax, [ebp - 0x14]
mov byte [ebp - 0x24], bl
push eax
lea eax, [ebp - 0x1b]
mov cl, 0x1d
push eax
lea eax, [ebp - 0x27]
xor cl, dl
push eax
mov byte [ebp - 0x1a], cl
call fcn.100136a0
movss xmm0, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
mov esi, dword [0x102b8ebc]
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
movss dword [ebp - 0x40], xmm0
mov dword [ebp - 0xc], 0
push eax
push 0x40
push 8
push esi
call edi
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x18]
jmp 0x100220b1
mov cl, 4
mov dword [ebp - 0x3c], 0x3d2a3404
mov dword [ebp - 0x38], 0x3434343d
xor eax, eax
mov dword [ebp - 0x34], 0x3d343434
mov word [ebp - 0x30], 0x31
nop
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 0xc
jae 0x1002204f
mov cl, byte [ebp - 0x3c]
jmp 0x10022040
mov dl, 0x7b
mov byte [ebp - 0x19], 0
mov al, 0x5e
mov byte [ebp - 0x2f], 0
xor al, dl
mov byte [ebp - 0x1c], dl
mov byte [ebp - 0x1b], al
mov cl, 0x1d
lea eax, [ebp - 0x18]
mov byte [ebp - 0x19], 0
push eax
lea eax, [ebp - 0x1b]
xor cl, dl
push eax
lea eax, [ebp - 0x3b]
mov byte [ebp - 0x1a], cl
push eax
call fcn.100136a0
movss xmm0, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov esi, dword [0x102b8ebc]
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
movss dword [ebp - 0x40], xmm0
mov dword [ebp - 0x24], 0
push eax
push 0x40
push 8
push esi
call edi
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x40]
push 8
push esi
movss dword [esi], xmm0
call edi
cmp byte [ebp + 0x14], 1
jne 0x10022179
call fcn.10015cd0
mov ecx, eax
call fcn.10015e10
test eax, eax
je 0x10022179
mov eax, dword [0x102ba064]
add eax, dword [0x102b8e5c]
push 0
push eax
call fcn.1003fd80
cvttss2si eax, xmm0
add esp, 8
cmp eax, 0x2a
jne 0x10022156
cmp byte [0x102b8dcf], 0
jne 0x10022156
mov byte [0x102b8dcf], 1
call fcn.10015cd0
mov ecx, eax
call fcn.10015e10
mov esi, dword [0x102ba064]
add esi, dword [0x102b8e5c]
test eax, eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x24], 0
push eax
push 0x40
push 8
push esi
je 0x10022142
call edi
mov dword [esi], 0x42393333
jmp 0x1002214a
call edi
mov dword [esi], 0x422a0000
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x18]
push 8
push esi
call edi
mov eax, dword [0x102ba064]
add eax, dword [0x102b8e5c]
push 0
push eax
call fcn.1003fd80
cvttss2si eax, xmm0
add esp, 8
test eax, eax
jne 0x10022179
mov byte [0x102b8dcf], al
mov esi, dword [0x102ba0a0]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 8
push esi
mov dword [ebp - 0x24], 0
call edi
cmp byte [ebp + 0x20], 1
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x18]
push 8
push esi
jne 0x100221a6
mov byte [esi], 4
jmp 0x100221a9
mov byte [esi], 8
call edi
cmp byte [0x102b8d43], 0
je 0x100221e7
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
call esi
mov ecx, dword [0x102ba4e8]
add ecx, 0x1f4
test edx, edx
jb 0x100221e7
ja 0x100221d2
cmp eax, ecx
jbe 0x100221e7
call esi
cmp byte [0x102b8d6f], 0
mov dword [0x102ba4e8], eax
sete byte [0x102b8d6f]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10044642
mov esp, ebp
pop ebp
ret