Function at 0x30007a0b
Capabilities:
Create process on windows
Get system information on windows
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x294
mov eax, dword [0x30015078]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp + 0x210], eax
mov dword [ebp - 8], ebx
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov dword [ebp - 4], ebx
call fcn.30012d04
mov esi, eax
cmp esi, ebx
jl 0x30007bb7
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x38]
mov dword [0x30015194], eax
mov eax, 0x10000
mov dword [0x300151a0], eax
mov dword [0x300151a8], eax
mov dword [0x300151b0], eax
lea eax, [ebp]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp]
push eax
xor edi, edi
inc edi
lea eax, [ebp]
push eax
mov dword [0x30015198], 0xf
mov dword [0x3001519c], edi
mov dword [0x300151a4], edi
mov dword [0x300151ac], edi
mov dword [0x300151b4], edi
call fcn.3000726e
mov esi, eax
cmp esi, ebx
jl 0x30007bba
cmp esi, edi
je 0x30007c44
cmp dword [ebp - 8], ebx
je 0x30007ac9
push ebx
push ebx
call fcn.30007632
mov esi, eax
jmp 0x30007bba
cmp dword [ebp], ebx
je 0x30007c01
push 0x11
pop ecx
xor eax, eax
lea edi, [ebp - 0x80]
rep stosd dword es:[edi], eax
push 0x104
lea eax, [ebp + 8]
push eax
push ebx
mov dword [ebp - 0x80], 0x44
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
jne 0x30007b19
call edi
mov esi, eax
cmp esi, ebx
jle 0x30007b13
and esi, 0xffff
or esi, 0x80070000
cmp esi, ebx
jl 0x30007bb7
push ebx
lea eax, [ebp + 4]
push eax
push 0x30001cd4
push 0x30001a9c
call fcn.3000f51f
mov esi, eax
cmp esi, ebx
jl 0x30007bb7
push ebx
push 1
push dword [ebp + 4]
lea eax, [ebp + 8]
push eax
call fcn.3000f2dc
mov esi, eax
cmp esi, ebx
jl 0x30007bb7
push 4
push ebx
push dword [ebp + 4]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push dword [ebp + 4]
lea eax, [ebp - 4]
push 0x30001cb0
push eax
call fcn.30011a0f
mov esi, eax
add esp, 0xc
cmp esi, ebx
jl 0x30007bb7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x30007ba7
call edi
mov esi, eax
cmp esi, ebx
jle 0x30007ba5
and esi, 0xffff
or esi, 0x80070000
cmp esi, ebx
jl 0x30007bb7
push dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x18]
call edi
xor edi, edi
inc edi
cmp dword [0x300151c0], ebx
je 0x30007bc8
push edi
call fcn.30011f46
cmp dword [ebp - 4], ebx
je 0x30007bd5
push dword [ebp - 4]
call fcn.30011460
cmp dword [ebp + 4], ebx
je 0x30007be2
push dword [ebp + 4]
call fcn.30011460
call fcn.30012d1a
mov ecx, dword [ebp + 0x210]
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.30012b55
add ebp, 0x214
leave
ret 0x10
mov eax, dword [0x30015020]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x14], 0x3000e08d
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x30007c44
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, ebx
jle 0x30007c3e
and esi, 0xffff
or esi, 0x80070000
cmp esi, ebx
jl 0x30007bba
xor esi, esi
jmp 0x30007bba