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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100086dd
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1000c040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
cmp dword [0x1000d510], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x10004f11
mov dword [ebp - 0x1c], 0x61697241
mov word [ebp - 0x18], 0x6c
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
mov esi, dword [0x1000e76c]
add esp, 4
mov dword [ebp - 0x44], eax
test esi, esi
jne 0x10004edb
mov ecx, 0x79
xor edx, edx
nop dword [eax]
mov al, byte [edx + str.I____f]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x40], al
and ecx, 0x800000ff
jns 0x10004e2d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xf
jl 0x10004e10
mov byte [ebp - 0x31], 0
mov ecx, 0x90
xor edx, edx
nop
mov al, byte [edx + 0x10009228]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x2c], al
and ecx, 0x800000ff
jns 0x10004e5d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x10004e40
lea eax, [ebp - 0x40]
mov byte [ebp - 0x20], 0
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call edi
mov edi, eax
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x20], 0
xorps xmm0, xmm0
movq qword [ebp - 0x2c], xmm0
movups xmmword [ebp - 0x40], xmm0
cmp edi, 0x1000
jbe 0x10004eca
push 7
call fcn.10007565
add esp, 4
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push 0x40
push 7
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov cx, word [edi]
lea eax, [esi + 2]
sub edi, eax
mov word [esi], cx
sub edi, 3
mov byte [eax], 0xe9
mov dword [eax + 1], edi
jmp 0x10004ecc
xor esi, esi
mov eax, dword [ebp - 0x44]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1000e76c], esi
push 0x1000d510
push eax
push 0
push 4
push 0
push 1
push 0
push 1
push 0x12c
push 0
push 0x14
push dword [ebp - 0x30]
mov dword [0x1000d528], esi
call esi
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], ax
cmp dword [0x1000d508], 0
jne 0x10005015
mov esi, dword [0x1000e780]
test esi, esi
jne 0x10005005
mov ecx, 0x49
xor edx, edx
mov al, byte [edx + 0x10009238]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x40], al
and ecx, 0x800000ff
jns 0x10004f50
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xe
jl 0x10004f33
mov byte [ebp - 0x32], 0
mov ecx, 0x90
xor edx, edx
mov al, byte [edx + 0x10009228]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x2c], al
and ecx, 0x800000ff
jns 0x10004f7e
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x10004f61
lea eax, [ebp - 0x40]
mov byte [ebp - 0x20], 0
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call edi
mov edi, eax
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x20], 0
xorps xmm0, xmm0
movq qword [ebp - 0x2c], xmm0
movq qword [ebp - 0x40], xmm0
mov dword [ebp - 0x38], 0
mov word [ebp - 0x34], 0
mov byte [ebp - 0x32], 0
cmp edi, 0x1000
jbe 0x10004ffd
push 7
call fcn.10007565
add esp, 4
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push 0x40
push 7
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov cx, word [edi]
lea eax, [esi + 2]
sub edi, eax
mov word [esi], cx
sub edi, 3
mov byte [eax], 0xe9
mov dword [eax + 1], edi
jmp 0x10004fff
xor esi, esi
mov dword [0x1000e780], esi
push 0x1000d508
push dword [ebp - 0x30]
mov dword [0x1000d4dc], esi
call esi
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.10007464
mov esp, ebp
pop ebp
ret