Function at 0x40ec40
Capabilities:
Create process on windows
Delete directory

Disassembly:
sub esp, 0xbcc
mov eax, dword [0x42f278]
xor eax, esp
mov dword [esp + 0xbc4], eax
push ebx
push ebp
push esi
push edi
push 0x40
xor ebx, ebx
lea eax, [esp + 0x47c]
push ebx
push eax
call fcn.00416890
add esp, 0xc
push 0x7f02
push ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 0x420
lea ecx, [esp + 0x5c]
push ebx
push ecx
mov byte [0x438ba8], bl
mov word [0x4392c0], bx
mov dword [0x4377a4], ebx
call fcn.00416890
add esp, 0xc
mov dword [esp + 0x470], ebx
call fcn.004049a0
cmp dword [0x4372ec], ebx
mov dword [esp + 0x14], eax
jne 0x40f19d
call fcn.004078b0
mov dword [0x438dc8], eax
mov dword [0x4372e8], eax
call fcn.0040f940
test eax, eax
je 0x40f0dc
mov dword [0x4377b8], ebx
call fcn.0040ab60
cmp dword [0x4377b8], 1
mov esi, eax
jne 0x40ecf9
call fcn.0040e790
cmp dword [0x4372ec], ebx
jne 0x40f0eb
test byte [0x438ba8], 4
mov ebp, dword [sym.imp.USER32.dll_LoadStringW]
jne 0x40ed7d
mov eax, dword [0x4372d8]
push 0x40
lea edx, [esp + 0x4bc]
push edx
push 3
push eax
call ebp
mov edx, dword [0x4372d8]
push 0x40
lea ecx, [esp + 0x53c]
push ecx
push 2
push edx
call ebp
cmp dword [0x4377c8], ebx
jne 0x40ed75
call fcn.00404a30
push eax
push esi
lea eax, [esp + 0x4c0]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
lea edi, [esp + 0x544]
mov ebx, eax
call fcn.00404f90
add esp, 0xc
xor ebx, ebx
mov dword [esp + 0x18], eax
xor edi, edi
jmp 0x40ed81
mov dword [esp + 0x18], ebx
xor edi, edi
jmp 0x40ed81
mov edi, dword [esp + 0x14]
call fcn.00407c60
test eax, eax
jne 0x40ed9c
mov ebx, dword [0x4377ec]
call fcn.00407860
xor ebx, ebx
jmp 0x40f0dc
test byte [0x438ba8], 4
jne 0x40edc5
mov ecx, 0x436ec0
call fcn.004086e0
test eax, eax
jne 0x40ede5
mov ebx, dword [0x4377ec]
call fcn.00407860
xor ebx, ebx
jmp 0x40f0dc
mov ecx, 0x438bc0
call fcn.004086e0
test eax, eax
jne 0x40ede5
mov ebx, dword [0x4377ec]
call fcn.00407860
xor ebx, ebx
jmp 0x40f0eb
push 0x208
lea ecx, [esp + 0x7c4]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [0x4377ec]
xor esi, esi
cmp dword [ecx], ebx
je 0x40ee43
xor eax, eax
jmp 0x40ee10
mov edx, dword [eax + ecx]
add edx, 0x418
push edx
lea eax, [esp + 0x7c4]
push eax
call fcn.004157ba
add esp, 8
test eax, eax
je 0x40ee7e
mov ecx, dword [0x4377ec]
add esi, 1
lea eax, [esi*4]
cmp dword [eax + ecx], ebx
jne 0x40ee10
test byte [0x438ba8], 4
jne 0x40eee2
mov edx, dword [esp + 0x18]
push edi
call fcn.00408ad0
add esp, 4
test eax, eax
jne 0x40eed6
mov ebx, dword [0x4377ec]
call fcn.00408990
mov ebx, dword [0x4377ec]
call fcn.00407860
xor ebx, ebx
jmp 0x40f0dc
push 0x104
push str....._src_sfslfdec_sfmkcore.c
push 0x437580
mov dword [0x4372ec], 0xffffef2f
mov word [0x437370], bx
mov dword [0x437370], ebx
mov word [0x43757e], bx
call fcn.00410502
mov word [0x437786], bx
mov ebx, dword [0x4377ec]
add esp, 0xc
mov dword [0x437374], 0x14c0
call fcn.00407860
xor ebx, ebx
jmp 0x40f0dc
mov ecx, dword [0x4377ec]
push ebx
jmp 0x40efa4
call fcn.0040ccb0
test eax, eax
jne 0x40f0eb
cmp dword [0x4377c8], ebx
jne 0x40ef70
mov edx, dword [0x4372d8]
push 0x20
lea ecx, [esp + 0x47c]
push ecx
push 0x447
push edx
call ebp
lea eax, [esp + 0x478]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
call fcn.0040cdc0
add esp, 4
test eax, eax
je 0x40f0eb
cmp dword [0x4372ec], ebx
jne 0x40f0eb
call fcn.0040c9c0
cmp eax, 1
jne 0x40f0eb
lea ecx, [esp + 0x58]
push ecx
call fcn.0040e1b0
add esp, 4
cmp eax, 1
lea ecx, [esp + 0x58]
je 0x40efa2
call fcn.0040bd80
lea edi, [esp + 0x58]
call fcn.0040beb0
jmp 0x40f0eb
mov ecx, dword [0x4377ec]
push ebx
xor edx, edx
call fcn.00408ad0
add esp, 4
test eax, eax
jne 0x40ef2d
mov ebx, dword [0x4377ec]
call fcn.00408990
mov ebx, dword [0x4377ec]
call fcn.00407860
xor ebx, ebx
jmp 0x40f0eb
push 1
lea edx, [esp + 0x7c4]
call fcn.0040f400
add esp, 4
cmp dword [0x4377c8], ebx
je 0x40f0dc
test byte [0x438ba8], 4
jne 0x40f07a
mov ecx, dword [0x4377ec]
cmp ecx, ebx
je 0x40f0dc
xor esi, esi
cmp dword [ecx], ebx
je 0x40f0dc
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
xor eax, eax
mov ebp, 0x140
mov eax, dword [eax + ecx]
add eax, 0x418
lea edx, [esp + 0x5b8]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
cmp cx, bx
jne 0x40f000
push 0x3c
lea edx, [esp + 0x20]
push ebx
push edx
call fcn.00416890
add esp, 0xc
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x5b8]
push ecx
mov dword [esp + 0x20], 0x3c
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], 1
call edi
cmp dword [0x43923c], ebx
je 0x40f05f
lea ecx, [esp + 0x5b8]
call fcn.00403de0
mov ecx, dword [0x4377ec]
add esi, 1
lea eax, [esi*4]
cmp dword [eax + ecx], ebx
jne 0x40eff1
jmp 0x40f0dc
mov esi, dword [esp + 0x470]
cmp esi, ebx
je 0x40f0dc
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebp, 0x140
push 0x3c
lea edx, [esp + 0x20]
push ebx
push edx
call fcn.00416890
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 0x3c
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x3c], 1
call edi
cmp dword [0x43923c], ebx
je 0x40f0d2
mov ecx, esi
call fcn.00403de0
mov esi, dword [esi + 0x820]
cmp esi, ebx
jne 0x40f090
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x40f0eb
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx + 8]
cmp edi, ebx
mov ebp, ecx
jle 0x40f113
mov esi, dword [ebp]
jmp 0x40f100
mov edx, dword [esi]
push edx
call fcn.00410f1a
add esp, 4
add esi, 4
sub edi, 1
jne 0x40f100
mov eax, dword [ebp]
push eax
call fcn.00410f1a
add esp, 4
push ebp
call fcn.00410f1a
mov eax, 0x439560
add esp, 4
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40f130
sub eax, edx
sar eax, 1
je 0x40f176
mov eax, 0x438bc0
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40f150
sub eax, edx
sar eax, 1
je 0x40f16b
push 0x438bc0
call fcn.004041c0
push 0x439560
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [esp + 0x470]
cmp eax, ebx
je 0x40f19d
mov esi, dword [eax + 0x820]
push eax
call fcn.00410f1a
add esp, 4
cmp esi, ebx
mov eax, esi
jne 0x40f181
mov dword [esp + 0x470], ebx
push 0x7f00
push ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [esp + 0xbd4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004104f3
add esp, 0xbcc
ret