Function at 0x1009bad0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019cd92
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x204
push esi
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov byte [ebp - 0x10], 0
lea edx, [ebp - 0x210]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x7c]
call fcn.100a45f0
add esp, 4
lea eax, [ebp - 0xac]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x7c]
call fcn.10096640
mov esi, eax
lea eax, [ebp - 0x7c]
cmp eax, esi
je 0x1009bb65
mov ecx, eax
call fcn.1009f8b0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x7c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x6c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0x98]
cmp ecx, 7
jbe 0x1009bba5
mov edx, dword [ebp - 0xac]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1009bb9b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009c1e1
push ecx
push edx
call fcn.101352a3
add esp, 8
cmp dword [ebp - 0x68], 7
lea eax, [ebp - 0x7c]
cmova eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x7c]
mov ecx, 0x101ffe70
push eax
call fcn.10096970
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x1009b880
sub eax, 0x60dc1c
mov byte [ebp - 0x1c], 0xe8
mov dword [ebp - 0x1b], eax
lea eax, [ebp - 0x10]
push eax
push 0x40
push 5
push 0x60dc17
call esi
mov eax, dword [ebp - 0x1c]
mov ecx, 0x60dc17
mov dword [ecx], eax
mov al, byte [ebp - 0x18]
mov byte [ecx + 4], al
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x10]
push 5
push ecx
call esi
mov eax, 0x1009b950
mov byte [ebp - 0x1c], 0xe8
sub eax, 0x66703e
mov dword [ebp - 0x1b], eax
lea eax, [ebp - 0x10]
push eax
push 0x40
push 5
push 0x667039
call esi
mov eax, dword [ebp - 0x1c]
mov ecx, 0x667039
mov dword [ecx], eax
mov al, byte [ebp - 0x18]
mov byte [ecx + 4], al
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x10]
push 5
push ecx
call esi
mov eax, 0x1009b630
mov byte [ebp - 0x1c], 0xe8
sub eax, 0x663e64
mov dword [ebp - 0x1b], eax
lea eax, [ebp - 0x10]
push eax
push 0x40
push 5
push 0x663e5f
call esi
mov eax, dword [ebp - 0x1c]
mov ecx, 0x663e5f
mov dword [ecx], eax
mov al, byte [ebp - 0x18]
mov byte [ecx + 4], al
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x10]
push 5
push ecx
call esi
xorps xmm0, xmm0
mov dword [ebp - 0x84], 1
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x80], 0xf
mov word [ebp - 0x94], 0x30
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x54], 0xc
movq xmm0, qword [str.EnableEditor]
mov eax, dword [0x101c3978]
mov dword [ebp - 0x50], 0xf
movq qword [ebp - 0x64], xmm0
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0
mov eax, dword [0x101c3988]
xorps xmm0, xmm0
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0xc
movq xmm0, qword [str.ReworkExtras]
mov dword [ebp - 0x38], 0xf
movq qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xdc]
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
call fcn.100a46b0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc4]
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
call fcn.100a4660
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 5
push eax
mov edx, 0x101ffe70
lea ecx, [ebp - 0xac]
call fcn.10096770
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0x10c]
call fcn.10096770
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 7
push ecx
lea ecx, [ebp - 0x64]
mov edx, eax
push ecx
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0xf4]
call fcn.100993c0
push 0x101be5e8
push eax
call fcn.100a1fa0
mov ecx, dword [ebp - 0xe0]
add esp, 0x24
mov byte [ebp - 0x11], al
cmp ecx, 0xf
jbe 0x1009bdc6
mov edx, dword [ebp - 0xf4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009bdbc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009c1e6
push ecx
push edx
call fcn.101352a3
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], 0
cmp ecx, 7
jbe 0x1009be25
mov edx, dword [ebp - 0x10c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1009be1b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009c1e6
push ecx
push edx
call fcn.101352a3
add esp, 8
xor eax, eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 7
mov word [ebp - 0x10c], ax
cmp ecx, 7
jbe 0x1009be86
mov edx, dword [ebp - 0xac]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1009be7c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009c1e6
push ecx
push edx
call fcn.101352a3
add esp, 8
xor eax, eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xb0]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
cmp ecx, 7
jbe 0x1009bee7
mov edx, dword [ebp - 0xc4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1009bedd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009c1e6
push ecx
push edx
call fcn.101352a3
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 7
mov word [ebp - 0xc4], ax
cmp ecx, 7
jbe 0x1009bf48
mov edx, dword [ebp - 0xdc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1009bf3e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009c1e6
push ecx
push edx
call fcn.101352a3
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 7
mov word [ebp - 0xdc], ax
cmp ecx, 0xf
jbe 0x1009bf9d
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009bf93
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009c1e6
push ecx
push edx
call fcn.101352a3
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
cmp ecx, 0xf
jbe 0x1009bfe7
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009bfdd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009c1e6
push ecx
push edx
call fcn.101352a3
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp ecx, 0xf
jbe 0x1009c034
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009c02a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009c1e6
push ecx
push edx
call fcn.101352a3
add esp, 8
cmp byte [ebp - 0x11], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
je 0x1009c19c
mov eax, 0x100915b0
mov byte [ebp - 0x28], 0xe9
sub eax, 0x6bfce7
mov dword [ebp - 0x27], eax
lea eax, [ebp - 0x10]
push eax
push 0x40
push 5
push 0x6bfce2
call esi
mov eax, dword [ebp - 0x28]
mov ecx, 0x6bfce2
mov dword [ecx], eax
mov al, byte [ebp - 0x24]
mov byte [ecx + 4], al
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x10]
push 5
push ecx
call esi
mov eax, 0x10093790
mov byte [0x102069e5], 1
sub eax, 0x6e6c9f
mov byte [0x982bf0], 1
mov dword [ebp - 0x2f], eax
lea eax, [ebp - 0x10]
push eax
push 0x40
push 5
push 0x6e6c9a
mov dword [0x10206a20], 0
mov byte [ebp - 0x30], 0xe9
call esi
mov eax, dword [ebp - 0x30]
mov ecx, 0x6e6c9a
mov dword [ecx], eax
mov al, byte [ebp - 0x2c]
mov byte [ecx + 4], al
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x10]
push 5
push ecx
call esi
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push 0x6e6c9f
call esi
mov eax, 0x6e6c9f
mov byte [eax], 0x90
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
push 1
push 0x6e6c9f
call esi
mov eax, dword [0x102062d4]
test eax, eax
je 0x1009c11c
inc dword [eax + 0x374]
push dword [0x102069e8]
push 0x3c78
call dword [0x101eaf50]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x11]
add esp, 8
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x1009c14f
push 0
mov ecx, eax
call fcn.100054f0
jmp 0x1009c151
xor eax, eax
mov byte [ebp - 4], 0
cmp dword [0x102062d4], 0
jne 0x1009c163
mov dword [0x102062d4], eax
mov ecx, eax
call fcn.1000ee30
mov eax, dword [0x102069ac]
mov dword [ebp - 0x10], 0x1009c840
cmp eax, dword [0x102069b0]
je 0x1009c18d
mov dword [eax], 0x1009c840
add dword [0x102069ac], 4
jmp 0x1009c19c
lea ecx, [ebp - 0x10]
push ecx
push eax
mov ecx, 0x102069a8
call fcn.10092750
mov ecx, dword [ebp - 0x68]
cmp ecx, 7
jbe 0x1009c1d2
mov edx, dword [ebp - 0x7c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1009c1c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009c1eb
push ecx
push edx
call fcn.101352a3
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1016ffbe
call fcn.1016ffbe
call fcn.1016ffbe
int3