Function at 0x431f10
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x46b21c]
mov ecx, str.:RepeatDEL___s_if_exist___s__goto_RepeatDEL___s_
push ebx
push esi
test ecx, ecx
push edi
mov dword [ebp - 8], eax
je 0x431f42
mov edx, ecx
shr edx, 0x10
jne 0x431f64
xor eax, eax
mov ax, cx
lea ecx, [ebp - 8]
push eax
call fcn.00402fe0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [0x483978]
mov eax, dword [esi - 0xc]
test eax, eax
jl 0x431f9f
mov dword [ebp - 4], esi
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x431fbc
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push str.:RepeatDEL___s_if_exist___s__goto_RepeatDEL___s_
call ebx
mov esi, eax
test esi, esi
je 0x431f48
push esi
lea ecx, [ebp - 8]
call fcn.00401ce0
test eax, eax
je 0x431f48
mov edi, dword [ebp - 8]
lea ecx, [esi + esi]
mov edx, ecx
mov esi, str.:RepeatDEL___s_if_exist___s__goto_RepeatDEL___s_
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x431f48
mov eax, dword [0x46b21c]
test esi, esi
mov dword [ebp - 4], eax
jne 0x431faf
xor eax, eax
jmp 0x431fb2
push esi
call ebx
push esi
push eax
lea ecx, [ebp - 4]
call fcn.004027f0
mov ecx, dword [0x46b21c]
mov edx, str._selfdestruct.bat
test edx, edx
mov dword [ebp - 0xc], ecx
jne 0x431fd2
xor eax, eax
jmp 0x431fd9
push str._selfdestruct.bat
call ebx
push str._selfdestruct.bat
push eax
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0xc]
push eax
mov eax, dword [eax - 8]
push eax
call fcn.00401eb0
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00429290
lea ecx, [ebp - 0xc]
call fcn.00401e80
mov eax, dword [ebp - 4]
mov ecx, dword [0x46b220]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x432030
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x432030
mov eax, dword [ebp - 4]
add eax, 0xfffffff4
push eax
call fcn.00459de2
add esp, 4
mov edx, dword [0x4837e4]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x218]
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x424], edx
rep stosd dword es:[edi], eax
mov ecx, 0x81
lea edi, [ebp - 0x420]
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, 0x81
lea edi, [ebp - 0x628]
mov dword [ebp - 0x62c], edx
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x424]
push ecx
push 0x104
call esi
lea edx, [ebp - 0x62c]
push edx
push 0x104
call esi
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x424]
push eax
push ecx
call fcn.0045a7b3
add esp, 8
lea edx, [ebp - 0x21c]
push 0x104
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x46b21c]
push ecx
mov edi, esp
lea ecx, [ebp - 0x21c]
test ecx, ecx
mov dword [edi], eax
je 0x432122
lea edx, [ebp - 0x21c]
shr edx, 0x10
jne 0x4320ee
xor eax, eax
lea ecx, [ebp - 0x21c]
mov ax, cx
mov ecx, edi
push eax
call fcn.00402fe0
jmp 0x432122
lea edx, [ebp - 0x21c]
push edx
call ebx
mov esi, eax
test esi, esi
je 0x432122
push esi
mov ecx, edi
call fcn.00401ce0
test eax, eax
je 0x432122
mov edi, dword [edi]
lea ecx, [esi + esi]
mov eax, ecx
lea esi, [ebp - 0x21c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x14]
push ecx
call fcn.004536f0
add esp, 8
lea edx, [ebp - 0x424]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x432223
mov eax, dword [0x46b21c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
push ecx
push eax
push eax
lea eax, [ebp - 4]
push edx
push eax
call fcn.004036a0
add esp, 0x14
lea ecx, [ebp - 4]
push 0x46b4d8
push 0x46cea8
call fcn.00403c70
mov ecx, dword [ebp - 4]
test ecx, ecx
mov edi, ecx
jne 0x432198
xor eax, eax
jmp 0x4321be
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
mov eax, esi
add eax, 3
and al, 0xfc
call fcn.0045a1f0
mov eax, esp
push 0
push esi
push edi
push eax
call fcn.004211d0
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx - 8]
lea edx, [ebp - 0xc]
push 0
push edx
push ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x62c]
push 0
push edx
lea eax, [ebp - 0x424]
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 4]
mov edx, dword [0x46b220]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x432223
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x432223
mov edx, dword [ebp - 4]
add edx, 0xfffffff4
push edx
call fcn.00459de2
add esp, 4
mov eax, dword [ebp - 0x14]
mov edx, dword [0x46b220]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x432250
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x432250
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff4
push edx
call fcn.00459de2
add esp, 4
mov eax, dword [ebp - 0x10]
mov edx, dword [0x46b220]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43227d
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43227d
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff4
push edx
call fcn.00459de2
add esp, 4
lea ecx, [ebp - 8]
call fcn.00401e80
lea esp, [ebp - 0x638]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret