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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x101f0194], 3
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x1003b34f
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x40
push 1
push 0x7d3c6c
or bl, 0xff
call esi
test eax, eax
je 0x1003b34d
mov eax, 0x7d3c6c
mov byte [eax], bl
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 1
push 0x7d3c6c
call esi
test eax, eax
jne 0x1003b34f
call edi
cmp dword [0x101f00b8], 1
jne 0x1003b4cf
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x87500f
call esi
mov eax, 0x87500f
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x87500f
call esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x40
push 1
push 0x8743ff
mov bl, 7
call esi
test eax, eax
je 0x1003b3c8
mov eax, 0x8743ff
mov byte [eax], bl
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 1
push 0x8743ff
call esi
test eax, eax
jne 0x1003b3ca
call edi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x40
push 1
push 0x874d5a
mov bl, 7
call esi
test eax, eax
je 0x1003b408
mov eax, 0x874d5a
mov byte [eax], bl
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 1
push 0x874d5a
call esi
test eax, eax
jne 0x1003b40a
call edi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x40
push 1
push 0x877edf
mov bl, 6
call esi
test eax, eax
je 0x1003b448
mov eax, 0x877edf
mov byte [eax], bl
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 1
push 0x877edf
call esi
test eax, eax
jne 0x1003b44a
call edi
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x878b5f
call esi
mov eax, 0x878b5f
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x878b5f
call esi
push 0x7e4d16
push 0x7e4ca4
push 0xe9
call fcn.100cc920
add esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
xor bl, bl
push eax
push 0x40
push 1
push 0x7e4cba
call esi
test eax, eax
je 0x1003b4cd
mov eax, 0x7e4cba
mov byte [eax], bl
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 1
push 0x7e4cba
call esi
test eax, eax
jne 0x1003b4cf
call edi
cmp dword [0x101f00bc], 1
jne 0x1003b514
lea eax, [ebp - 4]
push eax
push 0x40
push 0x198
push 0x7a8330
call esi
push 0x198
push 0x90
push 0x7a8330
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0x198
push 0x7a8330
call esi
cmp dword [0x101f00c0], 1
jne 0x1003b54b
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x57655b
call esi
mov eax, 0x57655b
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x57655b
call esi
cmp dword [0x101f00c4], 1
jne 0x1003b63f
push 0x832897
push 0x832862
push 0xe9
call fcn.100cc920
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 0x25
push 0x7c5a68
call esi
mov eax, 0x7c5a68
mov dword [eax], 0x90909090
mov dword [eax + 4], 0x90909090
mov dword [eax + 8], 0x90909090
mov dword [eax + 0xc], 0x90909090
mov dword [eax + 0x10], 0x90909090
mov dword [eax + 0x14], 0x90909090
mov dword [eax + 0x18], 0x90909090
mov dword [eax + 0x1c], 0x90909090
mov dword [eax + 0x20], 0x90909090
mov byte [eax + 0x24], 0x90
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0x25
push 0x7c5a68
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 0x159
push 0x7c4430
call esi
push 0x159
push 0x90
push 0x7c4430
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0x159
push 0x7c4430
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x7c5ad2
call esi
mov eax, 0x7c5ad2
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x7c5ad2
call esi
cmp dword [0x101f00c8], 1
jne 0x1003b67b
lea eax, [ebp - 4]
push eax
push 0x40
push 0x30
push 0x62f876
call esi
push 0x30
push 0x90
push 0x62f876
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0x30
push 0x62f876
call esi
cmp dword [0x101f00cc], 1
jne 0x1003b6ab
push ecx
mov edx, 5
mov ecx, 0xd46c8c
call fcn.100cc060
push 0x1003b8c0
push 0x835234
push 0xe9
call fcn.100cc920
add esp, 0x10
cmp dword [0x101f00d0], 1
jne 0x1003b6f3
push 0x836a23
push 0x8369fa
push 0xe9
call fcn.100cc920
push 0x7d36bf
push 0x7d36b8
push 0xe9
call fcn.100cc920
push 0x7d3fa3
push 0x7d3f9c
push 0xe9
call fcn.100cc920
add esp, 0x24
cmp dword [0x101f00d4], 1
jne 0x1003b727
push 0x856fd2
push 0x856faa
push 0xe9
call fcn.100cc920
push 0x7d3725
push 0x7d371e
push 0xe9
call fcn.100cc920
add esp, 0x18
cmp dword [0x101f00b4], 1
jne 0x1003b775
push 0x1003b890
push 0x777008
push 0xe9
call fcn.100cc920
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x776fe4
call esi
mov eax, 0x776fe4
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x776fe4
call esi
cmp dword [0x101f0094], 2
jne 0x1003b832
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x85b6ac
call esi
mov eax, 0x85b6ac
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 5
push 0x85b6ac
call esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x40
push 1
push 0x7d4001
or bl, 0xff
call esi
test eax, eax
je 0x1003b7ef
mov eax, 0x7d4001
mov byte [eax], bl
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 1
push 0x7d4001
call esi
test eax, eax
jne 0x1003b7f1
call edi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x40
push 1
push 0x7d4110
or bl, 0xff
call esi
test eax, eax
je 0x1003b830
mov eax, 0x7d4110
mov byte [eax], bl
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 1
push 0x7d4110
call esi
test eax, eax
jne 0x1003b832
call edi
cmp byte [0x101f018e], 1
jne 0x1003b87c
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x40
push 1
push 0x7d3d57
or bl, 0xff
call esi
test eax, eax
je 0x1003b87a
mov eax, 0x7d3d57
mov byte [eax], bl
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 1
push 0x7d3d57
call esi
test eax, eax
jne 0x1003b87c
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret