Function at 0x41826b
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push ebx
push esi
push edi
push str.EvaluateApplicability
push dword [ebp + 8]
mov esi, edx
mov dword [ebp - 0x10], ecx
or edi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x41874c
push ecx
push 4
push str.Path
mov ecx, esi
call fcn.00413578
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x41874c
push ecx
push 8
push str.ProcName
mov ecx, esi
call fcn.00413578
mov dword [ebp - 0x18], eax
test eax, eax
je 0x41874c
push ecx
push 9
push str.ContextId
mov ecx, esi
call fcn.00413578
mov dword [ebp - 0x20], eax
call fcn.00402506
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402331
lea edx, [ebp - 0x1c]
xor ecx, ecx
call fcn.004141aa
test eax, eax
jne 0x418741
push ecx
push 5
push str.Flags
mov ecx, esi
call fcn.00413578
test eax, eax
je 0x41832e
mov eax, dword [eax + 4]
test eax, eax
jne 0x41831a
mov eax, 0x44c488
push 0xa
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.msvcrt.dll_strtoul]
add esp, 0xc
mov dword [ebp - 0xc], eax
jmp 0x418333
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.00420630
test eax, eax
je 0x418744
mov dword [ebp - 0x24], ebx
mov dword [ebp + 8], ebx
mov dword [ebp - 0x14], ebx
call fcn.00402506
push eax
lea ecx, [ebp - 8]
call fcn.00402331
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 4]
test edx, edx
je 0x41836b
mov eax, dword [eax + 0xc]
jmp 0x41836d
mov eax, ebx
test edx, edx
jne 0x418376
mov edx, 0x44c488
push eax
lea ecx, [ebp - 0x28]
call fcn.00414b6f
pop ecx
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 4]
test edx, edx
je 0x418394
mov eax, dword [eax + 0xc]
jmp 0x418396
mov eax, ebx
test edx, edx
jne 0x41839f
mov edx, 0x44c488
push eax
lea ecx, [ebp - 0x30]
call fcn.00414b6f
push dword [ebp - 0xc]
push dword [ebp - 0x18]
push dword [eax]
lea eax, [ebp - 8]
push esi
push str.__s___ProxyCall__EvaluateApplicability___s____s___d
push eax
call fcn.00401bf0
mov ecx, dword [ebp - 0x30]
add esp, 0x1c
lea ecx, [ecx - 0x10]
call fcn.004025d7
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.004025d7
cmp dword [ebp - 0x20], 0
je 0x4184df
push ebx
push 0x400000
push ebx
push 4
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0xc
push eax
push edi
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 1
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x4184df
push 0x400000
push ebx
push ebx
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
mov dword [ebp + 8], edi
test edi, edi
je 0x4184df
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x14]
add ecx, 0x10
push ecx
push 0xa
push str.upd:Update
call fcn.00413337
test eax, eax
je 0x4184b2
push ecx
push 0x11
push str.by360:ContextRoot
mov ecx, eax
call fcn.00413337
mov edx, eax
test edx, edx
je 0x4184b2
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 4]
test eax, eax
je 0x41846d
mov ecx, dword [ecx + 0xc]
jmp 0x41846f
mov ecx, ebx
test eax, eax
jne 0x418478
mov eax, 0x44c488
push ecx
push ecx
push eax
mov ecx, edx
call fcn.00413337
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
je 0x4184af
mov edx, dword [edi + 4]
test edx, edx
je 0x418497
mov eax, dword [edi + 0xc]
jmp 0x418499
mov eax, ebx
test edx, edx
jne 0x4184a2
mov edx, 0x44c488
mov edi, dword [ebp + 8]
mov ecx, edi
push eax
call fcn.00412b2e
jmp 0x4184ba
mov edi, dword [ebp + 8]
push ecx
mov ecx, edi
call fcn.00412ada
test al, al
jne 0x4184ca
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp + 8], ebx
jmp 0x4184df
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 8]
push 0x4551fc
push eax
call fcn.00412d59
add esp, 0xc
push 0x40
lea eax, [ebp - 0x90]
mov dword [ebp - 0x94], 0x44
push ebx
push eax
call sub.msvcrt.dll_memset
xor eax, eax
mov dword [ebp - 0x68], 0x101
lea edi, [ebp - 0x40]
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov edi, dword [ebp - 8]
mov word [ebp - 0x64], ax
cmp dword [edi - 4], 1
jle 0x418528
push dword [edi - 0xc]
lea ecx, [ebp - 8]
call fcn.00401f75
mov edi, dword [ebp - 8]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x94]
push eax
push ebx
push ebx
push 0x400
push 1
push ebx
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x418582
or eax, 0xffffffff
push eax
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x80004005
push eax
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
jmp 0x418589
call fcn.0041390d
mov ecx, eax
cmp ecx, 0x600f0001
jne 0x418595
mov eax, ebx
jmp 0x4185a7
xor eax, eax
cmp ecx, 0x600f0002
sete al
lea eax, [eax*2 - 1]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x41871e
cmp dword [eax + 8], ebx
je 0x418717
cmp dword [eax + 4], 0x3ffff4
ja 0x418717
call fcn.00402506
push eax
lea ecx, [ebp - 8]
call fcn.00402331
mov ecx, dword [ebp + 8]
lea edx, [ebp - 8]
call fcn.00412ba9
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x4186a2
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x14]
add ecx, 0x10
push ecx
push 0xa
push str.upd:Update
call fcn.00413337
mov dword [ebp - 0x28], eax
test eax, eax
je 0x418648
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x14]
add ecx, 0x10
push ecx
push 0x11
push str.by360:ContextRoot
call fcn.00413337
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x418661
mov eax, dword [ebp - 0x10]
push ebx
push ebx
push ebx
mov ecx, dword [eax + 0x14]
push str.by360:ContextRoot
push 1
add ecx, 0x44
call fcn.004217e0
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x418658
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.004025d7
jmp 0x418714
mov ecx, dword [ebp - 0x28]
push eax
call fcn.00422340
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + 4]
test eax, eax
je 0x418670
mov ecx, dword [ecx + 0xc]
jmp 0x418672
mov ecx, ebx
test eax, eax
jne 0x41867b
mov eax, 0x44c488
push ebx
push ecx
push ebx
push eax
mov eax, dword [ebp - 0x10]
push 1
mov ecx, dword [eax + 0x14]
add ecx, 0x44
call fcn.004217e0
mov dword [ebp - 0x14], eax
test eax, eax
je 0x418648
mov ecx, dword [ebp - 0xc]
push eax
call fcn.00422340
mov ecx, dword [ebp - 0x14]
call fcn.00422270
mov eax, dword [ecx + 4]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4186b6
mov edx, dword [ecx + 0xc]
jmp 0x4186b8
mov edx, ebx
mov esi, dword [ebp - 8]
mov ecx, dword [esi - 0xc]
cmp edx, ecx
jb 0x4186e4
test eax, eax
jne 0x4186ce
mov eax, 0x44c488
mov dword [ebp - 0xc], eax
push ecx
push esi
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esi - 0xc]
add esp, 0xc
mov edx, dword [ebp - 0xc]
mov byte [edx + eax], bl
jmp 0x4186fd
lea eax, [ecx + 1]
push eax
mov eax, dword [ebp - 0x10]
push esi
mov ecx, dword [eax + 0x14]
add ecx, 0x44
call fcn.00421690
mov edx, eax
test edx, edx
je 0x418709
mov ecx, dword [ebp - 0x14]
mov eax, dword [esi - 0xc]
mov dword [ecx + 0xc], eax
mov dword [ecx + 4], edx
lea ecx, [esi - 0x10]
call fcn.004025d7
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x41872c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [edi - 0x10]
call fcn.004025d7
lea ecx, [esi - 0x10]
call fcn.004025d7
mov edi, dword [ebp - 0x18]
jmp 0x41874c
mov esi, dword [ebp - 0x1c]
lea ecx, [esi - 0x10]
call fcn.004025d7
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4