Function at 0x410ef0
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 0x5c7b6a
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.00490360
add esp, 0xc
lea eax, [ebp - 0x218]
push str.begin_copy_file_list_to_update_dir
push 0xff
push eax
call fcn.004223a0
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 0x410fdf
push 0x200
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.00490360
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.004223a0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call eax
mov al, 1
jmp 0x41218b
push 0x40
mov dword [ebp - 0x2f8], edi
mov dword [ebp - 0x2f4], edi
call fcn.00439908
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 0x41169c
nop dword [eax]
mov edx, dword [ebp - 0x2ec]
mov ecx, dword [eax + 0x10]
mov edx, dword [edx]
cmp ecx, edx
jbe 0x4120b6
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 0x4110a2
mov ecx, dword [eax]
push dword [ebp - 0x2e4]
lea eax, [ecx + edx*2]
push eax
lea ecx, [ebp - 0x248]
call fcn.00402780
or edi, 1
mov dword [ebp - 0x2e4], edi
mov edx, esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x230]
call fcn.00405200
or edi, 2
cmp dword [ebp - 0x220], 0
mov dword [ebp - 0x2e4], edi
jbe 0x41110a
cmp dword [esi + 0x14], 7
mov ecx, esi
jbe 0x4110ed
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
mov edx, dword [ebp - 0x2e0]
cmp dx, word [ecx + eax*2 - 2]
je 0x41110a
push 0x5c
lea ecx, [ebp - 0x230]
call fcn.00409fa0
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.0040a240
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.00402470
cmp dword [ebp - 0x24c], 7
lea eax, [ebp - 0x260]
push 0
cmova eax, dword [ebp - 0x260]
push eax
call fcn.00499f3c
add esp, 8
test eax, eax
je 0x4111b5
cmp eax, 0xd
jne 0x4112dd
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 0x647210
movups xmmword [ebp - 0x230], xmm0
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
call fcn.00402780
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 6
push eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x260]
call fcn.00408f60
mov byte [ebp - 4], 5
add esp, 4
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x2e4], eax
cmp ecx, 7
jbe 0x411255
push ecx
push dword [ebp - 0x230]
lea eax, [ebp - 0x230]
push eax
call fcn.00402630
mov eax, dword [ebp - 0x2e4]
add esp, 0xc
test eax, eax
jne 0x41136b
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x2f8]
call fcn.00421040
mov ecx, dword [eax]
lea eax, [ebp - 0x2a8]
add ecx, 0x28
cmp ecx, eax
je 0x41129f
cmp dword [ebp - 0x294], 7
push dword [ebp - 0x298]
cmova eax, dword [ebp - 0x2a8]
push eax
call fcn.00403f00
mov eax, dword [ebp - 0x294]
cmp eax, 7
jbe 0x4112c0
push eax
push dword [ebp - 0x2a8]
lea eax, [ebp - 0x2a8]
push eax
call fcn.00402630
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 0x4112fe
push eax
push dword [ebp - 0x260]
lea eax, [ebp - 0x260]
push eax
call fcn.00402630
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 0x41133f
push eax
push dword [ebp - 0x248]
lea eax, [ebp - 0x248]
push eax
call fcn.00402630
add esp, 0xc
mov eax, dword [ebp - 0x2f0]
add eax, 0x18
mov dword [ebp - 0x2f0], eax
cmp eax, dword [ebp - 0x2e8]
jne 0x411050
mov edx, dword [ebp - 0x2fc]
mov ecx, dword [ebp - 0x2ec]
jmp 0x4116a2
mov ecx, dword [ebp - 0x250]
mov eax, bind
sub eax, ecx
cmp eax, 0x3e
jb 0x4121ab
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.004028b0
or edi, 8
push 4
push 0x647224
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 7
call fcn.0040a240
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.0040a240
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 0x647220
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 9
call fcn.0040a240
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 0x41150b
push eax
push dword [ebp - 0x278]
lea eax, [ebp - 0x278]
push eax
call fcn.00402630
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 0x411549
push eax
push dword [ebp - 0x230]
lea eax, [ebp - 0x230]
push eax
call fcn.00402630
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.00402470
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.00490360
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0xff
push eax
call fcn.004223a0
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 0x4115df
push eax
push dword [ebp - 0x290]
lea eax, [ebp - 0x290]
push eax
call fcn.00402630
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 0x41161d
push eax
push dword [ebp - 0x2a8]
lea eax, [ebp - 0x2a8]
push eax
call fcn.00402630
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 0x41165b
push eax
push dword [ebp - 0x260]
lea eax, [ebp - 0x260]
push eax
call fcn.00402630
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 0x411ca0
push eax
push dword [ebp - 0x248]
lea eax, [ebp - 0x248]
jmp 0x411c97
mov dword [ebp - 0x2ec], ecx
mov eax, dword [edx + 4]
mov esi, dword [edx]
mov dword [ebp - 0x2f0], eax
cmp esi, eax
je 0x411979
mov eax, dword [esi + 0x10]
mov ecx, dword [ecx]
cmp eax, ecx
jbe 0x4120b6
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 0x4116f5
mov eax, dword [esi]
lea eax, [eax + ecx*2]
push edx
push eax
lea ecx, [ebp - 0x278]
call fcn.00402780
or edi, 0x80
mov dword [ebp - 0x2e4], edi
mov edx, dword [ebp - 0x300]
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 0xb
call fcn.00405200
or edi, 0x100
cmp dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2e4], edi
jbe 0x411768
mov eax, dword [ebp - 0x300]
mov ecx, eax
cmp dword [eax + 0x14], 7
jbe 0x41174b
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x2e0]
cmp dx, word [ecx + eax*2 - 2]
je 0x411768
push 0x5c
lea ecx, [ebp - 0x2c0]
call fcn.00409fa0
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.0040a240
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.00402470
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 0x411817
sub ecx, dword [ebp - 0x2e8]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x248]
call fcn.00402780
mov byte [ebp - 4], 0xe
mov edx, esi
cmp dword [esi + 0x14], 7
jbe 0x411845
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 0x411870
sub ecx, dword [ebp - 0x2e8]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.00402780
push ecx
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00410b90
mov ecx, dword [ebp - 0x21c]
mov byte [ebp - 0x2d9], al
cmp ecx, 7
jbe 0x4118cf
push ecx
push dword [ebp - 0x230]
lea eax, [ebp - 0x230]
push eax
call fcn.00402630
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 0x411911
push eax
push dword [ebp - 0x248]
lea eax, [ebp - 0x248]
push eax
call fcn.00402630
add esp, 0xc
cmp byte [ebp - 0x2d9], 0
je 0x4119cc
mov eax, dword [ebp - 0x24c]
cmp eax, 7
jbe 0x41193f
push eax
push dword [ebp - 0x260]
lea eax, [ebp - 0x260]
push eax
call fcn.00402630
add esp, 0xc
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x264]
cmp eax, 7
jbe 0x411964
push eax
push dword [ebp - 0x278]
lea eax, [ebp - 0x278]
push eax
call fcn.00402630
add esp, 0xc
mov ecx, dword [ebp - 0x2ec]
add esi, 0x18
cmp esi, dword [ebp - 0x2f0]
jne 0x4116b5
mov esi, dword [ebp - 0x2f8]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x41211b
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x3c], 7
lea eax, [esi + 0x28]
jbe 0x41199c
mov eax, dword [eax]
push eax
call edi
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x4120fb
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4119c5
cmp esi, dword [eax + 8]
jne 0x4119c5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4119b5
mov esi, eax
jmp 0x412111
mov ecx, dword [esi + 0x10]
mov eax, bind
sub eax, ecx
cmp eax, 0x49
jb 0x4121b0
cmp dword [esi + 0x14], 7
jbe 0x4119e7
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.004028b0
or edi, 0x400
push 4
push 0x647224
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 0x10
call fcn.0040a240
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.0040a240
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 0x647220
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x12
call fcn.0040a240
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 0x411b69
push eax
push dword [ebp - 0x230]
lea eax, [ebp - 0x230]
push eax
call fcn.00402630
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 0x411ba7
push eax
push dword [ebp - 0x290]
lea eax, [ebp - 0x290]
push eax
call fcn.00402630
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.00402470
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.00490360
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0xff
push eax
call fcn.004223a0
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 0x411c3d
push eax
push dword [ebp - 0x248]
lea eax, [ebp - 0x248]
push eax
call fcn.00402630
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 0x411c7b
push eax
push dword [ebp - 0x260]
lea eax, [ebp - 0x260]
push eax
call fcn.00402630
add esp, 0xc
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x264]
cmp eax, 7
jbe 0x411ca0
push eax
push dword [ebp - 0x278]
lea eax, [ebp - 0x278]
push eax
call fcn.00402630
add esp, 0xc
mov esi, dword [ebp - 0x2f8]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x4120f2
cmp dword [esi + 0x24], 7
lea edx, [esi + 0x10]
jbe 0x411cbe
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 0x411ce7
sub ecx, dword [ebp - 0x2e0]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x278]
call fcn.00402780
lea edx, [esi + 0x28]
mov byte [ebp - 4], 0x13
cmp dword [edx + 0x14], 7
jbe 0x411d16
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 0x411d40
sub ecx, dword [ebp - 0x2e0]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.00402780
push ecx
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.00410b90
mov ecx, dword [ebp - 0x21c]
mov byte [ebp - 0x2d9], al
cmp ecx, 7
jbe 0x411d9f
push ecx
push dword [ebp - 0x230]
lea eax, [ebp - 0x230]
push eax
call fcn.00402630
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 0x411de0
push eax
push dword [ebp - 0x278]
lea eax, [ebp - 0x278]
push eax
call fcn.00402630
add esp, 0xc
cmp byte [ebp - 0x2d9], 0
jne 0x412064
mov edx, dword [esi + 0x38]
lea ecx, [esi + 0x28]
mov eax, bind
sub eax, edx
cmp eax, 0x38
jb 0x4121ab
cmp dword [ecx + 0x14], 7
jbe 0x411e0b
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.004028b0
or edi, 0x4000
push 4
push 0x647224
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 0x15
call fcn.0040a240
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 0x411ea0
mov ecx, dword [esi + 0x10]
push dword [esi + 0x20]
push ecx
lea ecx, [ebp - 0x278]
call fcn.0040a240
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 0x647220
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x17
call fcn.0040a240
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 0x411f88
push eax
push dword [ebp - 0x230]
lea eax, [ebp - 0x230]
push eax
call fcn.00402630
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 0x411fc6
push eax
push dword [ebp - 0x278]
lea eax, [ebp - 0x278]
push eax
call fcn.00402630
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.00402470
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.00490360
add esp, 0xc
lea eax, [ebp - 0x218]
push edi
push 0xff
push eax
call fcn.004223a0
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 0x41205e
push eax
push dword [ebp - 0x248]
lea eax, [ebp - 0x248]
push eax
call fcn.00402630
add esp, 0xc
mov edi, dword [ebp - 0x2e0]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x41208a
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x412086
cmp esi, dword [eax + 8]
jne 0x412086
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x412076
mov esi, eax
jmp 0x4120a0
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x4120a0
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x412094
cmp byte [esi + 0xd], 0
je 0x411cb2
mov byte [ebp - 0x2d9], 0
jmp 0x41215e
push 0x100
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.00490360
add esp, 0xc
lea eax, [ebp - 0x118]
push 0x6471fc
push 0xff
push eax
call fcn.00422380
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp - 0x2d9], 0
jmp 0x41215e
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x412111
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x412105
cmp byte [esi + 0xd], 0
je 0x411991
push 0x200
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00490360
add esp, 0xc
lea eax, [ebp - 0x218]
push str.copy_file_list_to_update_dir_success
push 0xff
push eax
call fcn.004223a0
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.00422990
push 0x40
push dword [ebp - 0x2f8]
call fcn.00439938
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.004398fa
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.004012e0
call fcn.004012e0
int3