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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [0x8128ac8]
sub esp, 0x10
mov dword [0x102cc364], ecx
mov eax, dword [0x7bc4f04]
mov dword [0x102cc368], eax
push esi
mov esi, dword [0xe6172c]
push edi
cmp esi, 0xffffffff
je 0x100d5816
mov eax, 0x402bc0
call eax
push esi
mov edx, 0x96a4c0
mov ecx, eax
call edx
cmp dword [0x101f6734], 1
mov esi, eax
mov dword [0x102cc36c], esi
jne 0x100d5807
movzx ecx, byte [esi + 0x2e]
movzx eax, word [esi + 0x84]
push ecx
movzx ecx, byte [esi + 0x2d]
push ecx
push dword [0xe61e18]
push eax
call fcn.10047c50
test eax, eax
je 0x100d5807
movups xmm0, xmmword [eax + 0x14]
movups xmmword [esi + 0x38], xmm0
movq xmm0, qword [eax + 0x24]
movq qword [esi + 0x48], xmm0
mov al, byte [eax + 0x2c]
mov byte [esi + 0x50], al
mov ecx, dword [0x102cc364]
mov byte [0x102cc370], 1
jmp 0x100d5860
mov esi, dword [0xe61730]
cmp esi, 0xffffffff
je 0x100d5846
mov eax, 0x402bc0
call eax
push esi
mov edx, 0x96a4c0
mov ecx, eax
call edx
mov ecx, dword [0x102cc364]
mov dword [0x102cc36c], eax
mov byte [0x102cc370], 2
jmp 0x100d5860
cmp dword [0x102cc36c], 0
je 0x100d5859
mov dword [0x102cc36c], 0
mov byte [0x102cc370], 0
mov eax, dword [0x879340c]
mov dword [0x102cc378], eax
mov eax, dword [0x8793410]
mov dword [0x102cc380], eax
mov eax, dword [0xe61e18]
push ecx
mov dword [0x102cc374], eax
movsx eax, word [ecx + 0xe]
push 0x1013d9f4
push 0x102cc358
mov dword [0x102cc350], eax
call sym.Main.dll_sprintf
mov eax, dword [0x7bc4f04]
add esp, 0xc
movzx ecx, byte [eax + 0x32]
mov eax, dword [0x8128ac8]
movzx eax, word [eax + ecx*2 + 0x78]
mov ecx, 0x105
cmp ax, cx
je 0x100d5942
mov ecx, 0x228
cmp ax, cx
je 0x100d5942
mov ecx, 0x22b
cmp ax, cx
je 0x100d5942
movsd xmm0, qword [0x10143150]
lea eax, [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 8
push 0xd27c88
movsd qword [esp + 0x20], xmm0
mov dword [esp + 0x18], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x100d5936
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [0xd27c88], eax
lea eax, [esp + 0xc]
push eax
mov dword [0xd27c8c], ecx
push dword [esp + 0xc]
mov dword [esp + 0x14], 0
push 8
push 0xd27c88
call esi
test eax, eax
jne 0x100d5938
call edi
movsd xmm0, qword [0x10143128]
jmp 0x100d59b3
movsd xmm0, qword [0x101430f8]
lea eax, [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push eax
push 0x40
push 8
push 0xd27c88
movsd qword [esp + 0x20], xmm0
mov dword [esp + 0x18], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x100d59a9
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [0xd27c88], eax
lea eax, [esp + 0xc]
push eax
mov dword [0xd27c8c], ecx
push dword [esp + 0xc]
mov dword [esp + 0x14], 0
push 8
push 0xd27c88
call esi
test eax, eax
jne 0x100d59ab
call edi
movsd xmm0, qword [0x101430d8]
lea eax, [esp + 8]
movsd qword [esp + 0x10], xmm0
push eax
push 0x40
push 8
push 0xd281c0
mov dword [esp + 0x18], 0
call esi
test eax, eax
je 0x100d5a06
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [0xd281c0], eax
lea eax, [esp + 0xc]
push eax
mov dword [0xd281c4], ecx
push dword [esp + 0xc]
mov dword [esp + 0x14], 0
push 8
push 0xd281c0
call esi
test eax, eax
jne 0x100d5a08
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret