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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002b05d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x1003a040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.100095f0
mov ecx, dword fs:[0x2c]
cmp eax, 1
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov eax, dword [0x1003c6e0]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], esi
jne 0x10003adc
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x1003d290]
cmp eax, dword [ecx + 4]
jg 0x10003f13
mov edi, dword [0x1003d294]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 2
lea esi, [edi + 0xe40e]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x4e20
mov word [esi], ax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 2
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 1
lea esi, [edi + 0x6240c]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x18]
mov byte [esi], 0xeb
push eax
push dword [ebp - 0x18]
push 1
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x18]
push eax
push 0x40
lea esi, [edi + 0x607c9]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x12
push esi
call edi
movaps xmm0, xmmword [0x10036220]
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
movups xmmword [esi], xmm0
push 0x12
push esi
mov word [esi + 0x10], 0x9090
call edi
lea eax, [ebp - 0x18]
push eax
push 0x40
push 5
push 0x5b2bfd
call edi
mov eax, 0x5b2bfd
mov dword [eax], 0x90909090
mov byte [eax + 4], 0x90
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 5
push 0x5b2bfd
call edi
call fcn.10006d40
lea eax, [ebp - 0x18]
push eax
push 0x40
push 0x48
push 0x8d0444
call edi
movups xmm0, xmmword [str.6FEP_RES]
mov eax, 0x8d0444
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x10035130]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [0x10035140]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [0x10035150]
movups xmmword [eax + 0x30], xmm0
movq xmm0, qword [0x10035160]
movq qword [eax + 0x40], xmm0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 0x48
push 0x8d0444
call edi
lea eax, [ebp - 0x18]
push eax
push 0x40
push 0x90
push 0x8d048c
call edi
push 0x90
push 0x90
push 0x8d048c
call fcn.100116b0
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 0x90
push 0x8d048c
call edi
lea eax, [ebp - 0x18]
push eax
push 0x40
push 1
push 0x8ce47b
call edi
lea eax, [ebp - 0x18]
mov byte [0x8ce47b], 1
push eax
push dword [ebp - 0x18]
push 1
push 0x8ce47b
call edi
lea eax, [ebp - 0x18]
push eax
push 0x40
push 1
push 0x8cfd33
call edi
lea eax, [ebp - 0x18]
mov byte [0x8cfd33], 2
push eax
push dword [ebp - 0x18]
push 1
push 0x8cfd33
call edi
lea eax, [ebp - 0x18]
push eax
push 0x40
push 1
push 0x8cfef7
call edi
lea eax, [ebp - 0x18]
mov byte [0x8cfef7], 3
push eax
push dword [ebp - 0x18]
push 1
push 0x8cfef7
call edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 5
push 0x4d1750
call edi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push eax
call esi
mov dword [0x4d1751], 0x90909090
mov eax, 0x10006f50
sub eax, 0x4d1755
mov byte [0x4d1750], 0xe9
mov dword [0x4d1751], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
push 5
push 0x4d1750
call edi
push eax
call esi
lea eax, [ebp - 0x18]
push eax
push 0x40
push 5
push 0x5e5815
call edi
push eax
call esi
mov dword [0x5e5816], 0x90909090
mov eax, 0x10006f70
sub eax, 0x5e581a
mov byte [0x5e5815], 0xe9
mov dword [0x5e5816], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
push 5
push 0x5e5815
call edi
push eax
call esi
push 0x1003d1c8
mov edx, 0x1000c2d0
mov ecx, 0x4c8220
call fcn.10007d50
mov edi, 0x1003d180
test eax, eax
jne 0x10003d13
call fcn.10007d00
cmp dword [0x1003d184], 0
je 0x10003d0f
mov edx, dword [0x1003d2f8]
xor eax, eax
test edx, edx
je 0x10003d0f
mov esi, dword [0x1003d2f0]
mov ecx, esi
nop
cmp dword [ecx], 0x4c8220
je 0x10003d02
inc eax
add ecx, 0x2c
cmp eax, edx
jb 0x10003cf0
jmp 0x10003d0f
cmp eax, 0xffffffff
je 0x10003d0f
imul eax, eax, 0x2c
or byte [eax + esi + 0x14], 4
xor eax, eax
xchg dword [edi], eax
push 0x1003d19c
mov edx, 0x1000c510
mov ecx, 0x6d64f0
call fcn.10007d50
test eax, eax
jne 0x10003d73
call fcn.10007d00
cmp dword [0x1003d184], 0
je 0x10003d6f
mov edx, dword [0x1003d2f8]
xor eax, eax
test edx, edx
je 0x10003d6f
mov esi, dword [0x1003d2f0]
mov ecx, esi
nop dword [eax]
cmp dword [ecx], 0x6d64f0
je 0x10003d62
inc eax
add ecx, 0x2c
cmp eax, edx
jb 0x10003d50
jmp 0x10003d6f
cmp eax, 0xffffffff
je 0x10003d6f
imul eax, eax, 0x2c
or byte [eax + esi + 0x14], 4
xor eax, eax
xchg dword [edi], eax
push 0x1003d198
mov edx, 0x1000c5f0
mov ecx, 0x6e2b40
call fcn.10007d50
test eax, eax
jne 0x10003dd3
call fcn.10007d00
cmp dword [0x1003d184], 0
je 0x10003dcf
mov edx, dword [0x1003d2f8]
xor eax, eax
test edx, edx
je 0x10003dcf
mov esi, dword [0x1003d2f0]
mov ecx, esi
nop dword [eax]
cmp dword [ecx], 0x6e2b40
je 0x10003dc2
inc eax
add ecx, 0x2c
cmp eax, edx
jb 0x10003db0
jmp 0x10003dcf
cmp eax, 0xffffffff
je 0x10003dcf
imul eax, eax, 0x2c
or byte [eax + esi + 0x14], 4
xor eax, eax
xchg dword [edi], eax
call fcn.100095f0
cmp eax, 1
jne 0x10003e94
mov eax, dword [ebp - 0x20]
mov ecx, dword [0x1003c6e0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1003d290]
cmp eax, dword [ecx + 4]
jg 0x10003f4b
mov esi, dword [0x1003d294]
mov edx, 0x1000b000
add esi, 0xcab44
push 0x1003d194
mov ecx, esi
call fcn.10007d50
test eax, eax
jne 0x10003e94
call fcn.10007d00
cmp dword [0x1003d184], 0
je 0x10003e90
test esi, esi
jne 0x10003e58
xor ecx, ecx
cmp dword [0x1003d2f8], ecx
jbe 0x10003e90
xor edx, edx
nop dword [eax]
mov eax, dword [0x1003d2f0]
lea edx, [edx + 0x2c]
inc ecx
or byte [edx + eax - 0x18], 4
cmp ecx, dword [0x1003d2f8]
jb 0x10003e40
jmp 0x10003e90
mov edx, dword [0x1003d2f8]
xor eax, eax
test edx, edx
je 0x10003e90
mov edi, dword [0x1003d2f0]
mov ecx, edi
nop dword [eax]
cmp esi, dword [ecx]
je 0x10003e7e
inc eax
add ecx, 0x2c
cmp eax, edx
jb 0x10003e70
jmp 0x10003e8b
cmp eax, 0xffffffff
je 0x10003e8b
imul eax, eax, 0x2c
or byte [eax + edi + 0x14], 4
mov edi, 0x1003d180
xor eax, eax
xchg dword [edi], eax
call fcn.10008100
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], vtable.std::_Func_impl_no_alloc_class__void___cdecl_start_void_::_2::_lambda_1___void___.0
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 4], 0
mov eax, dword [0x1003c6e0]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x1003d220]
cmp eax, dword [ecx + 4]
jg 0x10003f84
push ecx
lea eax, [ebp - 0x50]
mov ecx, 0x1003d238
push eax
push 0x1003d254
call fcn.10004ad0
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x10003ef5
mov edx, dword [ecx]
lea eax, [ebp - 0x50]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000d8a4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x1003d290
call fcn.1000d92e
add esp, 4
cmp dword [0x1003d290], 0xffffffff
jne 0x10003a4e
push str.samp.dll
call esi
push 0x1003d290
mov dword [0x1003d294], eax
call fcn.1000d8dd
add esp, 4
jmp 0x10003a4e
push 0x1003d290
call fcn.1000d92e
add esp, 4
cmp dword [0x1003d290], 0xffffffff
jne 0x10003dfe
push str.samp.dll
call dword [ebp - 0x24]
push 0x1003d290
mov dword [0x1003d294], eax
call fcn.1000d8dd
add esp, 4
jmp 0x10003dfe
push 0x1003d220
call fcn.1000d92e
add esp, 4
cmp dword [0x1003d220], 0xffffffff
jne 0x10003ec9
xorps xmm0, xmm0
mov dword [0x1003d258], 0
movups xmmword [0x1003d238], xmm0
mov dword [0x1003d238], 0
movups xmmword [0x1003d248], xmm0
mov dword [0x1003d23c], 0
mov dword [0x1003d240], 0
mov byte [ebp - 4], 2
push 0x38
mov dword [0x1003d244], 0
mov byte [0x1003d248], 0
mov dword [0x1003d24c], 0
mov dword [0x1003d250], 0
call fcn.1000d992
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [0x1003d24c], eax
mov byte [ebp - 4], 3
push 0x38
mov dword [0x1003d254], 0
mov dword [0x1003d258], 0
call fcn.1000d992
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
push 0x1002c010
mov dword [0x1003d254], eax
call fcn.1000dcc7
add esp, 4
mov byte [ebp - 4], 0
push 0x1003d220
call fcn.1000d8dd
add esp, 4
jmp 0x10003ec9