Function at 0x10009490
Capabilities:
Allocate or change rwx memory
Enumerate gui resources
Execute shellcode via indirect call
Execute shellcode via windows callback function
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10047ae6
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x10060214]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x105
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.10026860
add esp, 0xc
lea eax, [ebp - 0x118]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x118]
push 0x5c
push eax
call fcn.10025d20
add esp, 8
mov byte [eax], 0
cmp byte [ebp - 0x118], 0
mov dword [ebp - 0x138], 0xf
mov dword [ebp - 0x13c], 0
mov byte [ebp - 0x14c], 0
jne 0x10009522
xor ecx, ecx
jmp 0x10009539
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009530
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x14c]
call fcn.1000c3a0
push 0x12
push str.InterfaceAddOns_
lea ecx, [ebp - 0x14c]
mov dword [ebp - 4], 0
call fcn.1000c5b0
push 7
push str.___test
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x134], 0
call fcn.1000c3a0
lea edx, [ebp - 0x14c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x134]
call fcn.10009380
test al, al
je 0x100095c9
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x14c]
mov ecx, 0x10064030
push eax
call fcn.1000c460
push 8
push str.___test_
jmp 0x10009627
lea eax, [ebp - 0x118]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x118]
push 0x5c
push eax
call fcn.10025d20
add esp, 8
mov byte [eax], 0
cmp byte [ebp - 0x118], 0
jne 0x100095fc
xor ecx, ecx
jmp 0x1000960e
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009605
sub ecx, edx
push ecx
lea eax, [ebp - 0x118]
mov ecx, 0x10064030
push eax
call fcn.1000c3a0
push 0xa
push str.ADLuaTMP_
mov ecx, 0x10064030
call fcn.1000c5b0
call fcn.10008b10
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x11c]
push eax
push 0x40
push 6
push dword [0x10060bf0]
mov dword [0xd415b8], 1
mov dword [0xd415bc], 0x7fffffff
mov dword [ebp - 0x11c], 0
call esi
mov ecx, dword [0x10060bf0]
mov eax, dword [ecx]
mov dword [0x10060be8], eax
mov al, byte [ecx + 4]
mov byte [0x10060bec], al
mov eax, 0x10009170
sub eax, ecx
mov byte [ecx], 0xe9
sub eax, 5
mov dword [ecx + 1], eax
lea eax, [ebp - 0x11c]
push eax
push 0x40
push 6
push dword [0x10060be4]
call esi
mov ecx, dword [0x10060be4]
mov eax, dword [ecx]
mov dword [0x10060bdc], eax
mov al, byte [ecx + 4]
mov byte [0x10060be0], al
mov eax, 0x10009190
sub eax, ecx
mov byte [ecx], 0xe9
sub eax, 5
mov dword [ecx + 1], eax
lea eax, [ebp - 0x11c]
push eax
push 0x40
push 6
push dword [0x10060bd8]
call esi
mov ecx, dword [0x10060bd8]
mov eax, dword [ecx]
mov dword [0x10060bd0], eax
mov al, byte [ecx + 4]
mov byte [0x10060bd4], al
mov eax, 0x10009150
sub eax, ecx
mov byte [ecx], 0xe9
sub eax, 5
mov dword [ecx + 1], eax
lea eax, [ebp - 0x11c]
push eax
push 0x40
push 6
push dword [0x10060bcc]
call esi
mov ecx, dword [0x10060bcc]
push 0
push 0x10009290
mov eax, dword [ecx]
mov dword [0x10060bc4], eax
mov al, byte [ecx + 4]
mov byte [0x10060bc8], al
mov eax, 0x100091d0
sub eax, ecx
mov byte [ecx], 0xe9
sub eax, 5
mov dword [ecx + 1], eax
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x1006401c]
test eax, eax
je 0x100097bc
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x150], 0
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x150]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [0x10064018], eax
test eax, eax
jne 0x1000978f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x10064018], eax
push 0x10009090
push 0xfffffffffffffffc
push dword [0x1006401c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push 0
push 0x13499
push dword [0x1006401c]
mov dword [0x10064020], eax
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.100023b0
mov eax, dword [ebp - 0x120]
cmp eax, 0x10
jb 0x100097df
inc eax
lea ecx, [ebp - 0x134]
push eax
push dword [ebp - 0x134]
call fcn.1000d190
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x120], 0xf
mov dword [ebp - 0x124], 0
mov byte [ebp - 0x134], 0
cmp eax, 0x10
jb 0x10009818
inc eax
lea ecx, [ebp - 0x14c]
push eax
push dword [ebp - 0x14c]
call fcn.1000d190
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10022ebc
mov esp, ebp
pop ebp
ret