Function at 0x402e1e
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x68]
mov eax, 0x1d04
call fcn.00406d30
mov eax, dword [0x4171b0]
xor eax, ebp
mov dword [ebp + 0x64], eax
push ebx
push esi
push edi
mov esi, ecx
push esi
push str._sShellNew
lea eax, [ebp - 0x1490]
push 0x400
push eax
mov dword [ebp - 0x1c98], esi
mov byte [0x41716c], 0x52
mov byte [0x417154], 0x50
call fcn.004055e3
add esp, 0x10
cmp byte [ebp + 0x70], 0
push esi
je 0x403104
call fcn.00401f95
mov edi, 0x412600
mov esi, 0x80000000
test al, al
jne 0x402f95
mov ebx, 0x200
push ebx
push edi
lea eax, [ebp - 0x890]
push eax
push edi
push dword [ebp - 0x1c98]
push esi
call fcn.00403ed0
push ebx
push edi
lea eax, [ebp - 0x490]
push eax
mov ebx, str.Content_Type
push ebx
push dword [ebp - 0x1c98]
push esi
call fcn.00403ed0
push 0x400
push edi
lea eax, [ebp - 0x1c90]
push eax
push str.FileName
lea eax, [ebp - 0x1490]
push eax
push esi
call fcn.00403ed0
push 0xa
push edi
lea eax, [ebp - 0x90]
push eax
push str.NullFile
lea eax, [ebp - 0x1490]
push eax
push esi
call fcn.00403ed0
push dword [ebp - 0x1c98]
mov byte [ebp - 0x1c91], al
push str.Setup_s
lea eax, [ebp - 0x7c]
push 0x50
push eax
call fcn.004055e3
add esp, 0x10
push dword [ebp - 0x1c98]
push esi
call fcn.00403ced
movzx eax, al
push eax
push str.Exist
lea eax, [ebp - 0x7c]
push eax
call fcn.0040402d
lea eax, [ebp - 0x890]
push eax
push str.Type
lea eax, [ebp - 0x7c]
push eax
call fcn.00404014
lea eax, [ebp - 0x490]
push eax
push 0x412e3c
lea eax, [ebp - 0x7c]
push eax
call fcn.00404014
cmp word [ebp - 0x1c90], 0
jne 0x402f8c
cmp byte [ebp - 0x1c91], 0
je 0x402f8c
push 0x412e38
push str.ShellNew
lea eax, [ebp - 0x7c]
push eax
call fcn.00404014
jmp 0x402f9a
lea eax, [ebp - 0x1c90]
push eax
jmp 0x402f7c
mov ebx, str.Content_Type
cmp byte [ebp + 0x7c], 0
mov eax, str.WinRAR.ZIP
jne 0x402faa
mov eax, 0x4125f0
push eax
push edi
push dword [ebp - 0x1c98]
push esi
call fcn.00403e47
push ebx
push dword [ebp - 0x1c98]
push esi
call fcn.00403c36
cmp byte [ebp + 0x78], 0
je 0x403033
call fcn.0040381f
neg eax
sbb eax, eax
and dword [ebp - 0x1c98], 0
and eax, 0xffffffba
add eax, 0x64
mov dword [ebp - 0x1c9c], eax
test eax, eax
jle 0x403033
push dword [ebp - 0x1c98]
lea eax, [ebp + 0x24]
push str..r_02d
push 0x20
push eax
call fcn.004055e3
add esp, 0x10
push 0x4125f0
push edi
lea eax, [ebp + 0x24]
push eax
push esi
call fcn.00403e47
push ebx
lea eax, [ebp + 0x24]
push eax
push esi
call fcn.00403c36
inc dword [ebp - 0x1c98]
mov eax, dword [ebp - 0x1c98]
cmp eax, dword [ebp - 0x1c9c]
jl 0x402feb
cmp byte [ebp + 0x74], 0
je 0x4032ff
cmp byte [ebp + 0x7c], 0
jne 0x40304d
cmp byte [ebp + 0x78], 0
je 0x4032ff
lea eax, [ebp - 0x1490]
push eax
push esi
call fcn.00403be9
push 0x400
lea eax, [ebp - 0xc90]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp byte [ebp + 0x78], 0
mov eax, str.rarnew.dat
jne 0x40307e
mov eax, str.zipnew.dat
push eax
lea eax, [ebp - 0xc90]
push eax
call fcn.0040390c
push eax
call fcn.00406636
pop ecx
pop ecx
lea eax, [ebp - 0xc90]
push eax
call fcn.004018fe
test al, al
jne 0x4030e6
push 0
push 0x412de0
lea eax, [ebp - 0xc90]
push eax
call fcn.00401a9b
mov edi, eax
test edi, edi
je 0x4030e6
cmp byte [ebp + 0x78], 0
push edi
je 0x4030ce
push 0x14
push 1
push 0x41716c
jmp 0x4030d7
push 0x16
push 1
push 0x417154
call fcn.00407a11
add esp, 0x10
push edi
call fcn.00407833
pop ecx
lea eax, [ebp - 0xc90]
push eax
push str.FileName
lea eax, [ebp - 0x1490]
push eax
push esi
call fcn.00403e47
jmp 0x4032ff
push str.Setup_s
lea eax, [ebp - 0x7c]
push 0x50
push eax
call fcn.004055e3
add esp, 0x10
push esi
call fcn.00401f95
test al, al
je 0x4032ff
push 1
push str.Exist
lea eax, [ebp - 0x7c]
push eax
call fcn.00404066
test eax, eax
mov ebx, 0x200
push ebx
mov edi, 0x412600
push edi
lea eax, [ebp - 0x490]
push eax
push str.Type
lea eax, [ebp - 0x7c]
push eax
setne byte [ebp - 0x1c91]
call fcn.00404046
push 0x4125f0
lea eax, [ebp - 0x490]
push eax
call fcn.00404f3a
test eax, eax
je 0x403189
push str.WinRAR.ZIP
lea eax, [ebp - 0x490]
push eax
call fcn.00404f3a
test eax, eax
jne 0x403192
xor eax, eax
mov word [ebp - 0x490], ax
push ebx
push edi
lea eax, [ebp - 0x890]
push eax
push 0x412e3c
lea eax, [ebp - 0x7c]
push eax
call fcn.00404046
cmp byte [ebp - 0x1c91], 0
je 0x403260
lea eax, [ebp - 0x490]
push eax
push edi
push esi
mov esi, 0x80000000
push esi
call fcn.00403e47
cmp word [ebp - 0x890], 0
je 0x4031ee
lea eax, [ebp - 0x890]
push eax
push str.Content_Type
push dword [ebp - 0x1c98]
push esi
call fcn.00403e47
jmp 0x4031ff
push str.Content_Type
push dword [ebp - 0x1c98]
push esi
call fcn.00403c36
push 0x400
push edi
lea eax, [ebp - 0x1c90]
push eax
push str.ShellNew
lea eax, [ebp - 0x7c]
push eax
call fcn.00404046
mov ebx, str.FileName
push ebx
lea eax, [ebp - 0x1490]
push eax
push esi
call fcn.00403c36
cmp word [ebp - 0x1c90], 0
je 0x40328c
cmp word [ebp - 0x1c90], 0x2a
jne 0x403249
push edi
push str.NullFile
jmp 0x403251
lea eax, [ebp - 0x1c90]
push eax
push ebx
lea eax, [ebp - 0x1490]
push eax
push esi
call fcn.00403e47
jmp 0x40328c
lea eax, [ebp - 0x1490]
push eax
mov esi, 0x80000000
push esi
call fcn.00403be9
push edi
push edi
push dword [ebp - 0x1c98]
push esi
call fcn.00403e47
push dword [ebp - 0x1c98]
push esi
call fcn.00403be9
cmp byte [ebp + 0x78], 0
je 0x4032ff
xor ebx, ebx
push ebx
push str..r_02d
lea eax, [ebp + 0x24]
push 0x20
push eax
call fcn.004055e3
add esp, 0x10
cmp byte [ebp - 0x1c91], 0
je 0x4032ef
cmp word [ebp - 0x490], 0
je 0x4032ef
lea eax, [ebp - 0x490]
push eax
push edi
lea eax, [ebp + 0x24]
push eax
push esi
call fcn.00403e47
cmp word [ebp - 0x890], 0
je 0x4032f9
lea eax, [ebp - 0x890]
push eax
push str.Content_Type
lea eax, [ebp + 0x24]
push eax
push esi
call fcn.00403e47
jmp 0x4032f9
lea eax, [ebp + 0x24]
push eax
push esi
call fcn.00403be9
inc ebx
cmp ebx, 0x64
jl 0x403294
mov ecx, dword [ebp + 0x64]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406d1a
add ebp, 0x68
leave
ret 0x10