Function at 0x402dcb
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x68]
mov eax, 0x1d04
call fcn.00406900
mov eax, dword [0x4161a0]
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 [0x416160], 0x52
mov byte [0x416148], 0x50
call fcn.00402123
add esp, 0x10
cmp byte [ebp + 0x70], 0
push esi
je 0x4030b1
call fcn.00401f06
mov edi, 0x411610
mov esi, 0x80000000
test al, al
jne 0x402f42
mov ebx, 0x200
push ebx
push edi
lea eax, [ebp - 0x890]
push eax
push edi
push dword [ebp - 0x1c98]
push esi
call fcn.00403ed3
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.00403ed3
push 0x400
push edi
lea eax, [ebp - 0x1c90]
push eax
push str.FileName
lea eax, [ebp - 0x1490]
push eax
push esi
call fcn.00403ed3
push 0xa
push edi
lea eax, [ebp - 0x90]
push eax
push str.NullFile
lea eax, [ebp - 0x1490]
push eax
push esi
call fcn.00403ed3
push dword [ebp - 0x1c98]
mov byte [ebp - 0x1c91], al
push str.Setup_s
lea eax, [ebp - 0x7c]
push 0x50
push eax
call fcn.00402123
add esp, 0x10
push dword [ebp - 0x1c98]
push esi
call fcn.00403cf0
movzx eax, al
push eax
push str.Exist
lea eax, [ebp - 0x7c]
push eax
call fcn.00403ff2
lea eax, [ebp - 0x890]
push eax
push str.Type
lea eax, [ebp - 0x7c]
push eax
call fcn.00403fd9
lea eax, [ebp - 0x490]
push eax
push 0x411e4c
lea eax, [ebp - 0x7c]
push eax
call fcn.00403fd9
cmp word [ebp - 0x1c90], 0
jne 0x402f39
cmp byte [ebp - 0x1c91], 0
je 0x402f39
push 0x411e48
push str.ShellNew
lea eax, [ebp - 0x7c]
push eax
call fcn.00403fd9
jmp 0x402f47
lea eax, [ebp - 0x1c90]
push eax
jmp 0x402f29
mov ebx, str.Content_Type
cmp byte [ebp + 0x7c], 0
mov eax, str.WinRAR.ZIP
jne 0x402f57
mov eax, 0x411600
push eax
push edi
push dword [ebp - 0x1c98]
push esi
call fcn.00403e4a
push ebx
push dword [ebp - 0x1c98]
push esi
call fcn.00403c39
cmp byte [ebp + 0x78], 0
je 0x402fe0
call fcn.004037cc
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 0x402fe0
push dword [ebp - 0x1c98]
lea eax, [ebp + 0x24]
push str..r_02d
push 0x20
push eax
call fcn.00402123
add esp, 0x10
push 0x411600
push edi
lea eax, [ebp + 0x24]
push eax
push esi
call fcn.00403e4a
push ebx
lea eax, [ebp + 0x24]
push eax
push esi
call fcn.00403c39
inc dword [ebp - 0x1c98]
mov eax, dword [ebp - 0x1c98]
cmp eax, dword [ebp - 0x1c9c]
jl 0x402f98
cmp byte [ebp + 0x74], 0
je 0x4032ac
cmp byte [ebp + 0x7c], 0
jne 0x402ffa
cmp byte [ebp + 0x78], 0
je 0x4032ac
lea eax, [ebp - 0x1490]
push eax
push esi
call fcn.00403bec
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 0x40302b
mov eax, str.zipnew.dat
push eax
lea eax, [ebp - 0xc90]
push eax
call fcn.0040390f
push eax
call fcn.00406562
pop ecx
pop ecx
lea eax, [ebp - 0xc90]
push eax
call fcn.00401890
test al, al
jne 0x403093
push 0
push 0x411df0
lea eax, [ebp - 0xc90]
push eax
call fcn.00401a0c
mov edi, eax
test edi, edi
je 0x403093
cmp byte [ebp + 0x78], 0
push edi
je 0x40307b
push 0x14
push 1
push 0x416160
jmp 0x403084
push 0x16
push 1
push 0x416148
call fcn.004075c8
add esp, 0x10
push edi
call fcn.004073ec
pop ecx
lea eax, [ebp - 0xc90]
push eax
push str.FileName
lea eax, [ebp - 0x1490]
push eax
push esi
call fcn.00403e4a
jmp 0x4032ac
push str.Setup_s
lea eax, [ebp - 0x7c]
push 0x50
push eax
call fcn.00402123
add esp, 0x10
push esi
call fcn.00401f06
test al, al
je 0x4032ac
push 1
push str.Exist
lea eax, [ebp - 0x7c]
push eax
call fcn.0040402b
test eax, eax
mov ebx, 0x200
push ebx
mov edi, 0x411610
push edi
lea eax, [ebp - 0x490]
push eax
push str.Type
lea eax, [ebp - 0x7c]
push eax
setne byte [ebp - 0x1c91]
call fcn.0040400b
push 0x411600
lea eax, [ebp - 0x490]
push eax
call fcn.00404e81
test eax, eax
je 0x403136
push str.WinRAR.ZIP
lea eax, [ebp - 0x490]
push eax
call fcn.00404e81
test eax, eax
jne 0x40313f
xor eax, eax
mov word [ebp - 0x490], ax
push ebx
push edi
lea eax, [ebp - 0x890]
push eax
push 0x411e4c
lea eax, [ebp - 0x7c]
push eax
call fcn.0040400b
cmp byte [ebp - 0x1c91], 0
je 0x40320d
lea eax, [ebp - 0x490]
push eax
push edi
push esi
mov esi, 0x80000000
push esi
call fcn.00403e4a
cmp word [ebp - 0x890], 0
je 0x40319b
lea eax, [ebp - 0x890]
push eax
push str.Content_Type
push dword [ebp - 0x1c98]
push esi
call fcn.00403e4a
jmp 0x4031ac
push str.Content_Type
push dword [ebp - 0x1c98]
push esi
call fcn.00403c39
push 0x400
push edi
lea eax, [ebp - 0x1c90]
push eax
push str.ShellNew
lea eax, [ebp - 0x7c]
push eax
call fcn.0040400b
mov ebx, str.FileName
push ebx
lea eax, [ebp - 0x1490]
push eax
push esi
call fcn.00403c39
cmp word [ebp - 0x1c90], 0
je 0x403239
cmp word [ebp - 0x1c90], 0x2a
jne 0x4031f6
push edi
push str.NullFile
jmp 0x4031fe
lea eax, [ebp - 0x1c90]
push eax
push ebx
lea eax, [ebp - 0x1490]
push eax
push esi
call fcn.00403e4a
jmp 0x403239
lea eax, [ebp - 0x1490]
push eax
mov esi, 0x80000000
push esi
call fcn.00403bec
push edi
push edi
push dword [ebp - 0x1c98]
push esi
call fcn.00403e4a
push dword [ebp - 0x1c98]
push esi
call fcn.00403bec
cmp byte [ebp + 0x78], 0
je 0x4032ac
xor ebx, ebx
push ebx
push str..r_02d
lea eax, [ebp + 0x24]
push 0x20
push eax
call fcn.00402123
add esp, 0x10
cmp byte [ebp - 0x1c91], 0
je 0x40329c
cmp word [ebp - 0x490], 0
je 0x40329c
lea eax, [ebp - 0x490]
push eax
push edi
lea eax, [ebp + 0x24]
push eax
push esi
call fcn.00403e4a
cmp word [ebp - 0x890], 0
je 0x4032a6
lea eax, [ebp - 0x890]
push eax
push str.Content_Type
lea eax, [ebp + 0x24]
push eax
push esi
call fcn.00403e4a
jmp 0x4032a6
lea eax, [ebp + 0x24]
push eax
push esi
call fcn.00403bec
inc ebx
cmp ebx, 0x64
jl 0x403241
mov ecx, dword [ebp + 0x64]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004068ab
add ebp, 0x68
leave
ret 0x10