Function at 0x1002e210
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e2f6
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x1004f37c]
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 [0x1004f330]
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 0x1002e282
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call sym.ahclient.dll_SearchHelp
push 0xffffffffffffffff
push 0x10044204
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
call sym.ahclient.dll_SearchHelp
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 sym.ahclient.dll_SearchHelp
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x1002e34a
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002e340
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e799
push edx
push ecx
call sym.ahclient.dll_SearchHelp
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 0x1002e3a6
mov ecx, 0x2f
cmp byte [edx], 0x5c
jne 0x1002e39f
mov word [edx], cx
add edx, 2
cmp edx, edi
jne 0x1002e397
push 1
push 0x1004420c
lea ecx, [ebp - 0x230]
call sym.ahclient.dll_SearchHelp
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 0x1002e3c5
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, esi
call sym.ahclient.dll_SearchHelp
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 0x1002e444
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x260]
call sym.ahclient.dll_SearchHelp
mov edx, dword [ebp - 0x264]
cmp edx, 0x10
jb 0x1002e494
mov ecx, dword [ebp - 0x278]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002e48a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e799
push edx
push ecx
call sym.ahclient.dll_SearchHelp
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 sym.ahclient.dll_SearchHelp
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x248]
cmp eax, esi
je 0x1002e553
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x1002e512
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002e508
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e585
push edx
push ecx
call sym.ahclient.dll_SearchHelp
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 0x1002e595
mov ecx, dword [ebp - 0x260]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002e58b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002e58b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call sym.ahclient.dll_SearchHelp
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 0x10044210
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 0x1002e689
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 0x1002e6f9
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002e6ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e799
push edx
push ecx
call sym.ahclient.dll_SearchHelp
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 0x1002e74c
mov ecx, dword [ebp - 0x278]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002e742
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002e799
push edx
push ecx
call sym.ahclient.dll_SearchHelp
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 0x1002e7a9
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002e79f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002e79f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call sym.ahclient.dll_SearchHelp
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.10038620
mov esp, ebp
pop ebp
ret