Function at 0x46b530
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov esi, eax
mov dword [ebp - 0xc], 0
jbe 0x46c09d
lea esp, [esp]
mov eax, dword [ebp + 0xc]
inc dword [eax]
mov eax, dword [ebp - 0xc]
shl eax, 5
lea eax, [eax + esi + 0xd8]
mov dword [esi + 0x8d8], eax
mov ebx, dword [eax]
add ebx, dword [esi + 0x10914]
mov edi, ebx
and edi, 0x80001fff
jns 0x46b582
dec edi
or edi, 0xffffe000
inc edi
mov eax, ebx
sub eax, edi
mov dword [ebp - 8], eax
test ebx, ebx
jns 0x46b67e
mov ecx, dword [esi + 0x10904]
push 0x401
push str.___please_check_that_you_have_transferred_or_created_the_zipfile_in_the_n__appropriate_BINARY_mode_and_that_you_have_compiled_UnZip_properly__n
push ecx
lea edi, [esi + 0x8dc]
push str.error___s_:__attempt_to_seek_before_beginning_of_zipfile_n_s
push edi
call fcn.004a931b
mov edx, dword [esi + 0x10b54]
add esp, 0x10
push eax
push edi
push esi
call edx
mov eax, dword [ebp + 0xc]
cmp dword [eax], 1
mov dword [ebp + 0x20], 2
jne 0x46b66f
cmp dword [esi + 0x10914], 0
je 0x46b66f
push 0x401
push str.___attempting_to_re_compensate__n
lea edi, [esi + 0x8dc]
push edi
call fcn.004a931b
mov ecx, dword [esi + 0x10b54]
add esp, 8
push eax
push edi
push esi
call ecx
mov edx, dword [esi + 0x10914]
mov ecx, dword [esi + 0x8d8]
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x10914], 0
mov ebx, dword [ecx]
mov edi, ebx
and edi, 0x80001fff
mov dword [eax], edx
jns 0x46b634
dec edi
or edi, 0xffffe000
inc edi
mov eax, ebx
sub eax, edi
mov dword [ebp - 8], eax
test ebx, ebx
jns 0x46b67b
mov edx, dword [esi + 0x10904]
push 0x401
push str.___please_check_that_you_have_transferred_or_created_the_zipfile_in_the_n__appropriate_BINARY_mode_and_that_you_have_compiled_UnZip_properly__n
push edx
push str.error___s_:__attempt_to_seek_before_beginning_of_zipfile_n_s
lea edi, [esi + 0x8dc]
push edi
call fcn.004a931b
add esp, 0x10
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov dword [ebp + 0x20], 3
jmp 0x46c08d
mov eax, dword [ebp - 8]
cmp eax, dword [esi + 0x10910]
je 0x46b721
mov ecx, dword [ebp - 8]
mov edx, dword [esi + 0x10908]
push 0
push ecx
push edx
call fcn.004af41e
mov ecx, dword [esi + 0x10908]
add esp, 0xc
mov dword [esi + 0x10910], eax
mov eax, dword [esi + 0x108e4]
push 0x2000
push eax
push ecx
call fcn.004aeb0a
add esp, 0xc
mov dword [esi + 0x108ec], eax
test eax, eax
jg 0x46b709
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push 0x401
push edx
push str.lseek
push ecx
lea edi, [esi + 0x8dc]
push str.file__lu:__bad_zipfile_offset___s_:___ld_n
push edi
call fcn.004a931b
mov edx, dword [esi + 0x10b54]
add esp, 0x14
push eax
push edi
push esi
call edx
mov dword [ebp + 0x20], 3
jmp 0x46c08d
mov ecx, dword [esi + 0x108e4]
add ecx, edi
sub eax, edi
mov dword [esi + 0x108e8], ecx
mov dword [esi + 0x108ec], eax
jmp 0x46b73f
mov eax, dword [esi + 0x108e4]
mov edx, dword [esi + 0x108e8]
sub edx, eax
sub edx, edi
add dword [esi + 0x108ec], edx
add eax, edi
mov dword [esi + 0x108e8], eax
lea edi, [esi + 0xc8]
push edi
mov eax, 4
call fcn.004660d0
add esp, 4
test eax, eax
jne 0x46b793
lea edi, [esi + 0x8dc]
push 0x401
push ebx
push 0x4e01ec
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
push str.file__lu:__bad_zipfile_offset___s_:___ld_n
push edi
call fcn.004a931b
mov edx, dword [esi + 0x10b54]
add esp, 0x14
push eax
push edi
push esi
call edx
mov dword [ebp + 0x20], 3
jmp 0x46c08d
push 4
push 0x4eb5d4
push edi
call fcn.004a93c0
add esp, 0xc
test eax, eax
je 0x46b8bb
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push 0x401
push ebx
push str.local_header_sig
push ecx
lea edi, [esi + 0x8dc]
push str.file__lu:__bad_zipfile_offset___s_:___ld_n
push edi
call fcn.004a931b
mov edx, dword [esi + 0x10b54]
add esp, 0x14
push eax
push edi
push esi
call edx
mov eax, dword [ebp + 0xc]
cmp dword [eax], 1
mov dword [ebp + 0x20], 2
jne 0x46b7f5
cmp dword [esi + 0x10914], 0
jne 0x46b80e
jmp 0x46b802
cmp dword [esi + 0x10914], 0
jne 0x46c08d
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], 0
je 0x46c08d
push 0x401
push str.___attempting_to_re_compensate__n
push edi
call fcn.004a931b
mov edx, dword [esi + 0x10b54]
add esp, 8
push eax
push edi
push esi
call edx
mov eax, dword [esi + 0x10914]
test eax, eax
je 0x46b847
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov dword [esi + 0x10914], 0
jmp 0x46b852
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov dword [esi + 0x10914], eax
mov ecx, dword [esi + 0x8d8]
mov edx, dword [ecx]
push edx
call fcn.004662f0
add esp, 4
test eax, eax
jne 0x46b8ad
lea eax, [esi + 0xc8]
push eax
mov eax, 4
call fcn.004660d0
add esp, 4
test eax, eax
je 0x46b75d
push 4
lea eax, [esi + 0xc8]
push 0x4eb5d4
push eax
call fcn.004a93c0
add esp, 0xc
test eax, eax
je 0x46b8bb
push 0x401
push ebx
push str.local_header_sig
jmp 0x46b768
cmp eax, 3
je 0x46b787
jmp 0x46b75d
mov ecx, esi
call fcn.00465a10
mov ebx, eax
test ebx, ebx
je 0x46b8fa
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push 0x421
push ecx
lea edi, [esi + 0x8dc]
push str.file__lu:__bad_local_header_n
push edi
call fcn.004a931b
mov edx, dword [esi + 0x10b54]
add esp, 0xc
push eax
push edi
push esi
call edx
mov dword [ebp + 0x20], ebx
jmp 0x46c08d
movzx edi, word [esi + 0x10936]
xor eax, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], eax
cmp edi, eax
je 0x46bb10
cmp edi, 0x104
jb 0x46b957
push 0x401
lea ebx, [esi + 0x8dc]
push str.warning:__filename_too_long__truncating._n
push ebx
call fcn.004a931b
add esp, 8
push eax
mov eax, dword [esi + 0x10b54]
push ebx
push esi
call eax
add edi, 0xfffffefd
mov dword [ebp - 8], edi
mov edi, 0x103
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], edi
jmp 0x46b95a
mov dword [ebp - 8], eax
lea ebx, [esi + 0x109f0]
push ebx
mov eax, edi
call fcn.004660d0
add esp, 4
test eax, eax
jne 0x46b979
mov eax, 0x33
jmp 0x46bac3
mov byte [ebx + edi], 0
mov eax, dword [esi + 0x8d8]
mov cl, byte [eax + 0x13]
test cl, cl
jne 0x46b99c
mov dl, byte [eax + 0x12]
cmp dl, 0x19
je 0x46b99c
cmp dl, 0x1a
je 0x46b99c
cmp dl, 0x28
jne 0x46b9b0
cmp cl, 6
je 0x46b9b0
cmp cl, 0xb
jne 0x46b9b8
cmp byte [eax + 0x12], 0x32
jne 0x46b9b8
lea esp, [esp]
push ebx
push ebx
call dword [sym.imp.USER32.dll_OemToCharA]
mov ecx, dword [esi + 0x8d8]
test byte [ecx + 0x18], 0x10
je 0x46ba2c
lea edi, [esi + 0x109f0]
mov ebx, edi
mov al, byte [ebx]
mov byte [ebp - 1], al
test al, al
je 0x46ba26
call fcn.004b0bae
push eax
push ebx
call fcn.004b06f0
add esp, 8
cmp eax, 1
jbe 0x46b9fb
test eax, eax
je 0x46ba1d
lea ecx, [ecx]
mov dl, byte [ebx]
mov byte [edi], dl
inc edi
inc ebx
dec eax
jne 0x46b9f0
jmp 0x46ba1d
movsx eax, byte [ebp - 1]
push eax
call fcn.004aa5cc
add esp, 4
test eax, eax
movsx eax, byte [ebp - 1]
je 0x46ba19
push eax
call fcn.004ab46d
add esp, 4
mov byte [edi], al
inc edi
inc ebx
mov al, byte [ebx]
mov byte [ebp - 1], al
test al, al
jne 0x46b9d5
mov byte [edi], 0
mov edi, dword [ebp - 0x10]
mov eax, dword [esi + 0x8d8]
test byte [eax + 0x18], 0x20
je 0x46ba5c
cmp edi, 8
jbe 0x46ba5c
cmp byte [esi + 0x109f8], 0x2e
lea eax, [esi + 0x109f8]
jne 0x46ba5c
cmp byte [eax], 0
je 0x46ba5c
mov cl, byte [eax + 1]
inc eax
mov byte [eax - 1], cl
test cl, cl
jne 0x46ba51
cmp dword [ebp - 8], 0
je 0x46babc
push 0x401
lea ebx, [esi + 0x88dc]
lea eax, [esi + 0x109f0]
lea edi, [esi + 0x8dc]
call fcn.0046d700
push eax
push str.___s___n
push edi
call fcn.004a931b
mov edx, dword [esi + 0x10b54]
add esp, 0xc
push eax
push edi
push esi
call edx
mov eax, dword [esi + 0x108e8]
sub eax, dword [esi + 0x10914]
sub eax, dword [esi + 0x108e4]
add eax, dword [esi + 0x10910]
add eax, dword [ebp - 8]
push eax
call fcn.004662f0
add esp, 4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x46bb10
cmp eax, dword [ebp + 0x20]
jle 0x46bacb
mov dword [ebp + 0x20], eax
cmp eax, 1
jle 0x46bb10
push 0x401
push 0x4d6454
lea ebx, [esi + 0x88dc]
lea eax, [esi + 0x109f0]
lea edi, [esi + 0x8dc]
call fcn.0046d700
push eax
push str._s:__bad_filename_length___s__n
push edi
call fcn.004a931b
mov ecx, dword [esi + 0x10b54]
add esp, 0x10
push eax
push edi
push esi
call ecx
jmp 0x46c08d
mov edx, dword [esi + 0x8d8]
mov eax, dword [edx + 0x1c]
test eax, eax
je 0x46bbe6
lea ecx, [esi + 0x109f0]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x46bb47
test dl, dl
je 0x46bb43
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x46bb47
add eax, 2
add ecx, 2
test dl, dl
jne 0x46bb27
xor eax, eax
jmp 0x46bb4c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x46bbc7
push 0x401
lea ebx, [esi + 0x88dc]
lea eax, [esi + 0x109f0]
lea edi, [esi + 0x8dc]
call fcn.0046d700
push eax
mov eax, dword [esi + 0x8d8]
mov eax, dword [eax + 0x1c]
lea ebx, [esi + 0xc8dc]
call fcn.0046d700
push eax
push str._s:__mismatching__local__filename___s___n_________continuing_with__central__filename_version_n
push edi
call fcn.004a931b
mov ecx, dword [esi + 0x10b54]
add esp, 0x10
push eax
push edi
push esi
call ecx
mov edx, dword [esi + 0x8d8]
mov ecx, dword [edx + 0x1c]
lea edx, [esi + 0x109f0]
lea ebx, [ebx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x46bbb0
cmp dword [ebp + 0x20], 1
jge 0x46bbc7
mov dword [ebp + 0x20], 1
mov eax, dword [esi + 0x8d8]
mov ecx, dword [eax + 0x1c]
push ecx
call fcn.004aa14e
mov edx, dword [esi + 0x8d8]
add esp, 4
mov dword [edx + 0x1c], 0
cmp word [esi + 0x10934], 0
jne 0x46bc63
mov eax, dword [esi + 0x8d8]
test byte [eax + 0x18], 1
mov ecx, dword [esi + 0x10920]
mov dword [ebp - 0x14], ecx
je 0x46bc0b
sub ecx, 0xc
mov dword [ebp - 0x14], ecx
mov eax, dword [esi + 0x10924]
cmp eax, ecx
je 0x46bc63
push 0x401
push ecx
push eax
lea ebx, [esi + 0x88dc]
lea eax, [esi + 0x109f0]
lea edi, [esi + 0x8dc]
call fcn.0046d700
push eax
push str._s:__ucsize__lu____csize__lu_for_STORED_entry_n_________continuing_with__compressed__size_value_n
push edi
call fcn.004a931b
mov ecx, dword [esi + 0x10b54]
add esp, 0x14
push eax
push edi
push esi
call ecx
cmp dword [ebp + 0x20], 1
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x10924], edx
jge 0x46bc63
mov dword [ebp + 0x20], 1
mov eax, dword [esi + 0x10918]
test eax, eax
je 0x46bc80
push eax
call fcn.004aa14e
add esp, 4
mov dword [esi + 0x10918], 0
movzx edi, word [esi + 0x10938]
test edi, edi
je 0x46bcfd
mov eax, dword [esi + 0x10918]
test eax, eax
je 0x46bc9e
push eax
call fcn.004aa14e
add esp, 4
push edi
call fcn.004aa188
add esp, 4
mov dword [esi + 0x10918], eax
test eax, eax
jne 0x46bd7f
push 0x401
push edi
lea ebx, [esi + 0x8dc]
push str.warning:__extra_field_too_long___d_.__Ignoring..._n
push ebx
call fcn.004a931b
add esp, 0xc
push eax
mov eax, dword [esi + 0x10b54]
push ebx
push esi
call eax
mov ecx, dword [esi + 0x108e8]
sub ecx, dword [esi + 0x10914]
sub ecx, dword [esi + 0x108e4]
add ecx, dword [esi + 0x10910]
add ecx, edi
push ecx
call fcn.004662f0
add esp, 4
mov eax, dword [esi + 0x8d8]
test byte [eax + 0x18], 1
je 0x46be22
mov edx, dword [esi + 8]
mov ecx, esi
call fcn.00472b90
test eax, eax
je 0x46be22
cmp eax, 1
jne 0x46bddf
mov eax, dword [esi + 0x44]
test eax, eax
je 0x46bd39
cmp dword [esi + 0x38], 0
jne 0x46bd75
test eax, eax
jne 0x46bd3f
cmp dword [esi + 0x38], 0
jne 0x46bd75
push 0x401
lea ebx, [esi + 0x88dc]
lea eax, [esi + 0x109f0]
lea edi, [esi + 0x8dc]
call fcn.0046d700
push eax
push str.___skipping:___22s__incorrect_password_n
push edi
call fcn.004a931b
mov ecx, dword [esi + 0x10b54]
add esp, 0xc
push eax
push edi
push esi
call ecx
mov eax, dword [ebp + 0x10]
inc dword [eax]
jmp 0x46c08d
push eax
mov eax, edi
call fcn.004660d0
add esp, 4
test eax, eax
jne 0x46bcfd
mov eax, 0x33
cmp dword [ebp + 0x20], eax
jge 0x46bd9f
mov dword [ebp + 0x20], eax
push 0x401
push 0x4d6454
lea ebx, [esi + 0x88dc]
lea eax, [esi + 0x109f0]
lea edi, [esi + 0x8dc]
call fcn.0046d700
push eax
push str._s:__bad_extra_field_length___s__n
push edi
call fcn.004a931b
mov edx, dword [esi + 0x10b54]
add esp, 0x10
push eax
push edi
push esi
call edx
jmp 0x46c08d
cmp eax, dword [ebp + 0x20]
jle 0x46bde7
mov dword [ebp + 0x20], eax
push 0x401
lea ebx, [esi + 0x88dc]
lea eax, [esi + 0x109f0]
lea edi, [esi + 0x8dc]
call fcn.0046d700
push eax
push str.___skipping:___22s__unable_to_get_password_n
push edi
call fcn.004a931b
mov edx, dword [esi + 0x10b54]
add esp, 0xc
push eax
push edi
push esi
call edx
jmp 0x46c08d
cmp dword [esi + 0x44], 0
jne case.0x46bfe0.101
cmp dword [esi + 0x14], 0
jne case.0x46bfe0.101
cmp dword [esi + 0xa0], 0
jne case.0x46bfe0.101
mov dword [ebp - 8], 0
lea ebx, [ebx]
mov eax, dword [esi + 0x8d8]
cmp byte [eax + 0x13], 0
jne 0x46bed5
lea edi, [esi + 0x109f0]
push 0x2f
push edi
call fcn.004aa4de
add esp, 8
test eax, eax
jne 0x46bed5
cmp byte [edi], al
je 0x46bed5
cmp byte [edi], 0x5c
jne 0x46bec5
cmp dword [esi + 0x109bc], 0
jne 0x46bec2
mov ecx, dword [esi + 0x10904]
push 0x21
push ecx
lea ebx, [esi + 0x8dc]
push str.warning:___s_appears_to_use_backslashes_as_path_separators_n
push ebx
call fcn.004a931b
mov edx, dword [esi + 0x10b54]
add esp, 0xc
push eax
push ebx
push esi
call edx
cmp dword [ebp + 0x20], 0
mov dword [esi + 0x109bc], 1
jne 0x46bec2
mov dword [ebp + 0x20], 1
mov byte [edi], 0x2f
push edi
call fcn.004b1232
mov edi, eax
add esp, 4
cmp byte [edi], 0
jne 0x46be75
cmp dword [ebp - 8], 0
jne 0x46bf49
cmp byte [esi + 0x109f0], 0x2f
jne 0x46bf49
push 0x401
lea ebx, [esi + 0x88dc]
lea eax, [esi + 0x109f0]
lea edi, [esi + 0x8dc]
call fcn.0046d700
push eax
push str.warning:__stripped_absolute_path_spec_from__s_n
push edi
call fcn.004a931b
add esp, 0xc
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
cmp dword [ebp + 0x20], 0
jne 0x46bf30
mov dword [ebp + 0x20], 1
jmp 0x46bf30
lea eax, [esi + 0x109f1]
mov cl, byte [eax]
mov byte [eax - 1], cl
inc eax
test cl, cl
jne 0x46bf36
cmp byte [esi + 0x109f0], 0x2f
je 0x46bf30
mov ecx, dword [ebp - 8]
push ecx
mov ecx, esi
call fcn.00468790
mov ecx, eax
add esp, 4
and ecx, 0xffff80ff
je 0x46bf69
cmp dword [ebp + 0x20], ecx
jge 0x46bf69
mov dword [ebp + 0x20], ecx
and eax, 0x7f00
cmp eax, 0x100
jg 0x46c0a7
lea edi, [esi + 0x109f0]
push edi
mov eax, esi
call fcn.00466d50
add esp, 4
cmp eax, 0xffffffff
je 0x46bff3
test eax, eax
je 0x46bfb0
cmp eax, 1
jne case.0x46bfe0.101
mov eax, dword [esi + 0x78]
cmp eax, 2
je case.0x46bfe0.100
cmp dword [esi + 0x4c], 0
je 0x46bfbc
cmp dword [ebp - 8], 0
jmp 0x46bfb6
mov eax, dword [esi + 0x78]
cmp eax, 2
je case.0x46bfe0.100
cmp eax, 1
je case.0x46bfe0.101
mov edx, dword [esi + 0x10b68]
mov eax, dword [edx + 8]
test eax, eax
je 0x46bfd3
push edi
call eax
jmp 0x46bfd8
mov eax, 0x68
add eax, 0xffffff9c
cmp eax, 5
ja case.0x46bfe0.101
jmp dword [eax*4 + 0x46c1fc]
mov dword [ebp - 8], 1
jmp 0x46be50
cmp dword [esi + 0x1c], 0
je case.0x46bfe0.101
cmp dword [ebp - 8], 0
je 0x46c08d
mov eax, dword [esi + 0x10b64]
test eax, eax
je 0x46c02a
mov edx, dword [esi + 0x10904]
push 0
lea ecx, [esi + 0x109f0]
push ecx
push edx
push 1
push esi
call eax
test eax, eax
jne 0x46c1e7
mov eax, esi
mov dword [esi + 0x109c0], 0
call fcn.0046c220
test eax, eax
je 0x46c061
mov ecx, dword [ebp + 0x20]
cmp eax, ecx
jle 0x46c04b
mov ecx, eax
mov dword [ebp + 0x20], ecx
cmp dword [esi + 0x109c0], 1
jg 0x46c1f3
cmp ecx, 0x50
je 0x46c1f3
mov eax, dword [esi + 0x10b64]
test eax, eax
je 0x46c08d
lea ecx, [esi + 0x10924]
push ecx
mov ecx, dword [esi + 0x10904]
lea edx, [esi + 0x109f0]
push edx
push ecx
push 3
push esi
call eax
test eax, eax
jne 0x46c1e7
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp + 8]
jb 0x46b550
mov eax, dword [ebp + 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x1000
jne 0x46c109
lea eax, [ebp - 0x18]
push eax
push esi
call fcn.00467d80
mov ecx, dword [ebp - 0x18]
add esp, 8
test ecx, ecx
jne 0x46c0f9
test eax, eax
je 0x46c08d
push 0x401
lea edi, [esi + 0x8dc]
push str.warning:__cannot_alloc_memory_for_dir_times_permissions_UID_GID_n
push edi
call fcn.004a931b
mov ecx, dword [esi + 0x10b54]
add esp, 8
push eax
push edi
push esi
call ecx
cmp dword [ebp + 0x20], 0
jne 0x46c08d
mov dword [ebp + 0x20], 1
jmp 0x46c08d
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
mov dword [eax], ecx
mov eax, dword [ebp + 0x18]
inc dword [eax]
mov dword [ecx], edx
jmp 0x46c08d
cmp eax, 0x1100
jne 0x46c15c
cmp dword [esi + 0x40], 0
mov eax, str.hard_disk
jne 0x46c120
mov eax, 0x4ce44c
push 0x401
push eax
lea ebx, [esi + 0x88dc]
lea eax, [esi + 0x109f0]
lea edi, [esi + 0x8dc]
call fcn.0046d700
push eax
push str.___skipping:___22s___svolume_label_n
push edi
call fcn.004a931b
add esp, 0x10
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
jmp 0x46c08d
cmp eax, 0x200
jle 0x46c08d
cmp dword [ebp + 0x20], 2
jge 0x46c08d
mov dword [ebp + 0x20], 2
jmp 0x46c08d
mov dword [esi + 0x78], 1
jmp case.0x46bfe0.101
mov dword [esi + 0x78], 2
cmp dword [esi + 0x78], 2
je 0x46c1a9
cmp dword [esi + 0x4c], 0
je 0x46c1a9
cmp dword [ebp - 8], 0
mov dword [ebp - 0x14], str.Target_file_newer._nSkipping__s_n
je 0x46c1b0
mov dword [ebp - 0x14], str.Target_file_exists._nSkipping__s_n
push 0
lea ebx, [esi + 0x88dc]
lea eax, [esi + 0x109f0]
lea edi, [esi + 0x8dc]
call fcn.0046d700
mov ecx, dword [ebp - 0x14]
push eax
push ecx
push edi
call fcn.004a931b
mov edx, dword [esi + 0x10b54]
add esp, 0xc
push eax
push edi
push esi
call edx
jmp 0x46c08d
mov eax, 0x50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret