Function at 0x1005cd60
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006eb85
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10084040]
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
mov bl, cl
mov dword [ebp - 4], 3
mov eax, dword [0x1008a0d4]
cmp dword [eax + 0xb0], 0
jne 0x1005d020
movsx ecx, word [eax + 0x104]
call fcn.1005c080
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [0x1008a0d4]
movsx ecx, word [eax + 0xe0]
call fcn.1005c080
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x1008a0d4]
movsx ecx, word [eax + 0x128]
call fcn.1005c080
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [0x1008a0d4]
movsx ecx, word [eax + 0x14c]
call fcn.1005c080
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [0x1008a0d4]
movsx ecx, word [eax + 0x170]
call fcn.1005c080
mov esi, dword [0x1008a0d4]
lea eax, [ebp - 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esi, 0x1f4
push eax
push 0x40
push 1
push esi
call edi
lea eax, [ebp - 0x18]
mov byte [esi], bl
push eax
push dword [ebp - 0x18]
push 1
push esi
call edi
mov esi, dword [0x1008a0d4]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 1
add esi, 0x1f5
push esi
call edi
lea eax, [ebp - 0x18]
mov byte [esi], bl
push eax
push dword [ebp - 0x18]
push 1
push esi
call edi
mov eax, dword [0x1008a0dc]
mov dword [ebp - 0x18], eax
mov eax, dword [0x1008a0d4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
call dword [0x1008a148]
cmp dword [ebp + 0x1c], 7
lea ecx, [ebp + 8]
mov edi, dword [ebp + 0x18]
cmova ecx, dword [ebp + 8]
mov eax, dword [0x1008a90c]
cmp edi, eax
ja 0x1005ceb8
cmp eax, 7
mov dword [0x1008a908], edi
lea eax, [edi + edi]
mov esi, 0x1008a8f8
cmova esi, dword [0x1008a8f8]
push eax
push ecx
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x1005cecb
push ecx
mov byte [ebp - 0x14], 0
mov ecx, 0x1008a8f8
push dword [ebp - 0x14]
push edi
call fcn.10061580
cmp dword [ebp + 0x34], 7
lea ecx, [ebp + 0x20]
mov edi, dword [ebp + 0x30]
cmova ecx, dword [ebp + 0x20]
mov eax, dword [0x1008a924]
cmp edi, eax
ja 0x1005cf0d
cmp eax, 7
mov dword [0x1008a920], edi
lea eax, [edi + edi]
mov esi, 0x1008a910
cmova esi, dword [0x1008a910]
push eax
push ecx
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x1005cf20
push ecx
mov byte [ebp - 0x14], 0
mov ecx, 0x1008a910
push dword [ebp - 0x14]
push edi
call fcn.10061580
cmp dword [ebp + 0x4c], 7
lea ecx, [ebp + 0x38]
mov edi, dword [ebp + 0x48]
cmova ecx, dword [ebp + 0x38]
mov eax, dword [0x1008a93c]
cmp edi, eax
ja 0x1005cf62
cmp eax, 7
mov dword [0x1008a938], edi
lea eax, [edi + edi]
mov esi, 0x1008a928
cmova esi, dword [0x1008a928]
push eax
push ecx
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x1005cf75
push ecx
mov byte [ebp - 0x14], 0
mov ecx, 0x1008a928
push dword [ebp - 0x14]
push edi
call fcn.10061580
cmp dword [ebp + 0x64], 7
lea ecx, [ebp + 0x50]
mov edi, dword [ebp + 0x60]
cmova ecx, dword [ebp + 0x50]
mov eax, dword [0x1008a954]
cmp edi, eax
ja 0x1005cfb7
cmp eax, 7
mov dword [0x1008a950], edi
lea eax, [edi + edi]
mov esi, 0x1008a940
cmova esi, dword [0x1008a940]
push eax
push ecx
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x1005cfca
push ecx
mov byte [ebp - 0x14], 0
mov ecx, 0x1008a940
push dword [ebp - 0x14]
push edi
call fcn.10061580
sub esp, 0x18
mov ecx, esp
push 0x1008a910
call fcn.10048b10
mov ecx, dword [ebp - 0x1c]
call fcn.1005d4b0
mov ecx, esp
push 0x1008a8f8
call fcn.10048b10
mov ecx, dword [ebp - 0x20]
call fcn.1005d4b0
mov ecx, esp
push 0x1008a928
call fcn.10048b10
mov ecx, dword [ebp - 0x24]
call fcn.1005d4b0
mov ecx, esp
push 0x1008a940
call fcn.10048b10
mov ecx, dword [ebp - 0x28]
call fcn.1005d4b0
add esp, 0x18
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x1005d05a
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d050
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d132
push ecx
push edx
call fcn.1006c5e3
add esp, 8
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp ecx, 7
jbe 0x1005d0a8
mov edx, dword [ebp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d09e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d132
push ecx
push edx
call fcn.1006c5e3
add esp, 8
mov ecx, dword [ebp + 0x4c]
xor eax, eax
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 7
mov word [ebp + 0x20], ax
cmp ecx, 7
jbe 0x1005d0f2
mov edx, dword [ebp + 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d0e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005d132
push ecx
push edx
call fcn.1006c5e3
add esp, 8
mov ecx, dword [ebp + 0x64]
xor eax, eax
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x4c], 7
mov word [ebp + 0x38], ax
cmp ecx, 7
jbe 0x1005d142
mov edx, dword [ebp + 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d138
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1005d138
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1006c5e3
add esp, 8
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.1006c1ab
mov esp, ebp
pop ebp
ret