Function at 0x100046a0
Capabilities:
Access peb ldr_data
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100416c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100571b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0x44]
movzx eax, byte [esi + 0xc]
mov ecx, 0x1a
push dword [esi + 0x40]
push dword [esi + 0x3c]
push dword [esi + 0x38]
push dword [esi + 0x34]
push dword [esi + 0x30]
push dword [esi + 0x2c]
push dword [esi + 0x28]
push eax
movzx eax, byte [esi + 0xb]
push eax
movzx eax, byte [esi + 0xa]
push eax
movzx eax, byte [esi + 9]
push eax
movzx eax, byte [esi + 8]
push eax
movzx eax, byte [esi + 7]
push eax
movzx eax, byte [esi + 6]
push eax
movzx eax, byte [esi + 5]
push eax
movzx eax, byte [esi + 4]
push eax
call fcn.10020c10
push eax
push 0
push 0x10157d08
call fcn.10015b60
mov al, byte [esi + 4]
add esp, 0x50
test al, al
jne 0x100048bf
mov dword [0x1016376c], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [0x10163778], eax
movzx eax, byte [esi + 5]
mov dword [0x10163774], eax
movzx eax, byte [esi + 6]
mov dword [0x10163770], eax
movzx eax, byte [esi + 8]
mov dword [0x10163738], eax
movzx eax, byte [esi + 9]
mov dword [0x10163748], eax
movzx eax, byte [esi + 0xa]
mov dword [0x10163744], eax
movzx eax, byte [esi + 0xb]
mov dword [0x10163740], eax
movzx eax, byte [esi + 0xc]
mov dword [0x1016373c], eax
mov eax, dword [esi + 0x28]
test eax, eax
je 0x100047cf
mov dword [0x10163720], eax
lea eax, [ebp - 0x30]
push eax
push 0x40
push 0x20
push 0x101636f8
call edi
push 0x20
push 0x1015cd54
push 0x101636f8
call fcn.10029c20
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
push 0x20
push 0x101636f8
call edi
lea eax, [ebp - 0x30]
push eax
push 0x40
push 0x11
push 0x101637dc
call edi
movups xmm0, xmmword [esi + 0x48]
movups xmmword [0x101637dc], xmm0
mov al, byte [esi + 0x58]
mov byte [0x101637ec], al
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
push 0x11
push 0x101637dc
call edi
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x10004844
mov dword [0x1016371c], eax
movzx eax, byte [esi + 0xd]
inc al
mov byte [0x101636f0], al
movzx eax, byte [esi + 0xf]
add al, 2
mov byte [0x101636f1], al
movzx eax, byte [esi + 0x10]
add al, 3
mov byte [0x101636f2], al
movzx eax, byte [esi + 0x12]
add al, 4
mov byte [0x101636f3], al
movzx eax, byte [esi + 0x13]
add al, 5
mov byte [0x101636f4], al
mov eax, dword [esi + 0x30]
test eax, eax
je 0x10004882
mov dword [0x10163718], eax
lea eax, [ebp - 0x30]
push eax
push 0x40
push 0x11
push 0x101636dc
call edi
movups xmm0, xmmword [esi + 0x15]
movups xmmword [0x101636dc], xmm0
mov al, byte [esi + 0x25]
mov byte [0x101636ec], al
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
push 0x11
push 0x101636dc
call edi
mov eax, dword [esi + 0x34]
test eax, eax
mov ecx, dword [0x1016372c]
cmovne ecx, eax
mov eax, dword [esi + 0x38]
test eax, eax
mov dword [0x1016372c], ecx
mov ecx, dword [0x10163728]
cmovne ecx, eax
mov eax, dword [esi + 0x3c]
mov dword [0x10163728], ecx
test eax, eax
je 0x10004995
mov dword [0x10163724], eax
jmp 0x10004995
movzx eax, al
dec eax
cmp eax, 4
ja case.default.0x100048cc
jmp dword [eax*4 + 0x100049b0]
push ecx
push 8
jmp 0x1000497c
push ecx
push 9
jmp 0x1000497c
mov edx, 0x9c
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ecx + 0x1004eef8]
xor al, dl
mov byte [ebp + ecx - 0x2c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x18
jb 0x100048f0
mov byte [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push ecx
jmp 0x10004981
mov edx, 3
xor ecx, ecx
mov al, byte [ecx + str.XW_TQM_WUb0yezp5twzqx]
xor al, dl
mov byte [ebp + ecx - 0x2c], al
inc ecx
lea eax, [edx + 1]
movzx edx, al
cmp ecx, 0x1a
jb 0x10004920
mov byte [ebp - 0x12], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x2c]
push ecx
jmp 0x10004981
mov edx, 0xc3
xor eax, eax
mov cl, byte [eax + 0x1004ef30]
xor cl, dl
mov byte [ebp + eax - 0x2c], cl
inc eax
lea ecx, [edx + 1]
movzx edx, cl
cmp eax, 0x18
jb 0x10004950
mov byte [ebp - 0x14], 0
mov dword [ebp - 4], 2
lea eax, [ebp - 0x2c]
push ecx
jmp 0x10004981
push ecx
push 0xd
call fcn.10016110
push eax
push ecx
mov edx, 1
mov ecx, 0x10161cb0
call fcn.1001f670
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10026c75
mov esp, ebp
pop ebp
ret