Function at 0x42ec60
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e5a4e
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1428
call fcn.0047b990
mov eax, dword [0x51a744]
xor eax, esp
mov dword [esp + 0x1424], eax
push esi
push edi
mov eax, dword [0x51a744]
xor eax, esp
push eax
lea eax, [esp + 0x1438]
mov dword fs:[0], eax
mov ecx, dword [ecx + 0x110]
call fcn.0041cee0
mov ecx, 0x523274
call fcn.0041b4f0
test eax, eax
jne 0x42ece2
mov eax, dword [0x523270]
mov ecx, dword [eax + 4]
add ecx, 0x523270
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x42ecda
or eax, 4
push 0
push eax
call fcn.0041ce20
push 0x44
lea eax, [esp + 0x1e0]
push 0
push eax
call fcn.0045da00
add esp, 0xc
mov dword [esp + 0x1dc], 0x44
cmp dword [0x51c904], 0x10
mov edx, 0x51c8f0
mov dword [esp + 0xd4], 0
cmovae edx, dword [0x51c8f0]
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
cmp byte [edx], 0
mov dword [0x523170], 0
jne 0x42ed47
xor ecx, ecx
jmp 0x42ed59
mov ecx, edx
lea esi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42ed50
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.00419500
push 0xffffffffffffffff
mov dword [esp + 0x1444], 0
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x128]
mov dword [esp + 0x13c], 0xf
mov dword [esp + 0x138], 0
mov byte [esp + 0x128], 0
call fcn.00419190
cmp dword [esp + 0x20], 0x10
jb 0x42edb5
push dword [esp + 0xc]
call fcn.0045a55b
add esp, 4
mov dword [esp + 0x118], 0xf
mov dword [esp + 0x114], 0
mov byte [esp + 0x104], 0
lea edx, [esp + 0x104]
mov byte [esp + 0x1440], 3
call fcn.00419a30
test al, al
jne 0x42ee61
lea eax, [esp + 0xe4]
xorps xmm0, xmm0
push eax
movq qword [esp + 0xe8], xmm0
call fcn.004303d0
mov byte [esp + 0x1440], 4
mov ecx, dword [esp + 0xe4]
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1440], 3
mov edi, dword [esp + 0xe8]
test edi, edi
je 0x42f2da
or esi, 0xffffffff
lea ecx, [edi + 4]
mov eax, esi
lock xadd dword [ecx], eax
jne 0x42f2da
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea eax, [edi + 8]
lock xadd dword [eax], esi
dec esi
jne 0x42f2da
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
jmp 0x42f2da
push 0xa8
lea eax, [esp + 0x138]
push 0
push eax
call fcn.0045da00
add esp, 8
lea ecx, [esp + 0x138]
call fcn.004303f0
lea eax, [esp + 0xec]
mov byte [esp + 0x1440], 5
push eax
call fcn.0042eb30
add esp, 4
mov byte [esp + 0x1440], 6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push str.bootcfg_d.exe
lea ecx, [esp + 0x40]
mov dword [esp + 0xe8], eax
call fcn.004216a0
mov byte [esp + 0x1440], 7
lea ecx, [esp + 0xe4]
mov dword [esp + 0xc], ecx
lea edx, [esp + 0xc]
mov ecx, eax
mov dword [esp + 0x10], fcn.0040daf0
mov dword [esp + 0x14], 0x432220
call fcn.00424a10
mov edx, eax
lea ecx, [esp + 0x24]
call fcn.004217f0
push eax
lea ecx, [esp + 0xf0]
mov byte [esp + 0x1444], 8
call fcn.00430d60
cmp dword [esp + 0x38], 0x10
jb 0x42ef20
push dword [esp + 0x24]
call fcn.0045a55b
add esp, 4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
mov byte [esp + 0x1440], 6
call fcn.0041e5f0
cmp dword [esp + 0x100], 8
lea eax, [esp + 0xec]
lea ecx, [esp + 0x138]
cmovae eax, dword [esp + 0xec]
sub esp, 8
push eax
call fcn.004307d0
test eax, eax
lea ecx, [esp + 0x134]
mov eax, dword [esp + 0x134]
mov eax, dword [eax + 4]
jne 0x42ef95
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x42efa4
or eax, 4
jmp 0x42efa4
add ecx, eax
mov edx, 4
xor eax, eax
cmp dword [ecx + 0x38], eax
cmove eax, edx
push 0
push eax
call fcn.0041ce20
cmp dword [esp + 0x188], 0
jne 0x42efdc
lea eax, [esp + 0xe4]
xorps xmm0, xmm0
push eax
movq qword [esp + 0xe8], xmm0
call fcn.004303d0
mov byte [esp + 0x1440], 9
jmp 0x42f1dc
cmp dword [esp + 0x118], 0x10
lea eax, [esp + 0x104]
cmovae eax, dword [esp + 0x104]
mov esi, dword [eax]
push esi
call fcn.00440d66
mov ecx, dword [esp + 0x118]
add esp, 4
cmp dword [esp + 0x118], 0x10
mov edi, eax
lea eax, [esp + 0x104]
mov dword [esp + 0xe4], esi
cmovae eax, dword [esp + 0x104]
add ecx, 0xfffffffc
push ecx
add eax, 4
push eax
lea eax, [esp + 0xec]
push eax
push edi
call fcn.004010a1
add esp, 0x10
test eax, eax
jne 0x42f163
mov eax, dword [esp + 0xe4]
test eax, eax
je 0x42f163
push 0
push eax
push edi
lea ecx, [esp + 0x140]
call fcn.0041ea70
lea ecx, [esp + 0x138]
call fcn.0041b4f0
test eax, eax
jne 0x42f09f
mov eax, dword [esp + 0x134]
lea ecx, [esp + 0x134]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x42f097
or eax, 4
push 0
push eax
call fcn.0041ce20
push 0x104
lea eax, [esp + 0x228]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp dword [esp + 0x100], 8
lea ecx, [esp + 0x224]
push ecx
lea eax, [esp + 0xf0]
cmovae eax, dword [esp + 0xf0]
push eax
lea eax, [esp + 0x434]
push str._s__s
push eax
call fcn.00430df0
add esp, 0x10
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0x1e0]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x44c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x42f220
push dword [esp + 0xd4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0xd8]
call esi
call fcn.004384d0
push ecx
lea ecx, [esp + 0xe8]
mov dword [esp + 0xe8], 0
call fcn.00430e10
lea ecx, [esp + 0xe4]
call fcn.0042e810
jmp 0x42f220
lea ecx, [esp + 0x138]
call fcn.0041b4f0
test eax, eax
jne 0x42f19d
mov eax, dword [esp + 0x134]
lea ecx, [esp + 0x134]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x42f195
or eax, 4
push 0
push eax
call fcn.0041ce20
cmp dword [esp + 0x100], 8
lea eax, [esp + 0xec]
cmovae eax, dword [esp + 0xec]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0xe4]
xorps xmm0, xmm0
push eax
movq qword [esp + 0xe8], xmm0
call fcn.004303d0
mov byte [esp + 0x1440], 0xa
mov ecx, dword [esp + 0xe4]
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x1440], 6
mov edi, dword [esp + 0xe8]
test edi, edi
je 0x42f220
or esi, 0xffffffff
lea ecx, [edi + 4]
mov eax, esi
lock xadd dword [ecx], eax
jne 0x42f220
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lea eax, [edi + 8]
lock xadd dword [eax], esi
dec esi
jne 0x42f220
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
cmp dword [esp + 0x100], 8
jb 0x42f239
push dword [esp + 0xec]
call fcn.0045a55b
add esp, 4
xor eax, eax
mov byte [esp + 0x1440], 3
mov word [esp + 0xec], ax
mov eax, dword [esp + 0x134]
mov dword [esp + 0x100], 7
mov dword [esp + 0xfc], 0
mov eax, dword [eax + 4]
mov dword [esp + eax + method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [esp + 0x134]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [esp + ecx + 0x130], eax
lea ecx, [esp + 0x138]
call fcn.0041a110
mov eax, dword [esp + 0x134]
mov eax, dword [eax + 4]
mov dword [esp + eax + method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [esp + 0x134]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [esp + ecx + 0x130], eax
lea eax, [esp + 0x194]
push eax
mov dword [esp + method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::ios_base.0
call fcn.00440f37
add esp, 4
cmp dword [esp + 0x118], 0x10
jb 0x42f2f3
push dword [esp + 0x104]
call fcn.0045a55b
add esp, 4
cmp dword [esp + 0x130], 0x10
lea eax, [esp + 0x11c]
mov dword [esp + 0x118], 0xf
cmovae eax, dword [esp + 0x11c]
push eax
mov dword [esp + 0x118], 0
mov byte [esp + 0x108], 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esp + 0x130], 0x10
jb 0x42f348
push dword [esp + 0x11c]
call fcn.0045a55b
add esp, 4
mov ecx, dword [esp + 0x1438]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1424]
xor ecx, esp
call fcn.0045a560
mov esp, ebp
pop ebp
ret