Function at 0x410c20
Capabilities:
Delete file
Print debug messages

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c754a
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2f0
mov eax, dword [0x6540c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
xor edi, edi
mov esi, dword [ebx + 0xc]
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebx + 0x10]
push 0x200
mov dword [ebp - 0x2fc], eax
lea eax, [ebp - 0x218]
push edi
push eax
mov dword [ebp - 0x300], esi
mov dword [ebp - 0x2e4], edi
call fcn.0048fce0
add esp, 0xc
lea eax, [ebp - 0x218]
push str.begin_copy_file_list_to_update_dir
push 0xff
push eax
call fcn.00421d20
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x2fc]
mov eax, dword [ecx]
cmp eax, dword [ecx + 4]
jne 0x410d0f
push 0x200
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.0048fce0
add esp, 0xc
lea eax, [ebp - 0x218]
push str.copy_file_list_to_update_dir:_not_need_copy_file_list
push 0xff
push eax
call fcn.00421d20
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call eax
mov al, 1
jmp 0x411ebb
push 0x40
mov dword [ebp - 0x2f8], edi
mov dword [ebp - 0x2f4], edi
call fcn.00439298
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x2f8], eax
mov edx, dword [ebp - 0x2fc]
mov dword [ebp - 4], 0
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ebp - 0x2e8], ecx
mov ecx, dword [ebp - 0x2e0]
add ecx, 0x10
mov dword [ebp - 0x2f0], eax
mov dword [ebp - 0x2ec], ecx
mov dword [ebp - 0x2e0], 0x5c
cmp eax, dword [ebp - 0x2e8]
je 0x4113cc
nop dword [eax]
mov edx, dword [ebp - 0x2ec]
mov ecx, dword [eax + 0x10]
mov edx, dword [edx]
cmp ecx, edx
jbe 0x411de6
sub ecx, edx
mov dword [ebp - 0x238], 0
or esi, 0xffffffff
mov dword [ebp - 0x234], 0
cmp ecx, 0xffffffff
xorps xmm0, xmm0
movups xmmword [ebp - 0x248], xmm0
cmovb esi, ecx
cmp dword [eax + 0x14], 7
mov dword [ebp - 0x2e4], esi
mov ecx, eax
mov esi, dword [ebp - 0x300]
jbe 0x410dd2
mov ecx, dword [eax]
push dword [ebp - 0x2e4]
lea eax, [ecx + edx*2]
push eax
lea ecx, [ebp - 0x248]
call fcn.004027e0
or edi, 1
mov dword [ebp - 0x2e4], edi
mov edx, esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x230]
call fcn.00405290
or edi, 2
cmp dword [ebp - 0x220], 0
mov dword [ebp - 0x2e4], edi
jbe 0x410e3a
cmp dword [esi + 0x14], 7
mov ecx, esi
jbe 0x410e1d
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
mov edx, dword [ebp - 0x2e0]
cmp dx, word [ecx + eax*2 - 2]
je 0x410e3a
push 0x5c
lea ecx, [ebp - 0x230]
call fcn.00409b90
cmp dword [ebp - 0x234], 7
lea eax, [ebp - 0x248]
push dword [ebp - 0x238]
cmova eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x230]
push eax
call fcn.00409e30
mov dword [ebp - 0x250], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x260], xmm0
mov dword [ebp - 0x24c], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
or edi, 4
movups xmmword [ebp - 0x260], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x250], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
and edi, 0xfffffffd
lea ecx, [ebp - 0x230]
call fcn.004024d0
cmp dword [ebp - 0x24c], 7
lea eax, [ebp - 0x260]
push 0
cmova eax, dword [ebp - 0x260]
push eax
call fcn.004998bc
add esp, 8
test eax, eax
je 0x410ee5
cmp eax, 0xd
jne 0x41100d
xorps xmm0, xmm0
mov dword [ebp - 0x298], 0
xor eax, eax
mov dword [ebp - 0x294], 7
movups xmmword [ebp - 0x2a8], xmm0
mov word [ebp - 0x2a8], ax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x230]
push 6
push 0x6471e0
movups xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
call fcn.004027e0
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 6
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x260]
call fcn.00409240
mov byte [ebp - 4], 5
add esp, 4
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x2e4], eax
cmp ecx, 7
jbe 0x410f85
push ecx
push dword [ebp - 0x230]
lea eax, [ebp - 0x230]
push eax
call fcn.00402690
mov eax, dword [ebp - 0x2e4]
add esp, 0xc
test eax, eax
jne 0x41109b
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x2f8]
call fcn.004209c0
mov ecx, dword [eax]
lea eax, [ebp - 0x2a8]
add ecx, 0x28
cmp ecx, eax
je 0x410fcf
cmp dword [ebp - 0x294], 7
push dword [ebp - 0x298]
cmova eax, dword [ebp - 0x2a8]
push eax
call fcn.00403f90
mov eax, dword [ebp - 0x294]
cmp eax, 7
jbe 0x410ff0
push eax
push dword [ebp - 0x2a8]
lea eax, [ebp - 0x2a8]
push eax
call fcn.00402690
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 7
mov word [ebp - 0x2a8], ax
mov eax, dword [ebp - 0x24c]
cmp eax, 7
jbe 0x41102e
push eax
push dword [ebp - 0x260]
lea eax, [ebp - 0x260]
push eax
call fcn.00402690
add esp, 0xc
xor eax, eax
mov byte [ebp - 4], al
mov word [ebp - 0x260], ax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
cmp eax, 7
jbe 0x41106f
push eax
push dword [ebp - 0x248]
lea eax, [ebp - 0x248]
push eax
call fcn.00402690
add esp, 0xc
mov eax, dword [ebp - 0x2f0]
add eax, 0x18
mov dword [ebp - 0x2f0], eax
cmp eax, dword [ebp - 0x2e8]
jne 0x410d80
mov edx, dword [ebp - 0x2fc]
mov ecx, dword [ebp - 0x2ec]
jmp 0x4113d2
mov ecx, dword [ebp - 0x250]
mov eax, bind
sub eax, ecx
cmp eax, 0x3e
jb 0x411edb
cmp dword [ebp - 0x24c], 7
lea eax, [ebp - 0x260]
push ecx
cmova eax, dword [ebp - 0x260]
push eax
push 0x3e
push str.copy_file_list_to_update_dir_failed__rename_update_file_error_
push ecx
push dword [ebp - 0x2e0]
lea ecx, [ebp - 0x2c0]
call fcn.00402910
or edi, 8
push 4
push 0x6471f4
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 7
call fcn.00409e30
mov dword [ebp - 0x220], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x21c], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
or edi, 0x10
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x220], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 8
lea eax, [ebp - 0x2a8]
cmp dword [ebp - 0x294], 7
lea ecx, [ebp - 0x230]
push dword [ebp - 0x298]
cmova eax, dword [ebp - 0x2a8]
push eax
call fcn.00409e30
mov dword [ebp - 0x268], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x278], xmm0
mov dword [ebp - 0x264], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
or edi, 0x20
movups xmmword [ebp - 0x278], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x268], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x6471f0
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 9
call fcn.00409e30
mov dword [ebp - 0x280], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x290], xmm0
mov dword [ebp - 0x27c], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
or edi, 0x40
movups xmmword [ebp - 0x290], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x280], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [ebp - 0x264]
cmp eax, 7
jbe 0x41123b
push eax
push dword [ebp - 0x278]
lea eax, [ebp - 0x278]
push eax
call fcn.00402690
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x268], 0
mov word [ebp - 0x278], ax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x264], 7
cmp eax, 7
jbe 0x411279
push eax
push dword [ebp - 0x230]
lea eax, [ebp - 0x230]
push eax
call fcn.00402690
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.004024d0
cmp dword [ebp - 0x27c], 7
lea eax, [ebp - 0x218]
push 0x200
push 0
lea esi, [ebp - 0x290]
cmova esi, dword [ebp - 0x290]
push eax
call fcn.0048fce0
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0xff
push eax
call fcn.00421d20
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call eax
mov eax, dword [ebp - 0x27c]
cmp eax, 7
jbe 0x41130f
push eax
push dword [ebp - 0x290]
lea eax, [ebp - 0x290]
push eax
call fcn.00402690
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x280], 0
mov word [ebp - 0x290], ax
mov eax, dword [ebp - 0x294]
mov dword [ebp - 0x27c], 7
cmp eax, 7
jbe 0x41134d
push eax
push dword [ebp - 0x2a8]
lea eax, [ebp - 0x2a8]
push eax
call fcn.00402690
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x298], 0
mov word [ebp - 0x2a8], ax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x294], 7
cmp eax, 7
jbe 0x41138b
push eax
push dword [ebp - 0x260]
lea eax, [ebp - 0x260]
push eax
call fcn.00402690
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x24c], 7
cmp eax, 7
jbe 0x4119d0
push eax
push dword [ebp - 0x248]
lea eax, [ebp - 0x248]
jmp 0x4119c7
mov dword [ebp - 0x2ec], ecx
mov eax, dword [edx + 4]
mov esi, dword [edx]
mov dword [ebp - 0x2f0], eax
cmp esi, eax
je 0x4116a9
mov eax, dword [esi + 0x10]
mov ecx, dword [ecx]
cmp eax, ecx
jbe 0x411de6
sub eax, ecx
mov dword [ebp - 0x268], 0
or edx, 0xffffffff
mov dword [ebp - 0x264], 0
cmp eax, 0xffffffff
xorps xmm0, xmm0
movups xmmword [ebp - 0x278], xmm0
cmovb edx, eax
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x411425
mov eax, dword [esi]
lea eax, [eax + ecx*2]
push edx
push eax
lea ecx, [ebp - 0x278]
call fcn.004027e0
or edi, 0x80
mov dword [ebp - 0x2e4], edi
mov edx, dword [ebp - 0x300]
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 0xb
call fcn.00405290
or edi, 0x100
cmp dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2e4], edi
jbe 0x411498
mov eax, dword [ebp - 0x300]
mov ecx, eax
cmp dword [eax + 0x14], 7
jbe 0x41147b
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x2e0]
cmp dx, word [ecx + eax*2 - 2]
je 0x411498
push 0x5c
lea ecx, [ebp - 0x2c0]
call fcn.00409b90
cmp dword [ebp - 0x264], 7
lea eax, [ebp - 0x278]
push dword [ebp - 0x268]
cmova eax, dword [ebp - 0x278]
lea ecx, [ebp - 0x2c0]
push eax
call fcn.00409e30
xor ecx, ecx
or edi, 0x200
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x288], xmm0
movups xmmword [ebp - 0x260], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x250], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
and edi, 0xfffffeff
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 0xd
call fcn.004024d0
cmp dword [ebp - 0x24c], 7
lea edx, [ebp - 0x260]
xorps xmm0, xmm0
mov dword [ebp - 0x238], 0
cmova edx, dword [ebp - 0x288]
mov ecx, edx
mov dword [ebp - 0x234], 0
movups xmmword [ebp - 0x248], xmm0
lea eax, [ecx + 2]
mov dword [ebp - 0x2e8], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411547
sub ecx, dword [ebp - 0x2e8]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x248]
call fcn.004027e0
mov byte [ebp - 4], 0xe
mov edx, esi
cmp dword [esi + 0x14], 7
jbe 0x411575
mov edx, dword [esi]
mov ecx, edx
mov dword [ebp - 0x220], 0
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 0
movups xmmword [ebp - 0x230], xmm0
lea eax, [ecx + 2]
mov dword [ebp - 0x2e8], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4115a0
sub ecx, dword [ebp - 0x2e8]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.004027e0
push ecx
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.004108c0
mov ecx, dword [ebp - 0x21c]
mov byte [ebp - 0x2d9], al
cmp ecx, 7
jbe 0x4115ff
push ecx
push dword [ebp - 0x230]
lea eax, [ebp - 0x230]
push eax
call fcn.00402690
add esp, 0xc
xor eax, eax
mov byte [ebp - 4], 0xd
mov word [ebp - 0x230], ax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
cmp eax, 7
jbe 0x411641
push eax
push dword [ebp - 0x248]
lea eax, [ebp - 0x248]
push eax
call fcn.00402690
add esp, 0xc
cmp byte [ebp - 0x2d9], 0
je 0x4116fc
mov eax, dword [ebp - 0x24c]
cmp eax, 7
jbe 0x41166f
push eax
push dword [ebp - 0x260]
lea eax, [ebp - 0x260]
push eax
call fcn.00402690
add esp, 0xc
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x264]
cmp eax, 7
jbe 0x411694
push eax
push dword [ebp - 0x278]
lea eax, [ebp - 0x278]
push eax
call fcn.00402690
add esp, 0xc
mov ecx, dword [ebp - 0x2ec]
add esi, 0x18
cmp esi, dword [ebp - 0x2f0]
jne 0x4113e5
mov esi, dword [ebp - 0x2f8]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x411e4b
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x3c], 7
lea eax, [esi + 0x28]
jbe 0x4116cc
mov eax, dword [eax]
push eax
call edi
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x411e2b
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4116f5
cmp esi, dword [eax + 8]
jne 0x4116f5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4116e5
mov esi, eax
jmp 0x411e41
mov ecx, dword [esi + 0x10]
mov eax, bind
sub eax, ecx
cmp eax, 0x49
jb 0x411ee0
cmp dword [esi + 0x14], 7
jbe 0x411717
mov esi, dword [esi]
push ecx
push esi
push 0x49
push str.copy_file_list_to_update_dir_failed__move_temp_file_to_update_file_error_
push ecx
push dword [ebp - 0x2e0]
lea ecx, [ebp - 0x2d8]
call fcn.00402910
or edi, 0x400
push 4
push 0x6471f4
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 0x10
call fcn.00409e30
mov dword [ebp - 0x280], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x290], xmm0
mov dword [ebp - 0x27c], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
or edi, 0x800
movups xmmword [ebp - 0x290], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x280], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x260]
cmp dword [ebp - 0x24c], 7
lea ecx, [ebp - 0x290]
push dword [ebp - 0x250]
cmova eax, dword [ebp - 0x260]
push eax
call fcn.00409e30
mov dword [ebp - 0x220], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x21c], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
or edi, 0x1000
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x220], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x6471f0
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x12
call fcn.00409e30
mov dword [ebp - 0x238], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x248], xmm0
mov dword [ebp - 0x234], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
or edi, 0x2000
movups xmmword [ebp - 0x248], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x238], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [ebp - 0x21c]
cmp eax, 7
jbe 0x411899
push eax
push dword [ebp - 0x230]
lea eax, [ebp - 0x230]
push eax
call fcn.00402690
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x21c], 7
cmp eax, 7
jbe 0x4118d7
push eax
push dword [ebp - 0x290]
lea eax, [ebp - 0x290]
push eax
call fcn.00402690
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x280], 0
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
call fcn.004024d0
cmp dword [ebp - 0x234], 7
lea eax, [ebp - 0x218]
push 0x200
push 0
lea esi, [ebp - 0x248]
cmova esi, dword [ebp - 0x248]
push eax
call fcn.0048fce0
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0xff
push eax
call fcn.00421d20
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call eax
mov eax, dword [ebp - 0x234]
cmp eax, 7
jbe 0x41196d
push eax
push dword [ebp - 0x248]
lea eax, [ebp - 0x248]
push eax
call fcn.00402690
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x234], 7
cmp eax, 7
jbe 0x4119ab
push eax
push dword [ebp - 0x260]
lea eax, [ebp - 0x260]
push eax
call fcn.00402690
add esp, 0xc
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x264]
cmp eax, 7
jbe 0x4119d0
push eax
push dword [ebp - 0x278]
lea eax, [ebp - 0x278]
push eax
call fcn.00402690
add esp, 0xc
mov esi, dword [ebp - 0x2f8]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x411e22
cmp dword [esi + 0x24], 7
lea edx, [esi + 0x10]
jbe 0x4119ee
mov edx, dword [esi + 0x10]
mov ecx, edx
mov dword [ebp - 0x268], 0
xorps xmm0, xmm0
mov dword [ebp - 0x264], 0
movups xmmword [ebp - 0x278], xmm0
lea eax, [ecx + 2]
mov dword [ebp - 0x2e0], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411a17
sub ecx, dword [ebp - 0x2e0]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x278]
call fcn.004027e0
lea edx, [esi + 0x28]
mov byte [ebp - 4], 0x13
cmp dword [edx + 0x14], 7
jbe 0x411a46
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x220], 0
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 0
movups xmmword [ebp - 0x230], xmm0
lea eax, [ecx + 2]
mov dword [ebp - 0x2e0], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411a70
sub ecx, dword [ebp - 0x2e0]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.004027e0
push ecx
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.004108c0
mov ecx, dword [ebp - 0x21c]
mov byte [ebp - 0x2d9], al
cmp ecx, 7
jbe 0x411acf
push ecx
push dword [ebp - 0x230]
lea eax, [ebp - 0x230]
push eax
call fcn.00402690
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x21c], 7
cmp eax, 7
jbe 0x411b10
push eax
push dword [ebp - 0x278]
lea eax, [ebp - 0x278]
push eax
call fcn.00402690
add esp, 0xc
cmp byte [ebp - 0x2d9], 0
jne 0x411d94
mov edx, dword [esi + 0x38]
lea ecx, [esi + 0x28]
mov eax, bind
sub eax, edx
cmp eax, 0x38
jb 0x411edb
cmp dword [ecx + 0x14], 7
jbe 0x411b3b
mov ecx, dword [ecx]
push edx
push ecx
push 0x38
push str.copy_file_list_to_update_dir_failed__restore_file_error_
push ecx
push dword [ebp - 0x2e0]
lea ecx, [ebp - 0x2d8]
call fcn.00402910
or edi, 0x4000
push 4
push 0x6471f4
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 0x15
call fcn.00409e30
mov dword [ebp - 0x268], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x278], xmm0
mov dword [ebp - 0x264], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
or edi, 0x8000
movups xmmword [ebp - 0x278], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x268], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x16
lea ecx, [esi + 0x10]
cmp dword [esi + 0x24], 7
jbe 0x411bd0
mov ecx, dword [esi + 0x10]
push dword [esi + 0x20]
push ecx
lea ecx, [ebp - 0x278]
call fcn.00409e30
mov dword [ebp - 0x220], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x21c], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
or edi, 0x10000
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x220], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x6471f0
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x17
call fcn.00409e30
mov dword [ebp - 0x238], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x248], xmm0
mov dword [ebp - 0x234], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
or edi, 0x20000
mov dword [ebp - 0x2e0], edi
movups xmmword [ebp - 0x248], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x238], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [ebp - 0x21c]
cmp eax, 7
jbe 0x411cb8
push eax
push dword [ebp - 0x230]
lea eax, [ebp - 0x230]
push eax
call fcn.00402690
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x21c], 7
cmp eax, 7
jbe 0x411cf6
push eax
push dword [ebp - 0x278]
lea eax, [ebp - 0x278]
push eax
call fcn.00402690
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x268], 0
lea ecx, [ebp - 0x2d8]
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
mov byte [ebp - 4], al
call fcn.004024d0
cmp dword [ebp - 0x234], 7
lea eax, [ebp - 0x218]
push 0x200
push 0
lea edi, [ebp - 0x248]
cmova edi, dword [ebp - 0x248]
push eax
call fcn.0048fce0
add esp, 0xc
lea eax, [ebp - 0x218]
push edi
push 0xff
push eax
call fcn.00421d20
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x234]
cmp eax, 7
jbe 0x411d8e
push eax
push dword [ebp - 0x248]
lea eax, [ebp - 0x248]
push eax
call fcn.00402690
add esp, 0xc
mov edi, dword [ebp - 0x2e0]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x411dba
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x411db6
cmp esi, dword [eax + 8]
jne 0x411db6
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x411da6
mov esi, eax
jmp 0x411dd0
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x411dd0
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x411dc4
cmp byte [esi + 0xd], 0
je 0x4119e2
mov byte [ebp - 0x2d9], 0
jmp 0x411e8e
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.0048fce0
add esp, 0xc
lea eax, [ebp - 0x118]
push 0x6471cc
push 0xff
push eax
call fcn.00421d00
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp - 0x2d9], 0
jmp 0x411e8e
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x411e41
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x411e35
cmp byte [esi + 0xd], 0
je 0x4116c1
push 0x200
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0048fce0
add esp, 0xc
lea eax, [ebp - 0x218]
push str.copy_file_list_to_update_dir_success
push 0xff
push eax
call fcn.00421d20
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 0x2d9], 1
mov eax, dword [ebp - 0x2f8]
push dword [eax + 4]
lea eax, [ebp - 0x2f8]
push eax
mov ecx, eax
call fcn.00422310
push 0x40
push dword [ebp - 0x2f8]
call fcn.004392c8
mov al, byte [ebp - 0x2d9]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043928a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.004012e0
call fcn.004012e0
int3