Function at 0x1007a4b0
Capabilities:
Allocate or change rwx memory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x105175f4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x105175f8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [0x105175d4], eax
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [0x105175ec], eax
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [0x105175dc], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [0x105175e0], eax
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1007a526
or eax, 0xffffffff
jmp 0x1007a6fd
push 0x1000
push 0xcc
mov eax, dword [ebp - 4]
push eax
call fcn.1024b810
add esp, 0xc
push 0x104
push 0
lea ecx, [ebp - 0x118]
push ecx
call fcn.1024b810
add esp, 0xc
push 0x104
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x103ec424
lea eax, [ebp - 0x118]
push eax
call fcn.1025e060
add esp, 8
cmp dword [0x1065dfd4], 0
jne 0x1007a593
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1065dfd4], eax
cmp dword [0x1065dfd4], 0
jne 0x1007a59d
int3
mov dword [ebp - 8], 0
jmp 0x1007a5af
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp dword [eax*4 + 0x103ebed8], 0
je 0x1007a62d
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*4 + 0x103ebf30]
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
add ecx, 0x40
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x103ebed8]
push eax
mov ecx, dword [0x1065dfd4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1007a60f
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x103ebed8]
push eax
push str.CRITICAL:Error_retrieving_address_of__z_
call fcn.1007c790
add esp, 8
jmp 0x1007a5a6
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x103ebf30]
mov ecx, dword [eax]
push ecx
call fcn.1007a2e0
add esp, 8
jmp 0x1007a5a6
mov edx, dword [ebp - 4]
mov dword [0x105175d0], edx
mov eax, dword [ebp - 4]
add eax, 0x80
mov dword [ebp - 4], eax
push str.GetTickCount
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call fcn.1007a3d0
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [0x105175d0]
push edx
call fcn.1007a2e0
add esp, 8
lea eax, [ebp - 0x14]
push eax
push 0x20
push 0x1000
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [edx + 0x103ebf30]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.1007a370
mov edx, dword [0x1065dfc0]
push edx
call fcn.1007a260
add esp, 4
mov dword [0x105175d8], eax
cmp dword [0x105175d8], 0
jge 0x1007a6cd
push str.CRITICAL:Unknown_offset_for_Win32_Error_
call fcn.1007c790
add esp, 4
or eax, 0xffffffff
jmp 0x1007a6fd
mov eax, dword [0x1065dfa8]
push eax
call fcn.1007a260
add esp, 4
mov dword [0x105175e4], eax
cmp dword [0x105175e4], 0
jge 0x1007a6fb
push str.CRITICAL:Unknown_offset_for_NtStatus_
call fcn.1007c790
add esp, 4
or eax, 0xffffffff
jmp 0x1007a6fd
xor eax, eax
mov esp, ebp
pop ebp
ret