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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038b55
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x1005f008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x1005f655], 0
jne 0x10002f57
cmp byte [0x1005f656], 0
jne 0x10002f57
mov eax, dword [0x1005f67c]
test eax, eax
je 0x1000292a
push 0x1c
lea ecx, [ebp - 0x6c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movq qword [ebp - 0x4c], xmm0
lea ecx, [ebp - 0x4c]
push 0x39
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
call fcn.100033d0
mov edx, dword [ebp - 0x4c]
mov ecx, str.view__human__r_n_t_t__scale__s_0.45___r_n_t_tprops__human__r_n_t
movzx eax, byte [ecx]
inc ecx
mov dword [edx], eax
add edx, 4
cmp ecx, 0x10056999
jne 0x10002960
mov dword [ebp - 0x48], edx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
movq qword [ebp - 0x40], xmm0
push 0x11
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.100033d0
mov edx, dword [ebp - 0x40]
mov ecx, str._ton__die_scream_
movzx eax, byte [ecx]
inc ecx
mov dword [edx], eax
add edx, 4
cmp ecx, 0x10056899
jne 0x100029b1
mov dword [ebp - 0x3c], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movq qword [ebp - 0x34], xmm0
push 0x1e
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.100033d0
mov edx, dword [ebp - 0x34]
mov ecx, str.on__link_weapon__r_n
nop
movzx eax, byte [ecx]
inc ecx
mov dword [edx], eax
add edx, 4
cmp ecx, 0x10056932
jne 0x10002a00
mov dword [ebp - 0x30], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
push 0x1e
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.100033d0
mov edx, dword [ebp - 0x28]
mov ecx, str.on__link_weapon__r_n_r_nif_stuff
nop
movzx eax, byte [ecx]
inc ecx
mov dword [edx], eax
add edx, 4
cmp ecx, 0x10056952
jne 0x10002a50
mov dword [ebp - 0x24], edx
sub esp, 0xc
mov byte [ebp - 4], 3
mov eax, dword [0x1005f67c]
mov esi, esp
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x4c]
sar eax, 2
test eax, eax
je 0x10002ac2
push eax
mov ecx, esi
call fcn.100033d0
mov edi, dword [esi]
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
sub esi, eax
push esi
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
sar esi, 2
lea eax, [edi + esi*4]
mov esi, dword [ebp - 0x70]
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x74]
xor edx, edx
call fcn.100022b0
mov esi, esp
mov dword [ebp - 0x74], eax
mov eax, dword [0x1005f67c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x70], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x34]
sar eax, 2
test eax, eax
je 0x10002b26
push eax
mov ecx, esi
call fcn.100033d0
mov edi, dword [esi]
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
sub esi, eax
push esi
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
sar esi, 2
lea eax, [edi + esi*4]
mov esi, dword [ebp - 0x70]
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x18]
xor edx, edx
call fcn.100022b0
mov esi, esp
mov edi, eax
mov eax, dword [0x1005f67c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x28]
sar eax, 2
mov dword [ebp - 0x70], esi
test eax, eax
je 0x10002b8f
push eax
mov ecx, esi
call fcn.100033d0
mov edi, dword [esi]
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
sub esi, eax
push esi
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
sar esi, 2
lea eax, [edi + esi*4]
mov esi, dword [ebp - 0x70]
mov edi, dword [ebp - 0x18]
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x1c]
xor edx, edx
call fcn.100022b0
mov esi, eax
add esp, 0xc
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x70], esi
test eax, eax
je 0x10002e37
test edi, edi
je 0x10002e37
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 0x14]
push ecx
push 0x40
push 0x39
push eax
call edi
mov edx, dword [ebp - 0x74]
lea eax, [edx + 0x38]
cmp edx, 0x100568e8
ja 0x10002c06
cmp eax, str._include__c.xex__
jb 0x10002c06
mov eax, str._include__c.xex__
mov ecx, edx
sub eax, edx
mov esi, 0x39
mov dword [ebp - 0x1c], eax
mov edx, eax
nop dword [eax]
mov al, byte [edx + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub esi, 1
jne 0x10002bf0
mov esi, dword [ebp - 0x70]
mov edx, dword [ebp - 0x74]
jmp 0x10002c3b
movups xmm0, xmmword [str._include__c.xex__]
mov al, byte [0x100568e8]
movups xmmword [edx], xmm0
movups xmm0, xmmword [0x100568c0]
movups xmmword [edx + 0x10], xmm0
movups xmm0, xmmword [0x100568d0]
movups xmmword [edx + 0x20], xmm0
movq xmm0, qword [0x100568e0]
movq qword [edx + 0x30], xmm0
mov byte [edx + 0x38], al
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x14]
push 0x39
push edx
call edi
lea eax, [ebp - 0x14]
push eax
push 0x40
push 0x1e
push dword [ebp - 0x18]
call edi
mov edx, dword [ebp - 0x18]
lea eax, [edx + 0x1d]
cmp edx, 0x100569c1
ja 0x10002c8d
cmp eax, str._include__a.dds___r_n_r_nif_stuff
jb 0x10002c8d
mov esi, str._include__a.dds___r_n_r_nif_stuff
mov ecx, edx
sub esi, edx
mov edx, 0x1e
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x10002c77
mov esi, dword [ebp - 0x70]
mov edx, dword [ebp - 0x18]
jmp 0x10002cb6
movups xmm0, xmmword [str._include__a.dds___r_n_r_nif_stuff]
mov eax, dword [0x100569bc]
movups xmmword [edx], xmm0
movq xmm0, qword [0x100569b4]
movq qword [edx + 0x10], xmm0
mov dword [edx + 0x18], eax
mov ax, word [0x100569c0]
mov word [edx + 0x1c], ax
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x14]
push 0x1e
push edx
call edi
test esi, esi
je 0x10002d48
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 0x1e
push esi
call edi
lea eax, [esi + 0x1d]
cmp esi, 0x100569c1
ja 0x10002d13
cmp eax, str._include__a.dds___r_n_r_nif_stuff
jb 0x10002d13
mov eax, str._include__a.dds___r_n_r_nif_stuff
mov ecx, esi
sub eax, esi
mov edx, 0x1e
mov dword [ebp - 0x14], eax
mov esi, eax
nop word [eax + eax]
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x10002d00
mov esi, dword [ebp - 0x70]
jmp 0x10002d3c
movups xmm0, xmmword [str._include__a.dds___r_n_r_nif_stuff]
mov eax, dword [0x100569bc]
movups xmmword [esi], xmm0
movq xmm0, qword [0x100569b4]
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x18], eax
mov ax, word [0x100569c0]
mov word [esi + 0x1c], ax
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x1c]
push 0x1e
push esi
call edi
mov esi, dword [0x1005f67c]
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x74], 0
sub esp, 0xc
mov edi, esp
mov dword [ebp - 0x14], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x40]
sar eax, 2
test eax, eax
je 0x10002dad
push eax
mov ecx, edi
call fcn.100033d0
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x40]
sub esi, eax
mov edi, dword [edi]
push esi
push eax
push edi
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [ebp - 0x14]
add esp, 0xc
sar esi, 2
lea eax, [edi + esi*4]
mov esi, dword [ebp - 0x70]
mov dword [ecx + 4], eax
xor edx, edx
mov ecx, esi
call fcn.100022b0
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x70], esi
test esi, esi
je 0x10002e33
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 0x11
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esi + 0x10]
cmp esi, 0x100568ac
ja 0x10002e01
cmp eax, str._include__c.dds__
jb 0x10002e01
mov edi, str._include__c.dds__
mov ecx, esi
sub edi, esi
mov edx, 0x11
mov al, byte [edi + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
sub edx, 1
jne 0x10002df1
jmp 0x10002e13
movups xmm0, xmmword [str._include__c.dds__]
mov al, byte [0x100568ac]
movups xmmword [esi], xmm0
mov byte [esi + 0x10], al
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
push 0x11
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 0x74]
inc ecx
mov dword [ebp - 0x74], ecx
cmp ecx, 3
jl 0x10002d58
mov al, 1
jmp 0x10002e39
xor al, al
mov edx, dword [ebp - 0x28]
mov byte [0x1005f656], al
test edx, edx
je 0x10002e8a
mov ecx, dword [ebp - 0x20]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10002e6b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002f47
push ecx
push edx
call fcn.10037b52
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x10002ed6
mov ecx, dword [ebp - 0x2c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10002eb7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002f47
push ecx
push edx
call fcn.10037b52
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x40]
test edx, edx
je 0x10002f1e
mov ecx, dword [ebp - 0x38]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10002eff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002f47
push ecx
push edx
call fcn.10037b52
add esp, 8
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov edx, dword [ebp - 0x4c]
test edx, edx
je 0x10002f57
mov ecx, dword [ebp - 0x44]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10002f4d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10002f4d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.10037b52
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100377fa
mov esp, ebp
pop ebp
ret