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

Disassembly:
mov eax, 0x420a7c
call fcn.00414f70
sub esp, 0x814
mov eax, dword [0x434820]
push ebx
push esi
push edi
mov dword [ebp - 0x820], eax
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x81c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x820]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x13
call fcn.0040bbd0
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00401126
xor ebx, ebx
push 0x42678c
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.0040117e
mov esi, dword [eax]
push 0x43064c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0040117e
mov eax, dword [eax]
push esi
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0040153e
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00401cbe
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00401cbe
lea eax, [ebp - 0x820]
push str.translate_
push eax
call fcn.004164cb
push dword [ebp - 0x18]
lea eax, [ebp - 0x820]
push eax
call fcn.004164cb
lea eax, [ebp - 0x820]
push str..txt
push eax
call fcn.004164cb
add esp, 0x18
lea eax, [ebp - 0x820]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x10]
call fcn.004010db
push str._r_nPlease_dont_forget__Write_in_e_mail_subject:_Strings_for:
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0040130a
push 0x13
call fcn.0040bbd0
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0040130a
push str._and_Language_Name_:_German___Deutsch
lea ecx, [ebp - 0x10]
call fcn.0040130a
mov esi, 0x426ba8
lea ecx, [ebp - 0x10]
push esi
call fcn.0040130a
push esi
lea ecx, [ebp - 0x10]
call fcn.0040130a
push 0x19
call fcn.0040bbd0
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0040130a
push esi
lea ecx, [ebp - 0x10]
call fcn.0040130a
push esi
lea ecx, [ebp - 0x10]
call fcn.0040130a
push 0x430554
lea ecx, [ebp - 0x10]
call fcn.0040130a
push dword [0x4350f8]
lea ecx, [ebp - 0x10]
call fcn.0040130a
push esi
lea ecx, [ebp - 0x10]
call fcn.0040130a
push esi
lea ecx, [ebp - 0x10]
call fcn.0040130a
push 0x487620
lea ecx, [ebp - 0x10]
call fcn.004012ec
push esi
lea ecx, [ebp - 0x10]
call fcn.0040130a
push esi
lea ecx, [ebp - 0x10]
call fcn.0040130a
push ebx
push 0x80
push 4
push ebx
push 1
lea eax, [ebp - 0x820]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40d7b3
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x14]
push ebx
push eax
lea eax, [ebp - 0x1c]
push 2
push eax
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], 0xfeff
call esi
lea ecx, [ebp - 0x10]
call fcn.00401bdc
lea ecx, [ebp - 0x14]
push ebx
push ecx
push eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], ebx
call fcn.004156ff
pop ecx
shl eax, 1
push eax
push dword [ebp - 0x20]
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 5
push ebx
lea eax, [ebp - 0x820]
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00401cbe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401cbe
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret