Function at 0x40e2f0
Capabilities:
Create process on windows
Read .ini file
Self delete
Set file attributes
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0x434
push ebx
push ebp
push esi
mov dword [esp + 0x10], ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x23d]
mov byte [esp + 0x23c], 0
mov byte [esp + 0x138], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x139]
mov byte [esp + 0x34], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x35]
mov byte [esp + 0x340], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x341]
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x344]
push eax
call fcn.004104d0
add esp, 8
lea ecx, [esp + 0x340]
push str.DelSelf.bat
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [0x4350b8]
mov edx, 0x43965c
mov ebx, eax
mov dword [esp + 0x10], eax
test edx, edx
mov dword [esp + 0x2c], ebx
je 0x40e3be
mov eax, edx
shr eax, 0x10
jne 0x40e42f
xor ecx, ecx
mov cx, dx
push ecx
lea ecx, [esp + 0x14]
call fcn.00409820
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x4397f8
push 0
push str.RemoveFolder
push str.UNINSTALL
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0x4397f8
mov dword [esp + 0x1c], eax
call fcn.00423590
add esp, 4
lea ecx, [esp + 0x340]
push 0
push 0
push 2
push 0
push 1
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
test eax, eax
mov dword [esp + 0x20], eax
je 0x40e8ce
lea edx, [esp + 0x34]
push str.:repeat_r_n
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x34]
test eax, eax
jne 0x40e472
jmp 0x40e479
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x43965c
call ebp
mov esi, eax
test esi, esi
je 0x40e3c4
push esi
lea ecx, [esp + 0x14]
call fcn.00401dd0
test eax, eax
je 0x40e3c4
mov edi, dword [esp + 0x10]
mov ecx, esi
mov eax, ecx
mov esi, 0x43965c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x40e3c4
lea ecx, [esp + 0x34]
push ecx
call ebp
lea edx, [esp + 0x34]
lea ecx, [esp + 0x10]
push edx
push eax
call fcn.00404650
push 0x43a5d2
push 0x439eb6
lea eax, [esp + 0x244]
push str._sUPDATE_s
push eax
call fcn.00426b7c
mov esi, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
add esp, 0x10
lea ecx, [esp + 0x138]
lea edx, [esp + 0x23c]
push 0x104
push ecx
push edx
call esi
lea edi, [esp + 0x138]
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40e54f
lea eax, [esp + 0x138]
lea ecx, [esp + 0x34]
push eax
push str.del__s__q__f__s_r_n
push ecx
call ebx
lea edx, [esp + 0x40]
add esp, 0xc
test edx, edx
jne 0x40e500
xor eax, eax
jmp 0x40e507
lea eax, [esp + 0x34]
push eax
call ebp
lea ecx, [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00404650
lea edx, [esp + 0x138]
lea eax, [esp + 0x34]
push edx
push str.if_exist__s_goto_repeat_r_n
push eax
call ebx
lea ecx, [esp + 0x40]
add esp, 0xc
test ecx, ecx
jne 0x40e539
xor eax, eax
jmp 0x40e540
lea edx, [esp + 0x34]
push edx
call ebp
lea ecx, [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00404650
lea edx, [esp + 0x23c]
push 0x5c
push edx
call fcn.00425000
add esp, 8
mov byte [eax], 0
lea eax, [esp + 0x138]
lea ecx, [esp + 0x23c]
push 0x104
push eax
push ecx
call esi
lea edi, [esp + 0x138]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0xb
jb 0x40e5ca
lea edx, [esp + 0x138]
lea eax, [esp + 0x34]
push edx
push str.rd__s__q__s_r_n
push eax
call ebx
lea ecx, [esp + 0x40]
add esp, 0xc
test ecx, ecx
jne 0x40e5b4
xor eax, eax
jmp 0x40e5bb
lea edx, [esp + 0x34]
push edx
call ebp
lea ecx, [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00404650
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40e67a
lea edx, [esp + 0x23c]
push 0x5c
push edx
call fcn.00425000
add esp, 8
test eax, eax
je 0x40e67a
lea eax, [esp + 0x23c]
push 0x5c
push eax
call fcn.00425000
add esp, 8
lea ecx, [esp + 0x23c]
mov byte [eax], 0
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [esp + 0x138]
push 0x104
lea eax, [esp + 0x240]
push edx
push eax
call esi
lea edi, [esp + 0x138]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 4
jb 0x40e67a
lea ecx, [esp + 0x138]
lea edx, [esp + 0x34]
push ecx
push str.rd__s__q__s_r_n
push edx
call ebx
lea eax, [esp + 0x40]
add esp, 0xc
test eax, eax
je 0x40e66b
lea ecx, [esp + 0x34]
push ecx
call ebp
lea edx, [esp + 0x34]
lea ecx, [esp + 0x10]
push edx
push eax
call fcn.00404650
mov eax, dword [esp + 0x14]
mov cl, byte [eax + 0x251]
test cl, cl
jne 0x40e858
mov ecx, str.__s__q__f
test ecx, ecx
je 0x40e845
push ecx
call ebp
mov ebx, eax
test ebx, ebx
je 0x40e845
mov edx, 0x435914
test edx, edx
jne 0x40e6b5
mov dword [esp + 0x14], edx
jmp 0x40e6c0
push 0x435914
call ebp
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x10]
xor edi, edi
mov ebp, dword [esi - 8]
add ebp, esi
cmp esi, ebp
jae 0x40e83f
push str.__s__q__f
push esi
call fcn.00427aec
add esp, 8
test eax, eax
je 0x40e6fb
lea esi, [eax + ebx]
push str.__s__q__f
push esi
inc edi
call fcn.00427aec
add esp, 8
test eax, eax
jne 0x40e6e5
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
cmp esi, ebp
jb 0x40e6d3
test edi, edi
jle 0x40e83f
lea ecx, [esp + 0x10]
call fcn.004094c0
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
sub ebp, ebx
imul ebp, edi
mov eax, dword [esi - 8]
mov dword [esp + 0x18], eax
add ebp, eax
mov eax, dword [esi - 4]
mov dword [esp + 0x24], ebp
cmp eax, ebp
jl 0x40e742
cmp dword [esi - 0xc], 1
jle 0x40e795
lea edi, [esi - 0xc]
push ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], edi
call fcn.00401dd0
test eax, eax
je 0x40e83f
mov ecx, dword [edi + 4]
mov edi, dword [esp + 0x10]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
mov eax, dword [0x4350bc]
cmp esi, eax
je 0x40e791
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40e791
push esi
call fcn.00426ac0
add esp, 4
mov esi, dword [esp + 0x10]
mov eax, dword [esi - 8]
add eax, esi
cmp esi, eax
mov dword [esp + 0x28], eax
jae 0x40e83c
push str.__s__q__f
push esi
call fcn.00427aec
mov edi, eax
add esp, 8
test edi, edi
je 0x40e821
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
sub ebp, edi
sub ebp, ebx
lea ecx, [edi + ebx]
add ebp, edx
lea eax, [edi + esi]
push ebp
push ecx
push eax
mov dword [esp + 0x28], eax
call fcn.00427720
mov ecx, esi
mov esi, 0x435914
mov edx, ecx
push str.__s__q__f
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
sub eax, ebx
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x2c]
push esi
mov byte [esi + ebp], 0
mov ebp, dword [esp + 0x2c]
add ebp, eax
mov dword [esp + 0x2c], ebp
call fcn.00427aec
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x40e7ba
mov ebp, dword [esp + 0x24]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
mov eax, dword [esp + 0x28]
cmp esi, eax
jb 0x40e7a6
mov esi, dword [esp + 0x10]
mov dword [esi - 8], ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
push str.deltree__y
push str.rd__s__q
lea ecx, [esp + 0x18]
call fcn.004095a0
lea ecx, [esp + 0x34]
push str.del__0_r_n
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x34]
test edx, edx
jne 0x40e874
xor eax, eax
jmp 0x40e87b
lea eax, [esp + 0x34]
push eax
call ebp
lea ecx, [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00404650
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x30]
push 0
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x4358ec
lea edx, [esp + 0x348]
push 0
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
mov edx, dword [0x4350bc]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x40e8fd
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40e8fd
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00426ac0
add esp, 4
mov ecx, dword [0x4350bc]
lea eax, [ebx - 0xc]
cmp eax, ecx
je 0x40e921
lea esi, [ebx - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40e921
push esi
call fcn.00426ac0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x434
ret