Function at 0x4095c0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0657
mov eax, dword fs:[0]
push eax
sub esp, 0x358
mov eax, dword [0x508274]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2b8], esi
push 0x208
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x2ac], 0
push 0
push eax
call fcn.0047c870
add esp, 0xc
lea eax, [ebp - 0x25c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor eax, eax
mov dword [ebp - 0x27c], 0
mov word [ebp - 0x28c], ax
lea ecx, [ebp - 0x28c]
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x278], 7
push eax
call fcn.0040f5d0
push str.repair.7z
lea eax, [ebp - 0x25c]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.0040a750
mov ecx, eax
test ecx, ecx
je 0x40a2a5
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x2cc], edi
mov byte [ebp - 4], 1
call fcn.0040a750
mov ecx, eax
test ecx, ecx
je 0x40a2af
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2c8], eax
lea eax, [ebp - 0x25c]
mov byte [ebp - 4], 2
test eax, 0xffff0000
jne 0x4096e2
movzx eax, ax
lea ecx, [ebp - 0x2c8]
push eax
call fcn.0040b680
jmp 0x409712
lea ecx, [ebp - 0x25c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4096f0
sub ecx, edx
lea eax, [ebp - 0x25c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c8]
call fcn.0040d470
add esi, 0x54
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 8
jb 0x409721
mov esi, dword [esi]
call fcn.0040a750
mov ecx, eax
test ecx, ecx
je 0x40a2b9
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2bc], eax
mov byte [ebp - 4], 4
test esi, esi
je 0x409777
test esi, 0xffff0000
jne 0x409761
movzx eax, si
lea ecx, [ebp - 0x2bc]
push eax
call fcn.0040b680
jmp 0x409786
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409766
sub ecx, edx
sar ecx, 1
jmp 0x409779
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0x2bc]
call fcn.0040d470
push 0x20
mov byte [ebp - 4], 5
call fcn.00472ea3
mov esi, eax
add esp, 4
mov dword [ebp - 0x2ac], esi
test esi, esi
je 0x40980d
mov dword [esi], vtable.CHttpTaskAdapterDownloadFile.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.0040a750
mov ecx, eax
test ecx, ecx
je 0x40a2c3
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0
call fcn.0040a750
mov ecx, eax
test ecx, ecx
je 0x40a2cd
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
push 0
push 0
push 1
add eax, 0x10
push 0
mov dword [esi + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x10], eax
jmp 0x40980f
xor esi, esi
push dword [ebp - 0x2ac]
lea ecx, [ebp - 0x2c4]
mov dword [ebp - 0x2c4], 0
push esi
mov dword [ebp - 0x2c0], 0
call fcn.00406890
mov byte [ebp - 4], 6
call fcn.0040a620
mov esi, dword [ebp - 0x2bc]
mov ecx, dword [eax + 0xc]
or eax, 0xffffffff
test ecx, ecx
je 0x4099cb
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov dword [ebp - 0x2ac], eax
test eax, eax
je 0x4099c8
mov edx, dword [eax]
mov ecx, eax
push 0
push str.ungzip
call dword [edx + 0x30]
mov ecx, dword [ebp - 0x2ac]
push 0
push str.gzip
mov eax, dword [ecx]
call dword [eax + 0x30]
mov eax, dword [ebp - 0x2ac]
test eax, eax
je 0x4099c8
push dword [ebp - 0x2ac]
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 0x2b4], 0
push eax
mov dword [ebp - 0x2b0], 0
call fcn.004069d0
mov edx, dword [ebp - 0x2c4]
mov eax, dword [ebp - 0x2b4]
mov dword [edx + 4], eax
mov ecx, dword [edx + 8]
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x2ac], ecx
mov dword [edx + 8], eax
test ecx, ecx
je 0x409908
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x409908
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x2ac]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x409902
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c4]
mov ecx, dword [edx + 4]
push edx
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebp - 0x2c4]
push dword [ebp - 0x2c8]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov eax, dword [ebp - 0x2c4]
push 0x258
push str.timeout
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov eax, dword [ebp - 0x2c4]
push esi
push 1
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
test eax, eax
je 0x4099c8
mov eax, dword [ebp - 0x2c4]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4099c8
push 0x92f90
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4099c8
mov eax, dword [ebp - 0x2c4]
cmp dword [eax + 0xc], 0
je 0x4099c8
add eax, 0x14
lea ecx, [ebp - 0x2cc]
push eax
call fcn.00408470
mov ecx, dword [ebp - 0x2c0]
test ecx, ecx
je 0x4099b9
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x4099b9
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x2c0]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x4099b9
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x2cc]
mov byte [ebp - 0x2a5], 1
jmp 0x4099fc
or eax, 0xffffffff
mov ecx, dword [ebp - 0x2c0]
test ecx, ecx
je 0x4099f5
lock xadd dword [ecx + 4], eax
jne 0x4099f5
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x2c0]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x4099f5
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 0x2a5], 0
lea edx, [esi - 0x10]
mov byte [ebp - 4], 3
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409a1a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2c8]
mov eax, esi
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x409a3b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x2a5], 0
jne 0x409b19
lea eax, [ebp - 0x2b4]
push eax
call fcn.004166a0
add esp, 4
mov ecx, dword [eax]
mov byte [ebp - 4], 7
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov edx, dword [ebp - 0x2b0]
mov byte [ebp - 0x2a5], al
mov byte [ebp - 4], 1
mov dword [ebp - 0x2ac], edx
test edx, edx
je 0x409aa1
mov ecx, esi
lock xadd dword [edx + 4], ecx
jne 0x409aa1
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
mov ecx, dword [ebp - 0x2ac]
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x409aa1
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x2a5], 0
je 0x40a217
lea eax, [ebp - 0x2b4]
push eax
call fcn.004166a0
add esp, 4
mov eax, dword [eax]
lea ecx, [ebp - 0x364]
mov byte [ebp - 4], 8
mov dword [ebp - 0x2ac], eax
call fcn.00407490
mov esi, eax
push str.download_file_fail__info:
push esi
mov byte [ebp - 4], 9
call fcn.00408a40
push edi
push esi
call fcn.00408a40
mov ecx, dword [ebp - 0x2ac]
add esp, 0x10
mov eax, dword [ecx]
push esi
call dword [eax + 8]
lea ecx, [ebp - 0x364]
call fcn.00408b90
lea ecx, [ebp - 0x2b4]
call fcn.004080f0
or esi, 0xffffffff
jmp 0x40a217
push 0x42
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.0047c870
push 0x21
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.004491f0
add esp, 0x18
call fcn.0040a750
mov ecx, eax
test ecx, ecx
je 0x40a2d7
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2bc], eax
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 0xa
test eax, 0xffff0000
jne 0x409b79
movzx eax, ax
lea ecx, [ebp - 0x2bc]
push eax
call fcn.0040b680
jmp 0x409b9f
lea ecx, [ebp - 0x54]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409b80
sub ecx, edx
lea eax, [ebp - 0x54]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2bc]
call fcn.0040d470
mov eax, dword [ebp - 0x2b8]
add eax, 0x84
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
jb 0x409bb6
mov eax, dword [eax]
test eax, eax
je 0x40a2e1
mov esi, dword [ebp - 0x2bc]
push eax
push esi
call fcn.00498649
add esp, 8
test eax, eax
je 0x409caa
lea eax, [ebp - 0x2b4]
push eax
call fcn.004166a0
add esp, 4
mov ecx, dword [eax]
mov byte [ebp - 4], 0xc
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov edx, dword [ebp - 0x2b0]
mov byte [ebp - 0x2a5], al
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x2ac], edx
test edx, edx
je 0x409c31
or ecx, 0xffffffff
lock xadd dword [edx + 4], ecx
jne 0x409c31
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
mov ecx, dword [ebp - 0x2ac]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x409c31
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x2a5], 0
je 0x40a1f9
lea eax, [ebp - 0x2b4]
push eax
call fcn.004166a0
add esp, 4
mov eax, dword [eax]
lea ecx, [ebp - 0x364]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x2ac], eax
call fcn.00407490
mov dword [ebp - 0x2b8], eax
push str.md5_check_fail_
push eax
mov byte [ebp - 4], 0xe
call fcn.00408a40
mov eax, dword [ebp - 0x2ac]
mov edx, dword [eax]
add esp, 8
mov ecx, eax
push dword [ebp - 0x2b8]
call dword [edx + 8]
lea ecx, [ebp - 0x364]
call fcn.00408b90
lea ecx, [ebp - 0x2b4]
call fcn.004080f0
jmp 0x40a1f9
xor eax, eax
mov byte [ebp - 4], 0xf
mov word [ebp - 0x274], ax
lea ecx, [ebp - 0x274]
mov eax, dword [ebp - 0x27c]
add eax, 7
mov dword [ebp - 0x264], 0
push eax
mov dword [ebp - 0x260], 7
mov dword [ebp - 0x2ac], 1
call fcn.00410730
cmp dword [ebp - 0x278], 8
lea eax, [ebp - 0x28c]
push dword [ebp - 0x27c]
cmovae eax, dword [ebp - 0x28c]
lea ecx, [ebp - 0x274]
push eax
call fcn.0040f360
push 7
push str.7z.dll
lea ecx, [ebp - 0x274]
call fcn.0040f360
cmp dword [ebp - 0x260], 8
lea eax, [ebp - 0x274]
cmovae eax, dword [ebp - 0x274]
push eax
call fcn.00475680
mov edx, dword [ebp - 0x260]
test eax, eax
mov byte [ebp - 4], 0xb
sete al
mov byte [ebp - 0x2a5], al
cmp edx, 8
jb 0x409d91
mov ecx, dword [ebp - 0x274]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409d81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a2eb
push edx
push ecx
call fcn.00472ed3
mov al, byte [ebp - 0x2a5]
add esp, 8
test al, al
je 0x409e47
lea eax, [ebp - 0x2b4]
push eax
call fcn.004166a0
add esp, 4
mov ecx, dword [eax]
mov byte [ebp - 4], 0x10
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov edx, dword [ebp - 0x2b0]
mov byte [ebp - 0x2a5], al
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x2ac], edx
test edx, edx
je 0x409df4
or ecx, 0xffffffff
lock xadd dword [edx + 4], ecx
jne 0x409df4
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
mov ecx, dword [ebp - 0x2ac]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x409df4
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x2a5], 0
je 0x40a1f9
lea eax, [ebp - 0x2b4]
push eax
call fcn.004166a0
add esp, 4
mov eax, dword [eax]
lea ecx, [ebp - 0x364]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x2ac], eax
call fcn.00407490
mov dword [ebp - 0x2b8], eax
push str.7z_init_fail
push eax
mov byte [ebp - 4], 0x12
call fcn.00408a40
mov eax, dword [ebp - 0x2ac]
jmp 0x409c7f
cmp dword [ebp - 0x278], 8
lea eax, [ebp - 0x28c]
push 0
cmovae eax, dword [ebp - 0x28c]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.00475e70
call fcn.00475bf0
xor eax, eax
mov byte [ebp - 4], 0x13
mov word [ebp - 0x274], ax
lea ecx, [ebp - 0x274]
mov eax, dword [ebp - 0x27c]
inc eax
mov dword [ebp - 0x264], 0
push eax
mov dword [ebp - 0x260], 7
mov dword [ebp - 0x2ac], 2
call fcn.00410730
cmp dword [ebp - 0x278], 8
lea eax, [ebp - 0x28c]
push dword [ebp - 0x27c]
cmovae eax, dword [ebp - 0x28c]
lea ecx, [ebp - 0x274]
push eax
call fcn.0040f360
push 1
push 0x4dda94
lea ecx, [ebp - 0x274]
call fcn.0040f360
mov eax, dword [ebp - 0x2b8]
cmp dword [eax + 0x80], 8
lea ecx, [eax + 0x6c]
jb 0x409efa
mov ecx, dword [eax + 0x6c]
push dword [eax + 0x7c]
push ecx
lea ecx, [ebp - 0x274]
call fcn.0040f360
mov dword [ebp - 0x294], 0
xor ecx, ecx
mov dword [ebp - 0x290], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2a4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x294], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x260]
mov byte [ebp - 4], 0x15
cmp edx, 8
jb 0x409f8b
mov ecx, dword [ebp - 0x274]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409f81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a2f0
push edx
push ecx
call fcn.00472ed3
add esp, 8
xor eax, eax
mov dword [ebp - 0x264], 0
cmp dword [ebp - 0x290], 8
mov word [ebp - 0x274], ax
lea eax, [ebp - 0x2a4]
cmovae eax, dword [ebp - 0x2a4]
push eax
mov dword [ebp - 0x260], 7
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40a0a6
lea eax, [ebp - 0x2b4]
push eax
call fcn.004166a0
add esp, 4
mov ecx, dword [eax]
mov byte [ebp - 4], 0x16
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov edx, dword [ebp - 0x2b0]
mov byte [ebp - 0x2a5], al
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x2ac], edx
test edx, edx
je 0x40a026
or ecx, 0xffffffff
lock xadd dword [edx + 4], ecx
jne 0x40a026
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
mov ecx, dword [ebp - 0x2ac]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x40a026
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x2a5], 0
je 0x40a096
lea eax, [ebp - 0x2b4]
push eax
call fcn.004166a0
add esp, 4
mov eax, dword [eax]
lea ecx, [ebp - 0x364]
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x2ac], eax
call fcn.00407490
mov dword [ebp - 0x2b8], eax
push str.repair_exe_is_not_exist
push eax
mov byte [ebp - 4], 0x18
call fcn.00408a40
mov eax, dword [ebp - 0x2ac]
mov edx, dword [eax]
add esp, 8
mov ecx, eax
push dword [ebp - 0x2b8]
call dword [edx + 8]
lea ecx, [ebp - 0x364]
call fcn.00408b90
lea ecx, [ebp - 0x2b4]
call fcn.004080f0
lea ecx, [ebp - 0x2a4]
call fcn.00407ea0
jmp 0x40a1f9
mov ecx, dword [ebp - 0x2b8]
add ecx, 0x9c
cmp dword [ecx + 0x14], 8
jb 0x40a0ba
mov ecx, dword [ecx]
cmp dword [ebp - 0x290], 8
lea eax, [ebp - 0x2a4]
push 0
cmovae eax, dword [ebp - 0x2a4]
push 0
push 0
push 1
push 0
push ecx
push eax
call fcn.004546b0
add esp, 0x1c
test eax, eax
jne 0x40a198
lea eax, [ebp - 0x2b4]
push eax
call fcn.004166a0
add esp, 4
mov ecx, dword [eax]
mov byte [ebp - 4], 0x19
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov edx, dword [ebp - 0x2b0]
mov byte [ebp - 0x2a5], al
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x2ac], edx
test edx, edx
je 0x40a145
or ecx, 0xffffffff
lock xadd dword [edx + 4], ecx
jne 0x40a145
mov eax, dword [edx]
mov ecx, edx
call dword [eax]
mov ecx, dword [ebp - 0x2ac]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x40a145
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x2a5], 0
je 0x40a096
lea eax, [ebp - 0x2b4]
push eax
call fcn.004166a0
add esp, 4
mov eax, dword [eax]
lea ecx, [ebp - 0x364]
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x2ac], eax
call fcn.00407490
mov dword [ebp - 0x2b8], eax
push str.RunApp_fail_
push eax
mov byte [ebp - 4], 0x1b
call fcn.00408a40
mov eax, dword [ebp - 0x2ac]
jmp 0x40a070
mov edx, dword [ebp - 0x290]
mov byte [ebp - 4], 0xb
cmp edx, 8
jb 0x40a1dc
mov ecx, dword [ebp - 0x2a4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a1d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a2f5
push edx
push ecx
call fcn.00472ed3
add esp, 8
xor eax, eax
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 7
mov word [ebp - 0x2a4], ax
lea edx, [esi - 0x10]
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a217
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x40a230
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40a24e
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x278]
cmp edx, 8
jb 0x40a28a
mov ecx, dword [ebp - 0x28c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a280
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a2fa
push edx
push ecx
call fcn.00472ed3
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00473600
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403820
push 0x80004005
call fcn.00403820
push 0x80004005
call fcn.00403820
push 0x80004005
call fcn.00403820
push 0x80004005
call fcn.00403820
push 0x80004005
call fcn.00403820
push 0x80004005
call fcn.00403820
call fcn.004868f6
call fcn.004868f6
call fcn.004868f6
call fcn.004868f6
int3