Function at 0x416e20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68d1cc
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x737100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x280], ecx
mov dword [ebp - 0x308], 0
push str.begin_copy_file_list_to_update_dir
call fcn.004251f0
add esp, 4
mov ecx, dword [ebp + 0x10]
call fcn.00421a60
movzx eax, al
test eax, eax
je 0x416e8c
push str.copy_file_list_to_update_dir:_not_need_copy_file_list
call fcn.004251f0
add esp, 4
mov al, 1
jmp 0x417807
lea ecx, [ebp - 0x274]
call fcn.004215f0
mov dword [ebp - 4], 0
mov byte [ebp - 0x251], 1
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x29c], ecx
mov ecx, dword [ebp - 0x29c]
call fcn.00421ac0
mov dword [ebp - 0x260], eax
mov ecx, dword [ebp - 0x29c]
call fcn.00421aa0
mov dword [ebp - 0x2d4], eax
jmp 0x416ee1
mov edx, dword [ebp - 0x260]
add edx, 0x18
mov dword [ebp - 0x260], edx
mov eax, dword [ebp - 0x260]
cmp eax, dword [ebp - 0x2d4]
je 0x4171da
mov ecx, dword [ebp - 0x260]
mov dword [ebp - 0x298], ecx
mov ecx, dword [ebp - 0x298]
call fcn.0040cda0
mov esi, eax
mov ecx, dword [ebp + 8]
call fcn.0040cda0
cmp esi, eax
ja 0x416f49
push 0x71d9dc
call fcn.00425110
add esp, 4
mov byte [ebp - 0x253], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x274]
call fcn.00417830
mov al, byte [ebp - 0x253]
jmp 0x417807
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
call fcn.0040cda0
push eax
lea edx, [ebp - 0x70]
push edx
mov ecx, dword [ebp - 0x298]
call fcn.00402f70
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x250]
push ecx
call fcn.00409530
add esp, 8
mov dword [ebp - 0x2d0], eax
mov edx, dword [ebp - 0x2d0]
mov dword [ebp - 0x2cc], edx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x2cc]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.0040dcc0
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x250]
call fcn.00403030
lea eax, [ebp - 0x28]
push eax
call fcn.004098d0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x416fe6
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00403030
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00403030
jmp 0x416ed2
lea ecx, [ebp - 0x40]
call fcn.00406070
mov byte [ebp - 4], 5
push 0x71d9f0
lea ecx, [ebp - 0x130]
call fcn.00403090
mov byte [ebp - 4], 6
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.0040c2b0
add esp, 0xc
test eax, eax
je 0x41702d
mov dword [ebp - 0x294], 1
jmp 0x417037
mov dword [ebp - 0x294], 0
mov dl, byte [ebp - 0x294]
mov byte [ebp - 0x254], dl
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x130]
call fcn.00403030
movzx eax, byte [ebp - 0x254]
test eax, eax
je 0x417197
lea ecx, [ebp - 0x28]
push ecx
push str.copy_file_list_to_update_dir_failed__rename_update_file_error_
lea edx, [ebp - 0x220]
push edx
call fcn.0040db60
add esp, 0xc
mov dword [ebp - 0x2f0], eax
mov eax, dword [ebp - 0x2f0]
mov dword [ebp - 0x2c8], eax
mov byte [ebp - 4], 7
push 0x71da04
mov ecx, dword [ebp - 0x2c8]
push ecx
lea edx, [ebp - 0x238]
push edx
call fcn.0040db20
add esp, 0xc
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp - 0x2c4]
mov dword [ebp - 0x2c0], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x2c0]
push edx
lea eax, [ebp - 0x160]
push eax
call fcn.0040dcc0
add esp, 0xc
mov dword [ebp - 0x2bc], eax
mov ecx, dword [ebp - 0x2bc]
mov dword [ebp - 0x2a8], ecx
mov byte [ebp - 4], 9
push 0x71da00
mov edx, dword [ebp - 0x2a8]
push edx
lea eax, [ebp - 0xb8]
push eax
call fcn.0040db20
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x160]
call fcn.00403030
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x238]
call fcn.00403030
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x220]
call fcn.00403030
lea ecx, [ebp - 0xb8]
call fcn.00403020
push eax
call fcn.004251f0
add esp, 4
mov byte [ebp - 0x251], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb8]
call fcn.00403030
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00403030
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00403030
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00403030
jmp 0x4171da
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x274]
call fcn.004215c0
mov ecx, eax
call fcn.00406000
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00403030
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00403030
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00403030
jmp 0x416ed2
movzx eax, byte [ebp - 0x251]
test eax, eax
jne 0x4171ea
jmp 0x4175c7
mov byte [ebp - 0x252], 1
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x2a0], ecx
mov ecx, dword [ebp - 0x2a0]
call fcn.00421ac0
mov dword [ebp - 0x264], eax
mov ecx, dword [ebp - 0x2a0]
call fcn.00421aa0
mov dword [ebp - 0x2b4], eax
jmp 0x41722d
mov edx, dword [ebp - 0x264]
add edx, 0x18
mov dword [ebp - 0x264], edx
mov eax, dword [ebp - 0x264]
cmp eax, dword [ebp - 0x2b4]
je 0x4174ff
mov ecx, dword [ebp - 0x264]
mov dword [ebp - 0x268], ecx
mov ecx, dword [ebp - 0x268]
call fcn.0040cda0
mov esi, eax
mov ecx, dword [ebp + 8]
call fcn.0040cda0
cmp esi, eax
ja 0x417295
push 0x71da90
call fcn.00425110
add esp, 4
mov byte [ebp - 0x255], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x274]
call fcn.00417830
mov al, byte [ebp - 0x255]
jmp 0x417807
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
call fcn.0040cda0
push eax
lea edx, [ebp - 0x88]
push edx
mov ecx, dword [ebp - 0x268]
call fcn.00402f70
mov byte [ebp - 4], 0xe
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x208]
push ecx
call fcn.00409530
add esp, 8
mov dword [ebp - 0x2b0], eax
mov edx, dword [ebp - 0x2b0]
mov dword [ebp - 0x2ac], edx
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x2ac]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.0040dcc0
add esp, 0xc
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x208]
call fcn.00403030
lea ecx, [ebp - 0x58]
call fcn.00403020
push eax
lea ecx, [ebp - 0x100]
call fcn.00403090
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x268]
call fcn.00403020
push eax
lea ecx, [ebp - 0x118]
call fcn.00403090
mov byte [ebp - 4], 0x13
push 0x1388
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x118]
push ecx
mov ecx, dword [ebp - 0x280]
call fcn.00416be0
movzx edx, al
test edx, edx
jne 0x41736c
mov dword [ebp - 0x290], 1
jmp 0x417376
mov dword [ebp - 0x290], 0
mov al, byte [ebp - 0x290]
mov byte [ebp - 0x256], al
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x118]
call fcn.00403030
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x100]
call fcn.00403030
movzx ecx, byte [ebp - 0x256]
test ecx, ecx
je 0x4174df
mov edx, dword [ebp - 0x268]
push edx
push str.copy_file_list_to_update_dir_failed__move_temp_file_to_update_file_error_
lea eax, [ebp - 0x1c0]
push eax
call fcn.0040db60
add esp, 0xc
mov dword [ebp - 0x2e0], eax
mov ecx, dword [ebp - 0x2e0]
mov dword [ebp - 0x2d8], ecx
mov byte [ebp - 4], 0x14
push 0x71daa8
mov edx, dword [ebp - 0x2d8]
push edx
lea eax, [ebp - 0x1d8]
push eax
call fcn.0040db20
add esp, 0xc
mov dword [ebp - 0x2b8], eax
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp - 0x2dc], ecx
mov byte [ebp - 4], 0x15
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x2dc]
push eax
lea ecx, [ebp - 0x1f0]
push ecx
call fcn.0040dcc0
add esp, 0xc
mov dword [ebp - 0x2e4], eax
mov edx, dword [ebp - 0x2e4]
mov dword [ebp - 0x2e8], edx
mov byte [ebp - 4], 0x16
push 0x71daa4
mov eax, dword [ebp - 0x2e8]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.0040db20
add esp, 0xc
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x1f0]
call fcn.00403030
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x1d8]
call fcn.00403030
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x1c0]
call fcn.00403030
lea ecx, [ebp - 0xa0]
call fcn.00403020
push eax
call fcn.004251f0
add esp, 4
mov byte [ebp - 0x252], 0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xa0]
call fcn.00403030
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x58]
call fcn.00403030
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.00403030
jmp 0x4174ff
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x58]
call fcn.00403030
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.00403030
jmp 0x41721e
movzx edx, byte [ebp - 0x252]
test edx, edx
jne 0x41750f
jmp 0x4175c7
lea eax, [ebp - 0x274]
mov dword [ebp - 0x28c], eax
lea ecx, [ebp - 0x278]
push ecx
mov ecx, dword [ebp - 0x28c]
call fcn.00421630
lea edx, [ebp - 0x257]
push edx
mov ecx, dword [ebp - 0x28c]
call fcn.00421610
jmp 0x41754c
lea ecx, [ebp - 0x278]
call fcn.00421550
movzx eax, byte [ebp - 0x257]
push eax
lea ecx, [ebp - 0x278]
call fcn.00421590
movzx ecx, al
test ecx, ecx
je 0x41758e
lea ecx, [ebp - 0x278]
call fcn.00421570
mov dword [ebp - 0x2ec], eax
mov ecx, dword [ebp - 0x2ec]
add ecx, 0x18
call fcn.00403020
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x417541
push str.copy_file_list_to_update_dir_success
call fcn.004251f0
add esp, 4
mov byte [ebp - 0x258], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x274]
call fcn.00417830
mov al, byte [ebp - 0x258]
jmp 0x417807
lea eax, [ebp - 0x274]
mov dword [ebp - 0x288], eax
lea ecx, [ebp - 0x27c]
push ecx
mov ecx, dword [ebp - 0x288]
call fcn.00421630
lea edx, [ebp - 0x259]
push edx
mov ecx, dword [ebp - 0x288]
call fcn.00421610
jmp 0x417604
lea ecx, [ebp - 0x27c]
call fcn.00421550
movzx eax, byte [ebp - 0x259]
push eax
lea ecx, [ebp - 0x27c]
call fcn.00421590
movzx ecx, al
test ecx, ecx
je 0x4177e8
lea ecx, [ebp - 0x27c]
call fcn.00421570
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp - 0x26c]
call fcn.00403020
push eax
lea ecx, [ebp - 0xd0]
call fcn.00403090
mov byte [ebp - 4], 0x1b
mov ecx, dword [ebp - 0x26c]
add ecx, 0x18
call fcn.00403020
push eax
lea ecx, [ebp - 0xe8]
call fcn.00403090
mov byte [ebp - 4], 0x1c
push 0x1388
lea edx, [ebp - 0xd0]
push edx
lea eax, [ebp - 0xe8]
push eax
mov ecx, dword [ebp - 0x280]
call fcn.00416be0
movzx ecx, al
test ecx, ecx
jne 0x41769d
mov dword [ebp - 0x284], 1
jmp 0x4176a7
mov dword [ebp - 0x284], 0
mov dl, byte [ebp - 0x284]
mov byte [ebp - 0x25b], dl
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0xe8]
call fcn.00403030
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd0]
call fcn.00403030
movzx eax, byte [ebp - 0x25b]
test eax, eax
je 0x4177e3
mov ecx, dword [ebp - 0x26c]
add ecx, 0x18
push ecx
push str.copy_file_list_to_update_dir_failed__restore_file_error_
lea edx, [ebp - 0x178]
push edx
call fcn.0040db60
add esp, 0xc
mov dword [ebp - 0x2f4], eax
mov eax, dword [ebp - 0x2f4]
mov dword [ebp - 0x2f8], eax
mov byte [ebp - 4], 0x1d
push 0x71dba0
mov ecx, dword [ebp - 0x2f8]
push ecx
lea edx, [ebp - 0x190]
push edx
call fcn.0040db20
add esp, 0xc
mov dword [ebp - 0x2fc], eax
mov eax, dword [ebp - 0x2fc]
mov dword [ebp - 0x300], eax
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x26c]
push ecx
mov edx, dword [ebp - 0x300]
push edx
lea eax, [ebp - 0x1a8]
push eax
call fcn.0040dcc0
add esp, 0xc
mov dword [ebp - 0x304], eax
mov ecx, dword [ebp - 0x304]
mov dword [ebp - 0x2a4], ecx
mov byte [ebp - 4], 0x1f
push 0x71db9c
mov edx, dword [ebp - 0x2a4]
push edx
lea eax, [ebp - 0x148]
push eax
call fcn.0040db20
add esp, 0xc
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x1a8]
call fcn.00403030
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x190]
call fcn.00403030
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x178]
call fcn.00403030
lea ecx, [ebp - 0x148]
call fcn.00403020
push eax
call fcn.004251f0
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x148]
call fcn.00403030
jmp 0x4175f9
mov byte [ebp - 0x25a], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x274]
call fcn.00417830
mov al, byte [ebp - 0x25a]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004815ec
mov esp, ebp
pop ebp
ret 0xc