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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100091ed
mov eax, dword fs:[0]
push eax
sub esp, 0x8bc
mov eax, dword [0x1000e008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebx + 0x418]
lea ecx, [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 0x14], 0
cmp dword [ebx + 0x420], eax
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
sete al
lea eax, [eax*2 + 0x1438]
push eax
call fcn.100011d0
add esp, 4
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x1c]
cmp esi, dword [ebp - 0x18]
jne 0x1000264c
mov edi, 0x14
jmp 0x10002ac8
push 0x430
lea eax, [ebp - 0x8a8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x48c], 1
lea ecx, [ebp - 0x8a4]
mov dword [ebp - 0x488], 0
call fcn.100080b0
push str.GH_Injector___x86.dll
lea ecx, [ebp - 0x8a4]
call fcn.100031a0
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x8b0], esi
mov dword [ebp - 0x8b8], eax
cmp esi, eax
je 0x10002ac6
nop dword [eax + eax]
movq xmm0, qword [esi]
movq qword [ebp - 0x8c4], xmm0
mov edi, dword [ebp - 0x8c4]
push edi
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x100026e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
lea edi, [esi + 0x12]
jmp 0x10002a99
lea eax, [ebp - 0x470]
mov dword [ebp - 0x470], 0
push eax
push 8
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10002a84
lea eax, [ebp - 0x28]
mov dword [ebp - 0x20], 0
push eax
push 4
lea eax, [ebp - 0x20]
mov dword [ebp - 0x28], 0
push eax
push 0x14
push dword [ebp - 0x470]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push dword [ebp - 0x470]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x20], 0
je 0x10002a84
lea eax, [ebp - 0x46c]
mov dword [ebp - 0x46c], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [ebp - 0x46c], 0
jne 0x10002a84
mov edx, str.GH_Injector___x86.dll
mov ecx, esi
call fcn.10001940
mov dword [ebp - 0x470], eax
test eax, eax
jne 0x100027b3
lea eax, [ebp - 0x8a8]
mov dword [ebp - 0x490], edi
push eax
call sym.Injector.dll_InjectW
mov ecx, eax
test ecx, ecx
jne 0x100027a7
mov eax, dword [ebp - 0x47c]
mov dword [ebp - 0x470], eax
test eax, eax
jne 0x100027b3
mov dword [ebx], ecx
mov edi, 0x16
jmp 0x10002a91
lea ecx, [ebp - 0x474]
mov dword [ebp - 0x474], 0
push ecx
push 0x1000a3e0
mov edx, eax
mov ecx, esi
call fcn.10001a70
add esp, 8
test al, al
jne 0x10002844
lea eax, [ebp - 0x46c]
mov dword [ebp - 0x46c], 0
push eax
push str.FreeLibrary
mov edx, 0x1000a334
mov ecx, esi
mov edi, 0x1a
call fcn.10001a40
mov edx, dword [ebp - 0x46c]
add esp, 8
test edx, edx
je 0x10002a91
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x8ac], 0
push eax
push 1
lea eax, [ebp - 0x8ac]
mov dword [ebp - 0x2c], 0
push eax
push dword [ebp - 0x470]
mov ecx, esi
call fcn.10005770
add esp, 0x10
jmp 0x10002a91
movzx eax, word [ebp - 0x8c0]
push 0x40
push 0x3000
push 0x430
push 0
push esi
mov dword [ebx + 0x428], eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
mov dword [ebp - 0x46c], edi
test edi, edi
jne 0x100028e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
mov edx, 0x1000a334
lea eax, [ebp - 0x46c]
mov dword [ebp - 0x46c], 0
push eax
push str.FreeLibrary
mov ecx, esi
mov edi, 0x17
call fcn.10001a40
mov edx, dword [ebp - 0x46c]
add esp, 8
test edx, edx
je 0x10002a91
lea eax, [ebp - 0x30]
mov dword [ebp - 0x8ac], 0
push eax
push 1
lea eax, [ebp - 0x8ac]
mov dword [ebp - 0x30], 0
push eax
push dword [ebp - 0x470]
mov ecx, esi
call fcn.10005770
add esp, 0x10
jmp 0x10002a91
push 0
push 0x430
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x10002984
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x8000
push 0
push dword [ebp - 0x46c]
mov dword [ebx], eax
mov edi, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
lea eax, [ebp - 0x46c]
mov dword [ebp - 0x46c], 0
push eax
push str.FreeLibrary
mov edx, 0x1000a334
mov ecx, esi
call fcn.10001a40
mov edx, dword [ebp - 0x46c]
add esp, 8
test edx, edx
je 0x10002a91
lea eax, [ebp - 0x34]
mov dword [ebp - 0x8ac], 0
push eax
push 1
lea eax, [ebp - 0x8ac]
mov dword [ebp - 0x34], 0
push eax
push dword [ebp - 0x470]
mov ecx, esi
call fcn.10005770
add esp, 0x10
jmp 0x10002a91
mov edx, dword [ebp - 0x474]
lea eax, [ebp - 0x24]
push eax
push 0
lea eax, [ebp - 0x8ac]
mov dword [ebx + 0x428], 0
push eax
push edi
mov ecx, esi
mov dword [ebp - 0x8ac], 0
mov dword [ebp - 0x24], 0
call fcn.10005770
push 0x430
mov edi, eax
lea eax, [ebp - 0x468]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x1c
lea eax, [ebp - 0x468]
push 0
push 0x430
push eax
push dword [ebp - 0x46c]
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0x8000
push 0
push dword [ebp - 0x46c]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
lea eax, [ebp - 0x46c]
mov dword [ebp - 0x46c], 0
push eax
push str.FreeLibrary
mov edx, 0x1000a334
mov ecx, esi
call fcn.10001a40
mov edx, dword [ebp - 0x46c]
add esp, 8
test edx, edx
je 0x10002a5e
lea eax, [ebp - 0x38]
mov dword [ebp - 0x8b4], 0
push eax
push 1
lea eax, [ebp - 0x8b4]
mov dword [ebp - 0x38], 0
push eax
push dword [ebp - 0x470]
mov ecx, esi
call fcn.10005770
add esp, 0x10
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call eax
test edi, edi
je 0x10002a74
mov eax, dword [ebp - 0x8ac]
mov dword [ebx], eax
jmp 0x10002a99
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10002abd
mov dword [ebx], eax
mov edi, 0x1d
jmp 0x10002a99
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
mov edi, 0x15
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call eax
mov esi, dword [ebp - 0x8b0]
add esi, 0xc
mov dword [ebp - 0x8b0], esi
cmp esi, dword [ebp - 0x8b8]
jne 0x100026b0
test edi, edi
je 0x10002ac3
mov esi, dword [ebp - 0x1c]
jmp 0x10002ac8
mov dword [ebx], 0
mov esi, dword [ebp - 0x1c]
xor edi, edi
test esi, esi
je 0x10002b11
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x10002b07
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10002b07
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.100082a2
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10008286
mov esp, ebp
pop ebp
ret