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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005d505
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10071040]
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 [0x10076f8c]
cmp dword [eax + 0xb0], 0
jne 0x1004be80
movsx ecx, word [eax + 0x104]
call fcn.1004a610
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [0x10076f8c]
movsx ecx, word [eax + 0xe0]
call fcn.1004a610
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x10076f8c]
movsx ecx, word [eax + 0x128]
call fcn.1004a610
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [0x10076f8c]
movsx ecx, word [eax + 0x14c]
call fcn.1004a610
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [0x10076f8c]
movsx ecx, word [eax + 0x170]
call fcn.1004a610
mov esi, dword [0x10076f8c]
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 [0x10076f8c]
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 [0x10076f94]
mov dword [ebp - 0x18], eax
mov eax, dword [0x10076f8c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
call dword [0x10076ff8]
cmp dword [ebp + 0x1c], 7
lea ecx, [ebp + 8]
mov edi, dword [ebp + 0x18]
cmova ecx, dword [ebp + 8]
mov eax, dword [0x100771b4]
cmp edi, eax
ja 0x1004bd18
cmp eax, 7
mov dword [0x100771b0], edi
lea eax, [edi + edi]
mov esi, 0x100771a0
cmova esi, dword [0x100771a0]
push eax
push ecx
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x1004bd2b
push ecx
mov byte [ebp - 0x14], 0
mov ecx, 0x100771a0
push dword [ebp - 0x14]
push edi
call fcn.100507a0
cmp dword [ebp + 0x34], 7
lea ecx, [ebp + 0x20]
mov edi, dword [ebp + 0x30]
cmova ecx, dword [ebp + 0x20]
mov eax, dword [0x100771cc]
cmp edi, eax
ja 0x1004bd6d
cmp eax, 7
mov dword [0x100771c8], edi
lea eax, [edi + edi]
mov esi, 0x100771b8
cmova esi, dword [0x100771b8]
push eax
push ecx
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x1004bd80
push ecx
mov byte [ebp - 0x14], 0
mov ecx, 0x100771b8
push dword [ebp - 0x14]
push edi
call fcn.100507a0
cmp dword [ebp + 0x4c], 7
lea ecx, [ebp + 0x38]
mov edi, dword [ebp + 0x48]
cmova ecx, dword [ebp + 0x38]
mov eax, dword [0x100771e4]
cmp edi, eax
ja 0x1004bdc2
cmp eax, 7
mov dword [0x100771e0], edi
lea eax, [edi + edi]
mov esi, 0x100771d0
cmova esi, dword [0x100771d0]
push eax
push ecx
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x1004bdd5
push ecx
mov byte [ebp - 0x14], 0
mov ecx, 0x100771d0
push dword [ebp - 0x14]
push edi
call fcn.100507a0
cmp dword [ebp + 0x64], 7
lea ecx, [ebp + 0x50]
mov edi, dword [ebp + 0x60]
cmova ecx, dword [ebp + 0x50]
mov eax, dword [0x100771fc]
cmp edi, eax
ja 0x1004be17
cmp eax, 7
mov dword [0x100771f8], edi
lea eax, [edi + edi]
mov esi, 0x100771e8
cmova esi, dword [0x100771e8]
push eax
push ecx
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x1004be2a
push ecx
mov byte [ebp - 0x14], 0
mov ecx, 0x100771e8
push dword [ebp - 0x14]
push edi
call fcn.100507a0
sub esp, 0x18
mov ecx, esp
push 0x100771b8
call fcn.1003ea50
mov ecx, dword [ebp - 0x1c]
call fcn.1004c310
mov ecx, esp
push 0x100771a0
call fcn.1003ea50
mov ecx, dword [ebp - 0x20]
call fcn.1004c310
mov ecx, esp
push 0x100771d0
call fcn.1003ea50
mov ecx, dword [ebp - 0x24]
call fcn.1004c310
mov ecx, esp
push 0x100771e8
call fcn.1003ea50
mov ecx, dword [ebp - 0x28]
call fcn.1004c310
add esp, 0x18
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x1004beba
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1004beb0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004bf92
push ecx
push edx
call fcn.1005b378
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 0x1004bf08
mov edx, dword [ebp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1004befe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004bf92
push ecx
push edx
call fcn.1005b378
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 0x1004bf52
mov edx, dword [ebp + 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1004bf48
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004bf92
push ecx
push edx
call fcn.1005b378
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 0x1004bfa2
mov edx, dword [ebp + 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1004bf98
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004bf98
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1005b378
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.1005ae5b
mov esp, ebp
pop ebp
ret