Function at 0x40bd90
Capabilities:
Create process on windows
Delete directory
Delete file

Disassembly:
sub esp, 0xbcc
mov eax, dword [0x42827c]
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.004130d0
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 [0x431670], bl
mov word [0x431d60], bx
mov dword [0x430284], ebx
call fcn.004130d0
add esp, 0xc
mov dword [esp + 0x470], ebx
call fcn.00403640
cmp dword [0x42fde0], ebx
mov dword [esp + 0x14], eax
jne 0x40c2de
call fcn.0040caf0
test eax, eax
je 0x40c21c
mov dword [0x430298], ebx
call fcn.00408110
cmp dword [0x430298], 1
mov esi, eax
jne 0x40be3a
call fcn.0040b950
cmp dword [0x42fde0], ebx
jne 0x40c22b
test byte [0x431670], 4
mov ebp, dword [sym.imp.USER32.dll_LoadStringW]
jne 0x40bebe
mov eax, dword [0x42fdd0]
push 0x40
lea edx, [esp + 0x4bc]
push edx
push 3
push eax
call ebp
mov edx, dword [0x42fdd0]
push 0x40
lea ecx, [esp + 0x53c]
push ecx
push 2
push edx
call ebp
cmp dword [0x4302a4], ebx
jne 0x40beb6
call fcn.004036d0
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.00403c30
add esp, 0xc
xor ebx, ebx
mov dword [esp + 0x18], eax
xor edi, edi
jmp 0x40bec2
mov dword [esp + 0x18], ebx
xor edi, edi
jmp 0x40bec2
mov edi, dword [esp + 0x14]
call fcn.00405eb0
test eax, eax
jne 0x40bedd
mov ebx, dword [0x4302d4]
call fcn.00405e60
xor ebx, ebx
jmp 0x40c21c
test byte [0x431670], 4
jne 0x40bf06
mov ecx, 0x42f9b8
call fcn.004068d0
test eax, eax
jne 0x40bf26
mov ebx, dword [0x4302d4]
call fcn.00405e60
xor ebx, ebx
jmp 0x40c21c
mov ecx, 0x431680
call fcn.004068d0
test eax, eax
jne 0x40bf26
mov ebx, dword [0x4302d4]
call fcn.00405e60
xor ebx, ebx
jmp 0x40c22b
push 0x208
lea ecx, [esp + 0x7c4]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [0x4302d4]
xor esi, esi
cmp dword [ecx], ebx
je 0x40bf83
xor eax, eax
jmp 0x40bf50
mov edx, dword [eax + ecx]
add edx, 0x418
push edx
lea eax, [esp + 0x7c4]
push eax
call fcn.004121a2
add esp, 8
test eax, eax
je 0x40bfbe
mov ecx, dword [0x4302d4]
add esi, 1
lea eax, [esi*4]
cmp dword [eax + ecx], ebx
jne 0x40bf50
test byte [0x431670], 4
jne 0x40c022
mov edx, dword [esp + 0x18]
push edi
call fcn.00406c10
add esp, 4
test eax, eax
jne 0x40c016
mov ebx, dword [0x4302d4]
call fcn.00406ad0
mov ebx, dword [0x4302d4]
call fcn.00405e60
xor ebx, ebx
jmp 0x40c21c
push 0x104
push str....._src_sfslfdec_sfmkcore.c
push 0x430070
mov dword [0x42fde0], 0xffffef2f
mov word [0x42fe68], bx
mov dword [0x42fde4], ebx
mov word [0x43006e], bx
call fcn.0040d045
mov word [0x430276], bx
mov ebx, dword [0x4302d4]
add esp, 0xc
mov dword [0x430278], 0x10cc
call fcn.00405e60
xor ebx, ebx
jmp 0x40c21c
mov ecx, dword [0x4302d4]
push ebx
jmp 0x40c0e4
call fcn.00409db0
test eax, eax
jne 0x40c22b
cmp dword [0x4302a4], ebx
jne 0x40c0b0
mov edx, dword [0x42fdd0]
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.00409ec0
add esp, 4
test eax, eax
je 0x40c22b
cmp dword [0x42fde0], ebx
jne 0x40c22b
call fcn.00409bb0
cmp eax, 1
jne 0x40c22b
lea ecx, [esp + 0x58]
push ecx
call fcn.0040b2c0
add esp, 4
cmp eax, 1
lea ecx, [esp + 0x58]
je 0x40c0e2
call fcn.00408f30
lea edi, [esp + 0x58]
call fcn.00409060
jmp 0x40c22b
mov ecx, dword [0x4302d4]
push ebx
xor edx, edx
call fcn.00406c10
add esp, 4
test eax, eax
jne 0x40c06d
mov ebx, dword [0x4302d4]
call fcn.00406ad0
mov ebx, dword [0x4302d4]
call fcn.00405e60
xor ebx, ebx
jmp 0x40c22b
push 1
lea edx, [esp + 0x7c4]
call fcn.0040c580
add esp, 4
cmp dword [0x4302a4], ebx
je 0x40c21c
test byte [0x431670], 4
jne 0x40c1ba
mov ecx, dword [0x4302d4]
cmp ecx, ebx
je 0x40c21c
xor esi, esi
cmp dword [ecx], ebx
je 0x40c21c
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 0x40c140
push 0x3c
lea edx, [esp + 0x20]
push ebx
push edx
call fcn.004130d0
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 [0x431cdc], ebx
je 0x40c19f
lea ecx, [esp + 0x5b8]
call fcn.00402cd0
mov ecx, dword [0x4302d4]
add esi, 1
lea eax, [esi*4]
cmp dword [eax + ecx], ebx
jne 0x40c131
jmp 0x40c21c
mov esi, dword [esp + 0x470]
cmp esi, ebx
je 0x40c21c
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebp, 0x140
push 0x3c
lea edx, [esp + 0x20]
push ebx
push edx
call fcn.004130d0
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 [0x431cdc], ebx
je 0x40c212
mov ecx, esi
call fcn.00402cd0
mov esi, dword [esi + 0x820]
cmp esi, ebx
jne 0x40c1d0
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x40c22b
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 0x40c253
mov esi, dword [ebp]
jmp 0x40c240
mov edx, dword [esi]
push edx
call fcn.0040da51
add esp, 4
add esi, 4
sub edi, 1
jne 0x40c240
mov eax, dword [ebp]
push eax
call fcn.0040da51
add esp, 4
push ebp
call fcn.0040da51
mov eax, 0x432000
add esp, 4
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40c270
sub eax, edx
sar eax, 1
je 0x40c2b7
mov eax, 0x431680
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40c290
sub eax, edx
sar eax, 1
je 0x40c2ac
push 0x431680
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x432000
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [esp + 0x470]
cmp eax, ebx
je 0x40c2de
mov esi, dword [eax + 0x820]
push eax
call fcn.0040da51
add esp, 4
cmp esi, ebx
mov eax, esi
jne 0x40c2c2
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.0040d036
add esp, 0xbcc
ret