Function at 0x10030b30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040a31
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x100512d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push dword [0x10051284]
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10030ba2
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.1002a3e0
push 0xffffffffffffffff
push 0x10046f8c
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
call fcn.1002a3e0
mov edx, eax
mov dword [ebp - 0x250], 0
xor eax, eax
mov dword [ebp - 0x24c], 7
cmp dword [ebp - 0x220], edx
lea ecx, [ebp - 0x260]
mov word [ebp - 0x260], ax
lea eax, [ebp - 0x230]
cmovb edx, dword [ebp - 0x220]
cmp dword [ebp - 0x21c], 8
push edx
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.1002a3e0
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x10030c6a
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10030c60
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10030da6
push edx
push ecx
call fcn.1002a3e0
add esp, 8
movups xmm1, xmmword [ebp - 0x260]
cmp dword [ebp - 0x24c], 8
lea edx, [ebp - 0x230]
mov eax, dword [ebp - 0x250]
movq xmm0, qword [ebp - 0x250]
movd ecx, xmm1
movups xmmword [ebp - 0x230], xmm1
cmovae edx, ecx
movq qword [ebp - 0x220], xmm0
lea edi, [edx + eax*2]
lea edx, [ebp - 0x230]
cmovae edx, ecx
cmp edx, edi
je 0x10030cc6
mov ecx, 0x2f
cmp byte [edx], 0x5c
jne 0x10030cbf
mov word [edx], cx
add edx, 2
cmp edx, edi
jne 0x10030cb7
push 1
push 0x10046f94
lea ecx, [ebp - 0x230]
call fcn.1002a3e0
mov edx, dword [str.ARH.exe]
mov esi, eax
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10030ce5
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call fcn.1002a3e0
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], 0
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
mov edx, dword [str._isRuntimeInstalled]
mov ecx, edx
mov byte [ebp - 4], 2
mov dword [ebp - 0x280], 0x103
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], 0xf
lea esi, [ecx + 1]
mov byte [ebp - 0x260], al
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10030d64
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x260]
call fcn.1002a3e0
mov edx, dword [ebp - 0x264]
cmp edx, 0x10
jb 0x10030db6
mov ecx, dword [ebp - 0x278]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10030dac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10030dac
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002a3e0
add esp, 8
movups xmm0, xmmword [ebp - 0x260]
push 1
lea eax, [ebp - 0x278]
push eax
movups xmmword [ebp - 0x278], xmm0
lea eax, [ebp - 0x260]
movq xmm0, qword [ebp - 0x250]
push eax
movq qword [ebp - 0x268], xmm0
call fcn.1002a3e0
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x248]
cmp eax, esi
je 0x10030e75
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x10030e34
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10030e2a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10030ea7
push edx
push ecx
call fcn.1002a3e0
add esp, 8
mov dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x248], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x238], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x24c]
cmp edx, 8
jb 0x10030eb7
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10030ead
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10030ead
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002a3e0
add esp, 8
mov esi, dword [ebp - 0x238]
add esi, 3
lea eax, [esi + esi]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xorps xmm0, xmm0
mov dword [ebp - 0x2d4], 0x44
push 0x10046f98
mov edi, eax
movlpd qword [ebp - 0x2d0], xmm0
push esi
push edi
movlpd qword [ebp - 0x2c8], xmm0
movlpd qword [ebp - 0x2c0], xmm0
movlpd qword [ebp - 0x2b8], xmm0
movlpd qword [ebp - 0x2b0], xmm0
movlpd qword [ebp - 0x2a8], xmm0
movlpd qword [ebp - 0x2a0], xmm0
movlpd qword [ebp - 0x298], xmm0
movups xmmword [ebp - 0x290], xmm0
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
cmp dword [ebp - 0x234], 8
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push eax
push esi
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0x1c
lea ecx, [ebp - 0x290]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push ecx
lea ecx, [ebp - 0x2d4]
push ecx
push 0
push 0
push 0x8000000
push 1
push 0
push 0
push edi
push eax
call dword [sym.imp.kernel32.dll_CreateProcessW]
test eax, eax
je 0x10030fab
push 0xffffffffffffffff
push dword [ebp - 0x290]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
lea eax, [ebp - 0x280]
push eax
push dword [ebp - 0x290]
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
push dword [ebp - 0x290]
call dword [sym.imp.kernel32.dll_CloseHandle]
push dword [ebp - 0x28c]
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [ebp - 0x280], 0
mov edx, dword [ebp - 0x234]
sete byte [ebp - 0x279]
cmp edx, 8
jb 0x1003101b
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10031011
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100310bb
push edx
push ecx
call fcn.1002a3e0
add esp, 8
mov edx, dword [ebp - 0x264]
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp edx, 0x10
jb 0x1003106e
mov ecx, dword [ebp - 0x278]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10031064
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100310bb
push edx
push ecx
call fcn.1002a3e0
add esp, 8
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], 0
cmp edx, 8
jb 0x100310cb
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100310c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100310c1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002a3e0
add esp, 8
mov al, byte [ebp - 0x279]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003af70
mov esp, ebp
pop ebp
ret