Function at 0x10051942
Capabilities:
Create process on windows

Disassembly:
push 0x470
mov eax, 0x10159cdd
call fcn.1012b6ae
mov esi, dword [ebp + 0x14]
lea eax, [ebp - 0x218]
mov edi, 0x208
push edi
push 0
push eax
call fcn.1012db70
push edi
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1012db70
add esp, 0x18
mov ebx, str.__STRICT__AUTOS
cmp dword [ebp + 8], 0
je 0x1005198c
mov ebx, str.__mbr
jmp 0x10051a06
call fcn.10050cac
cmp dword [ebp + 0xc], 0
jne 0x10051a02
test eax, eax
je 0x100519a3
xor eax, eax
inc eax
jmp 0x10051bb9
call sym.deepscan.dll_DsEmpIsSupported
test eax, eax
je 0x10051a06
xor edi, edi
cmp dword [ebp + 0x10], edi
jne 0x100519bd
call fcn.10053716
test eax, eax
jne 0x1005199b
inc edi
test esi, esi
je 0x10051a06
mov eax, dword [esi]
lea ecx, [ebp - 0x424]
and dword [ebp - 0x424], 0
push ecx
push esi
call dword [eax + 0x44]
test eax, eax
jne 0x10051a06
mov edx, dword [ebp - 0x424]
test edx, edx
je 0x10051a06
and dword [ebp - 0x428], eax
mov ecx, dword [edx]
push edi
lea edi, [ebp - 0x428]
push edi
push 0x12d
push edx
call dword [ecx + 4]
test eax, eax
jne 0x10051a06
jmp 0x1005199b
test eax, eax
jne 0x1005199b
cmp dword [0x1024c328], 0
je 0x10051a51
test esi, esi
je 0x1005199b
mov eax, dword [esi]
lea ecx, [ebp - 0x424]
and dword [ebp - 0x424], 0
push ecx
push esi
call dword [eax + 0x44]
test eax, eax
jne 0x1005199b
mov ecx, dword [ebp - 0x424]
test ecx, ecx
je 0x1005199b
mov eax, dword [ecx]
push 0
push 0
push 0x133
push ecx
call dword [eax + 4]
jmp 0x1005199b
mov esi, 0x104
lea eax, [ebp - 0x218]
push esi
push eax
push dword [0x1024b9f8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.101371ef
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
add esp, 0xc
push str.....FirstAidSuperKiller.exe
push eax
call edi
push str.....FirstAid
lea eax, [ebp - 0x420]
push eax
call edi
push 2
pop esi
call fcn.10080926
mov ecx, eax
call fcn.1008096a
call fcn.100c5102
add eax, 0x314
push eax
call fcn.10073b06
mov ecx, eax
call fcn.10073cf8
lea eax, [ebp - 0x218]
dec esi
push eax
call fcn.10049dd7
pop ecx
test eax, eax
je 0x10051bb7
lea ecx, [ebp - 0x47c]
call fcn.10017820
xor ecx, ecx
mov dword [ebp - 4], ecx
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x420]
push eax
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10051b3c
cmp dword [ebp - 0x438], 0
je 0x10051b3c
push 0x3e8
push dword [ebp - 0x438]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x10051b8c
lea eax, [ebp - 0x218]
push eax
call fcn.10056882
pop ecx
test al, al
je 0x10051ba8
lea eax, [ebp - 0x218]
push eax
push 0x104
lea eax, [ebp - 0x420]
push eax
call fcn.10019f19
push 0x1018cfec
lea eax, [ebp - 0x420]
push eax
call edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x47c]
call fcn.100179b5
test esi, esi
jg 0x10051ac9
jmp 0x10051bb7
xor ebx, ebx
inc ebx
mov dword [0x1024b9f4], ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x47c]
call fcn.100179b5
mov eax, ebx
jmp 0x10051bb9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x47c]
call fcn.100179b5
xor eax, eax
call fcn.1012b658
ret