Function at 0x497e10
Capabilities:
Enumerate pe sections
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x5d60c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x64], eax
mov ebx, edx
mov eax, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x5c], edx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x28], ecx
test ebx, ebx
je 0x498fc3
mov eax, dword [sym.imp.USER32.dll_OemToCharA]
mov dword [ebp - 0x60], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x40], eax
nop dword [eax]
inc dword [ecx]
mov eax, edx
mov ebx, dword [edi + 0x10914]
shl eax, 5
add eax, 0xd8
add eax, edi
mov dword [edi + 0x8d8], eax
add ebx, dword [eax]
mov ecx, ebx
and ecx, 0x80001fff
jns 0x497eae
dec ecx
or ecx, 0xffffe000
inc ecx
mov eax, ebx
mov dword [ebp - 0x34], ecx
sub eax, ecx
lea esi, [edi + 0x8dc]
mov dword [ebp - 0x2c], eax
test ebx, ebx
jns 0x497fb0
push 0x401
push ecx
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 dword [edi + 0x10904]
push str.error___s_:__attempt_to_seek_before_beginning_of_zipfile_n_s
push esi
call fcn.00436c30
add esp, 0x14
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x24], 2
cmp dword [ecx], 1
jne 0x497fa3
cmp dword [edi + 0x10914], 0
je 0x497fa3
push 0x401
push ecx
push str.___attempting_to_re_compensate__n
push esi
call fcn.00436c30
add esp, 0xc
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
mov ecx, dword [ebp - 0x4c]
mov eax, dword [edi + 0x10914]
mov dword [ecx], eax
mov eax, dword [edi + 0x8d8]
mov dword [edi + 0x10914], 0
mov ebx, dword [eax]
mov ecx, ebx
and ecx, 0x80001fff
jns 0x497f5e
dec ecx
or ecx, 0xffffe000
inc ecx
mov eax, ebx
mov dword [ebp - 0x34], ecx
sub eax, ecx
mov dword [ebp - 0x2c], eax
test ebx, ebx
jns 0x497fb0
push 0x401
push ecx
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 dword [edi + 0x10904]
push str.error___s_:__attempt_to_seek_before_beginning_of_zipfile_n_s
push esi
call fcn.00436c30
add esp, 0x14
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
mov esi, 3
mov dword [ebp - 0x24], esi
jmp 0x49875f
mov esi, 3
mov dword [ebp - 0x24], esi
jmp 0x498762
cmp eax, dword [edi + 0x10910]
je 0x498023
push 0
push eax
push dword [edi + 0x10908]
call fcn.005441f1
add esp, 0xc
mov dword [edi + 0x10910], eax
push 0x2000
push dword [edi + 0x108e4]
push dword [edi + 0x10908]
call fcn.00543773
add esp, 0xc
mov dword [edi + 0x108ec], eax
test eax, eax
jg 0x498018
push 0x401
push ecx
push dword [ebp - 0x2c]
push str.lseek
mov eax, dword [ebp - 0x28]
push dword [eax]
push str.file__lu:__bad_zipfile_offset___s_:___ld_n
push esi
call fcn.00436c30
add esp, 0x18
jmp 0x497f8b
mov edx, dword [edi + 0x108e4]
mov ecx, dword [ebp - 0x34]
jmp 0x498037
mov eax, dword [edi + 0x108ec]
add eax, dword [edi + 0x108e8]
mov edx, dword [edi + 0x108e4]
sub eax, edx
sub eax, ecx
mov dword [edi + 0x108ec], eax
lea eax, [edx + ecx]
lea edx, [edi + 0xc8]
mov dword [edi + 0x108e8], eax
push 4
mov ecx, edi
call fcn.004925f0
add esp, 4
test eax, eax
jne 0x49806c
push 0x401
push ecx
push ebx
push 0x5cc64c
jmp 0x498000
push 4
lea eax, [edi + 0xc8]
push 0x5d6c7c
push eax
call fcn.00539a10
add esp, 0xc
test eax, eax
je 0x49818e
mov eax, dword [ebp - 0x28]
push 0x401
push ecx
push ebx
push str.local_header_sig
push dword [eax]
push str.file__lu:__bad_zipfile_offset___s_:___ld_n
push esi
call fcn.00436c30
add esp, 0x18
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [edi + 0x10914]
mov dword [ebp - 0x24], 2
cmp dword [ecx], 1
jne 0x4980cf
test eax, eax
jne 0x4980e3
jmp 0x4980d7
test eax, eax
jne 0x498fbb
mov eax, dword [ebp - 0x4c]
cmp dword [eax], 0
je 0x498fbb
push 0x401
push ecx
push str.___attempting_to_re_compensate__n
push esi
call fcn.00436c30
add esp, 0xc
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
mov eax, dword [edi + 0x10914]
test eax, eax
je 0x498115
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
xor eax, eax
jmp 0x49811a
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov dword [edi + 0x10914], eax
mov ecx, edi
mov edx, dword [edi + 0x8d8]
mov edx, dword [edx]
call fcn.00492840
test eax, eax
jne 0x498174
push 4
lea edx, [edi + 0xc8]
mov ecx, edi
call fcn.004925f0
add esp, 4
test eax, eax
je 0x49817d
push 4
lea eax, [edi + 0xc8]
push 0x5d6c7c
push eax
call fcn.00539a10
add esp, 0xc
test eax, eax
je 0x49818e
push 0x401
push ecx
push ebx
push str.local_header_sig
jmp 0x498000
cmp eax, 3
je 0x497f96
push 0x401
push ecx
push ebx
push 0x5cc64c
jmp 0x498000
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
push 0x1a
mov ecx, edi
mov dword [ebp - 0x48], eax
call fcn.004925f0
add esp, 4
test eax, eax
jne 0x4981d8
mov eax, dword [ebp - 0x28]
push 0x421
push ecx
push dword [eax]
push str.file__lu:__bad_local_header_n
push esi
call fcn.00436c30
add esp, 0x10
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
mov esi, 0x33
mov dword [ebp - 0x24], esi
jmp 0x49875f
movzx eax, byte [ebp - 0x20]
movzx edx, byte [ebp - 0x1d]
movzx ecx, byte [ebp - 0x1b]
mov byte [edi + 0x10930], al
movzx eax, byte [ebp - 0x1f]
mov byte [edi + 0x10931], al
movzx eax, byte [ebp - 0x1e]
shl cx, 8
shl dx, 8
or dx, ax
movzx esi, byte [ebp - 0xf]
movzx eax, byte [ebp - 0x1c]
or cx, ax
movzx ebx, byte [ebp - 9]
movzx eax, byte [ebp - 0x18]
mov word [edi + 0x10934], cx
movzx ecx, byte [ebp - 0x17]
shl ecx, 8
add ecx, eax
shl esi, 8
movzx eax, byte [ebp - 0x19]
shl ecx, 8
add ecx, eax
shl bx, 8
movzx eax, byte [ebp - 0x1a]
shl ecx, 8
add ecx, eax
mov word [edi + 0x10932], dx
movzx eax, byte [ebp - 0x14]
mov dword [edi + 0x10928], ecx
movzx ecx, byte [ebp - 0x13]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebp - 0x15]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebp - 0x16]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebp - 0x10]
add esi, eax
mov dword [edi + 0x1092c], ecx
movzx eax, byte [ebp - 0x11]
movzx ecx, byte [ebp - 0xb]
shl esi, 8
add esi, eax
shl ecx, 8
movzx eax, byte [ebp - 0x12]
shl esi, 8
add esi, eax
movzx eax, byte [ebp - 0xc]
add ecx, eax
mov dword [edi + 0x10920], esi
movzx eax, byte [ebp - 0xd]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebp - 0xe]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebp - 0xa]
mov dword [edi + 0x10924], ecx
or bx, ax
movzx ecx, byte [ebp - 7]
movzx eax, byte [ebp - 8]
shl cx, 8
or cx, ax
mov word [edi + 0x10936], bx
mov word [edi + 0x10938], cx
test dl, 8
je 0x4982fe
mov ecx, dword [edi + 0x8d8]
mov eax, dword [ecx + 0xc]
mov dword [edi + 0x1092c], eax
mov esi, dword [ecx + 4]
mov dword [edi + 0x10920], esi
mov eax, dword [ecx + 8]
mov dword [edi + 0x10924], eax
movzx ebx, bx
xor eax, eax
mov dword [edi + 0x90], esi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], eax
test ebx, ebx
je 0x498516
cmp ebx, 0x104
jb 0x498359
push 0x401
push ecx
lea esi, [edi + 0x8dc]
push str.warning:__filename_too_long__truncating._n
push esi
call fcn.00436c30
add esp, 0xc
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
lea eax, [ebx - 0x103]
mov dword [ebp - 0x38], 1
mov ebx, 0x103
mov dword [ebp - 0x34], ebx
lea esi, [edi + 0x109f0]
mov dword [ebp - 0x3c], eax
push ebx
mov edx, esi
mov ecx, edi
call fcn.004925f0
add esp, 4
test eax, eax
jne 0x4983c3
push 0x401
push ecx
push 0x5cc650
lea edx, [edi + 0x88dc]
lea ecx, [edi + 0x109f0]
lea esi, [edi + 0x8dc]
call fcn.0049a550
push eax
push str._s:__bad_filename_length___s__n
push esi
call fcn.00436c30
add esp, 0x14
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
mov esi, 0x33
cmp dword [ebp - 0x48], esi
cmovge esi, dword [ebp - 0x48]
mov dword [ebp - 0x24], esi
jmp 0x49875f
mov byte [edi + ebx + 0x109f0], 0
mov eax, dword [edi + 0x8d8]
mov cl, byte [eax + 0x13]
test cl, cl
jne 0x4983ec
mov cl, byte [eax + 0x12]
cmp cl, 0x19
je 0x49840b
cmp cl, 0x1a
je 0x49840b
cmp cl, 0x28
jne 0x498400
jmp 0x49840b
cmp cl, 6
je 0x498400
cmp cl, 0xb
jne 0x49840b
cmp byte [eax + 0x12], 0x32
jne 0x49840b
nop dword [eax]
push esi
push esi
call dword [ebp - 0x60]
mov eax, dword [edi + 0x8d8]
test byte [eax + 0x18], 0x10
je 0x498476
mov al, byte [esi]
lea ebx, [edi + 0x109f0]
mov byte [ebp - 0x2d], al
test al, al
je 0x498470
call fcn.005450a9
push eax
push esi
call fcn.00544f29
mov ecx, eax
add esp, 8
cmp ecx, 1
jbe 0x498443
mov al, byte [esi]
inc esi
mov byte [ebx], al
inc ebx
sub ecx, 1
jne 0x498436
jmp 0x498467
movsx eax, byte [ebp - 0x2d]
push eax
mov dword [ebp - 0x2c], eax
call fcn.00541200
add esp, 4
test eax, eax
mov eax, dword [ebp - 0x2c]
je 0x498463
push eax
call fcn.0053a1b3
add esp, 4
mov byte [ebx], al
inc ebx
inc esi
mov al, byte [esi]
mov byte [ebp - 0x2d], al
test al, al
jne 0x498420
mov byte [ebx], 0
mov ebx, dword [ebp - 0x34]
mov eax, dword [edi + 0x8d8]
test byte [eax + 0x18], 0x20
je 0x4984a1
cmp ebx, 8
jbe 0x4984a1
cmp byte [edi + 0x109f8], 0x2e
lea ecx, [edi + 0x109f8]
jne 0x4984a1
mov al, byte [ecx + 1]
inc ecx
mov byte [ecx - 1], al
test al, al
jne 0x498496
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x498500
push 0x401
lea edx, [edi + 0x88dc]
lea ecx, [edi + 0x109f0]
lea esi, [edi + 0x8dc]
call fcn.0049a550
push ecx
push eax
push str.___s___n
push esi
call fcn.00436c30
add esp, 0x10
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
mov edx, dword [edi + 0x108e8]
mov ecx, edi
sub edx, dword [edi + 0x108e4]
sub edx, dword [edi + 0x10914]
add edx, ebx
add edx, dword [edi + 0x10910]
call fcn.00492840
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x498516
mov ecx, dword [ebp - 0x48]
mov esi, eax
cmp eax, ecx
cmovle esi, ecx
mov dword [ebp - 0x24], esi
jmp 0x498519
mov esi, dword [ebp - 0x24]
mov eax, dword [edi + 0x8d8]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x4985ec
lea ebx, [edi + 0x109f0]
mov ecx, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x498552
test dl, dl
je 0x49854e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x498552
add eax, 2
add ecx, 2
test dl, dl
jne 0x498532
xor eax, eax
jmp 0x498557
sbb eax, eax
or eax, 1
test eax, eax
je 0x4985ce
push 0x401
lea edx, [edi + 0x88dc]
mov ecx, ebx
lea esi, [edi + 0x8dc]
call fcn.0049a550
push ecx
mov ecx, dword [edi + 0x8d8]
lea edx, [edi + 0xc8dc]
push eax
mov ecx, dword [ecx + 0x1c]
call fcn.0049a550
push eax
push str._s:__mismatching__local__filename___s___n_________continuing_with__central__filename_version_n
push esi
call fcn.00436c30
add esp, 0x14
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
mov eax, dword [edi + 0x8d8]
mov ecx, dword [eax + 0x1c]
nop dword [eax]
mov al, byte [ecx]
lea ebx, [ebx + 1]
inc ecx
mov byte [ebx - 1], al
test al, al
jne 0x4985b0
mov esi, dword [ebp - 0x24]
mov eax, 1
cmp esi, 1
cmovl esi, eax
mov dword [ebp - 0x24], esi
mov eax, dword [edi + 0x8d8]
push dword [eax + 0x1c]
call fcn.0052fd09
mov eax, dword [edi + 0x8d8]
add esp, 4
mov dword [eax + 0x1c], 0
cmp word [edi + 0x10934], 0
jne 0x498666
mov eax, dword [edi + 0x8d8]
mov ecx, dword [edi + 0x10920]
test byte [eax + 0x18], 1
mov eax, dword [edi + 0x10924]
lea ebx, [ecx - 0xc]
cmove ebx, ecx
cmp eax, ebx
je 0x498666
push 0x401
push ecx
push ebx
push eax
lea edx, [edi + 0x88dc]
lea ecx, [edi + 0x109f0]
lea esi, [edi + 0x8dc]
call fcn.0049a550
push eax
push str._s:__ucsize__lu____csize__lu_for_STORED_entry_n_________continuing_with__compressed__size_value_n
push esi
call fcn.00436c30
add esp, 0x18
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
mov esi, dword [ebp - 0x24]
mov eax, 1
cmp esi, 1
mov dword [edi + 0x10924], ebx
cmovl esi, eax
mov dword [ebp - 0x24], esi
mov eax, dword [edi + 0x10918]
test eax, eax
je 0x498683
push eax
call fcn.0052fd09
add esp, 4
mov dword [edi + 0x10918], 0
movzx ebx, word [edi + 0x10938]
test ebx, ebx
je 0x4986ef
push ebx
call fcn.00531933
add esp, 4
mov dword [edi + 0x10918], eax
test eax, eax
jne 0x498785
push 0x401
push ecx
push ebx
lea esi, [edi + 0x8dc]
push str.warning:__extra_field_too_long___d_.__Ignoring..._n
push esi
call fcn.00436c30
add esp, 0x10
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
mov edx, dword [edi + 0x108e8]
mov ecx, edi
sub edx, dword [edi + 0x108e4]
sub edx, dword [edi + 0x10914]
add edx, ebx
add edx, dword [edi + 0x10910]
call fcn.00492840
mov esi, dword [ebp - 0x24]
mov eax, dword [edi + 0x8d8]
test byte [eax + 0x18], 1
je 0x49882e
mov edx, dword [edi + 8]
mov ecx, edi
call fcn.0049c680
test eax, eax
je 0x49882e
cmp eax, 1
jne 0x4987ea
cmp dword [edi + 0x38], 0
jne 0x498757
push 0x401
lea edx, [edi + 0x88dc]
lea ecx, [edi + 0x109f0]
lea esi, [edi + 0x8dc]
call fcn.0049a550
push ecx
push eax
push str.___skipping:___22s__incorrect_password_n
push esi
call fcn.00436c30
add esp, 0x10
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
mov eax, dword [ebp - 0x64]
inc dword [eax]
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x5c]
inc edx
mov dword [ebp - 0x5c], edx
cmp edx, dword [ebp - 0x7c]
jb 0x497e80
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052b789
mov esp, ebp
pop ebp
ret
push ebx
mov edx, eax
mov ecx, edi
call fcn.004925f0
add esp, 4
test eax, eax
jne 0x4986ef
push 0x401
push ecx
push 0x5cc650
lea edx, [edi + 0x88dc]
lea ecx, [edi + 0x109f0]
lea esi, [edi + 0x8dc]
call fcn.0049a550
push eax
push str._s:__bad_extra_field_length___s__n
push esi
call fcn.00436c30
add esp, 0x14
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
mov esi, 0x33
cmp dword [ebp - 0x24], esi
cmovge esi, dword [ebp - 0x24]
mov dword [ebp - 0x24], esi
jmp 0x49875f
cmp eax, esi
lea edx, [edi + 0x88dc]
push 0x401
cmovg esi, eax
lea ecx, [edi + 0x109f0]
mov dword [ebp - 0x24], esi
lea esi, [edi + 0x8dc]
call fcn.0049a550
push ecx
push eax
push str.___skipping:___22s__unable_to_get_password_n
push esi
call fcn.00436c30
add esp, 0x10
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
jmp 0x49875c
cmp dword [edi + 0x44], 0
jne case.0x498cc4.101
cmp dword [edi + 0x14], 0
jne case.0x498cc4.101
cmp dword [edi + 0xa0], 0
jne case.0x498cc4.101
mov dword [ebp - 0x3c], 0
nop word [eax + eax]
mov eax, dword [edi + 0x8d8]
cmp byte [eax + 0x13], 0
jne 0x4988ea
lea ebx, [edi + 0x109f0]
push 0x2f
push ebx
call fcn.0053b102
add esp, 8
test eax, eax
jne 0x4988ea
mov al, byte [ebx]
test al, al
je 0x4988ea
cmp al, 0x5c
jne 0x4988d9
cmp dword [edi + 0x109bc], 0
jne 0x4988d6
push 0x21
push ecx
push dword [edi + 0x10904]
lea esi, [edi + 0x8dc]
push str.warning:___s_appears_to_use_backslashes_as_path_separators_n
push esi
call fcn.00436c30
add esp, 0x10
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
mov esi, dword [ebp - 0x24]
mov eax, 1
test esi, esi
mov dword [edi + 0x109bc], 1
cmove esi, eax
mov dword [ebp - 0x24], esi
mov byte [ebx], 0x2f
push ebx
call fcn.005442e4
mov ebx, eax
add esp, 4
mov al, byte [ebx]
test al, al
jne 0x498887
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x49895f
cmp byte [edi + 0x109f0], 0x2f
jne 0x49895f
push 0x401
lea edx, [edi + 0x88dc]
lea ecx, [edi + 0x109f0]
lea esi, [edi + 0x8dc]
call fcn.0049a550
push ecx
push eax
push str.warning:__stripped_absolute_path_spec_from__s_n
push esi
call fcn.00436c30
add esp, 0x10
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
mov esi, dword [ebp - 0x24]
mov eax, 1
test esi, esi
cmove esi, eax
mov dword [ebp - 0x24], esi
lea ecx, [edi + 0x109f1]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 2], al
test al, al
jne 0x498947
cmp byte [edi + 0x109f0], 0x2f
je 0x498941
mov eax, dword [ebp - 0x3c]
mov edx, eax
mov ecx, edi
call fcn.0048fcf0
mov ecx, eax
and ecx, 0xffff80ff
je 0x49897a
cmp esi, ecx
cmovl esi, ecx
mov dword [ebp - 0x24], esi
and eax, 0x7f00
cmp eax, 0x100
ja 0x498df1
lea eax, [edi + 0x10980]
mov ecx, edi
lea edx, [edi + 0x109f0]
push eax
call fcn.00491040
add esp, 4
test eax, eax
jne 0x498dd8
mov ebx, dword [edi + 0x10918]
test ebx, ebx
je 0x498c30
mov eax, dword [edi + 0x10928]
xor ecx, ecx
movzx edx, word [edi + 0x10938]
mov dword [ebp - 0x48], eax
xor eax, eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x34], eax
test edx, edx
je 0x498c30
cmp edx, 4
jb 0x498bff
mov edi, eax
movzx esi, byte [ebx + 3]
movzx eax, byte [ebx + 2]
shl esi, 8
or esi, eax
lea eax, [edx - 4]
mov dword [ebp - 0x2c], esi
cmp esi, eax
ja 0x498bfc
movzx edx, byte [ebx + 1]
movzx eax, byte [ebx]
shl edx, 8
or edx, eax
cmp edx, 0x5855
ja 0x498bc4
je 0x498b38
cmp edx, 0xd
je 0x498b38
cmp edx, 0x5455
jne 0x498bdf
and ecx, 0xffffff00
mov dword [ebp - 0x34], 1
cmp esi, 1
jb 0x498bdf
movzx eax, byte [ebx + 4]
mov edx, 1
or ecx, eax
mov dword [ebp - 0x38], edx
test dl, cl
je 0x498ab2
cmp esi, 5
jb 0x498aaf
movzx edx, byte [ebx + 8]
movzx eax, byte [ebx + 7]
shl edx, 8
add edx, eax
mov dword [ebp - 0x38], 5
movzx eax, byte [ebx + 6]
shl edx, 8
add edx, eax
movzx eax, byte [ebx + 5]
shl edx, 8
add edx, eax
jns 0x498a9f
cmp dword [ebp - 0x48], 0x74320000
sbb edi, edi
inc edi
cmp dword [ebp - 0x48], 0x74320000
jae 0x498aa1
jmp 0x498bd9
xor edi, edi
mov eax, edx
cdq
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
jmp 0x498ab2
and ecx, 0xfffffffe
test cl, 2
je 0x498aeb
lea eax, [edx + 4]
cmp eax, esi
ja 0x498ae8
movzx esi, byte [edx + ebx + 7]
shl esi, 8
mov dword [ebp - 0x38], eax
movzx eax, byte [edx + ebx + 6]
add esi, eax
movzx eax, byte [edx + ebx + 5]
shl esi, 8
add esi, eax
shl esi, 8
test esi, esi
mov esi, dword [ebp - 0x2c]
jns 0x498aeb
test edi, edi
jne 0x498aeb
and ecx, 0xfffffffd
test cl, 4
je 0x498bdf
mov eax, dword [ebp - 0x38]
add eax, 4
cmp eax, esi
ja 0x498b30
mov eax, dword [ebp - 0x38]
movzx edx, byte [eax + ebx + 7]
movzx eax, byte [eax + ebx + 6]
shl edx, 8
add edx, eax
mov eax, dword [ebp - 0x38]
shl edx, 8
movzx eax, byte [eax + ebx + 5]
add edx, eax
shl edx, 8
test edx, edx
jns 0x498bdf
test edi, edi
jne 0x498bdf
and ecx, 0xfffffffb
jmp 0x498bdf
cmp esi, 8
jb 0x498bdf
cmp dword [ebp - 0x34], 0
jne 0x498bdf
movzx edx, byte [ebx + 0xb]
or ecx, 3
movzx eax, byte [ebx + 0xa]
shl edx, 8
add edx, eax
mov dword [ebp - 0x2c], ecx
movzx eax, byte [ebx + 9]
shl edx, 8
add edx, eax
movzx eax, byte [ebx + 8]
shl edx, 8
add edx, eax
jns 0x498b8f
cmp dword [ebp - 0x48], 0x74320000
sbb edi, edi
and ecx, 0xffffff00
inc edi
cmp dword [ebp - 0x48], 0x74320000
cmovae ecx, dword [ebp - 0x2c]
jmp 0x498b91
xor edi, edi
mov eax, edx
cdq
mov dword [ebp - 0x44], edx
movzx edx, byte [ebx + 7]
shl edx, 8
mov dword [ebp - 0x40], eax
movzx eax, byte [ebx + 6]
add edx, eax
movzx eax, byte [ebx + 5]
shl edx, 8
add edx, eax
shl edx, 8
test edx, edx
jns 0x498bdf
test edi, edi
jne 0x498bdf
test cl, cl
je 0x498bdf
and ecx, 0xfffffffd
jmp 0x498bdf
cmp edx, 0x7855
jne 0x498bdf
cmp dword [ebp - 0x34], 0
jne 0x498bdf
mov dword [ebp - 0x34], 1
and ecx, 0xffffff00
mov edx, dword [ebp - 0x50]
mov eax, 0xfffffffc
sub eax, esi
add ebx, 4
add edx, eax
add ebx, esi
mov dword [ebp - 0x50], edx
cmp edx, 4
jae 0x4989e4
mov edi, dword [ebp - 0x54]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], eax
test cl, 1
je 0x498c30
mov esi, dword [edi + 0x109a0]
mov eax, edx
mov ebx, dword [edi + 0x109a4]
mov edi, eax
mov ecx, dword [ebp - 0x44]
mov edx, ecx
mov dword [ebp - 0x40], edi
mov edi, dword [ebp - 0x54]
mov dword [ebp - 0x44], ecx
jmp 0x498c69
mov ecx, dword [edi + 0x109a0]
mov eax, ecx
mov edx, dword [edi + 0x109a4]
and eax, 1
or eax, 0
je 0x498c5a
mov esi, ecx
mov ebx, edx
add esi, 1
adc ebx, 0
cmp ebx, edx
jl 0x498c5a
jg 0x498c5e
cmp esi, ecx
ja 0x498c5e
mov esi, ecx
mov ebx, edx
mov ecx, dword [edi + 0x10928]
call fcn.00493420
cmp ebx, edx
jl 0x498c91
jg 0x498c73
cmp esi, eax
jb 0x498c91
mov eax, dword [edi + 0x78]
cmp eax, 2
je 0x498d9e
cmp dword [edi + 0x4c], 0
je 0x498c9d
cmp dword [ebp - 0x3c], 0
je 0x498d88
jmp 0x498c9d
mov eax, dword [edi + 0x78]
cmp eax, 2
je 0x498d9e
cmp eax, 1
je case.0x498cc4.101
mov eax, dword [edi + 0x10b68]
mov eax, dword [eax + 8]
test eax, eax
je case.0x498cc4.104
lea ecx, [edi + 0x109f0]
push ecx
call eax
sub eax, 0x64
cmp eax, 5
ja case.0x498cc4.101
jmp dword [eax*4 + 0x498fdc]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x3c], 1
jmp 0x498860
mov dword [edi + 0x78], 1
mov ecx, dword [edi + 0x10b64]
test ecx, ecx
je 0x498d03
push 0
lea eax, [edi + 0x109f0]
push eax
push dword [edi + 0x10904]
push 1
push edi
call ecx
test eax, eax
jne 0x498d68
mov ecx, edi
mov dword [edi + 0x109c0], 0
call fcn.00499000
mov esi, dword [ebp - 0x24]
test eax, eax
je 0x498d39
cmp eax, esi
cmovg esi, eax
cmp dword [edi + 0x109c0], 1
mov dword [ebp - 0x24], esi
jg 0x498fc6
cmp esi, 0x50
je 0x498fc6
mov ecx, dword [edi + 0x10b64]
test ecx, ecx
je 0x49875f
lea eax, [edi + 0x10924]
push eax
lea eax, [edi + 0x109f0]
push eax
push dword [edi + 0x10904]
push 3
push edi
call ecx
test eax, eax
je 0x49875f
mov eax, 0x50
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052b789
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x78], 2
mov eax, dword [edi + 0x78]
cmp eax, 2
je 0x498d9e
cmp dword [edi + 0x4c], 0
je 0x498d9e
cmp dword [ebp - 0x3c], 0
mov ebx, str.Target_file_newer._nSkipping__s_n
je 0x498da3
mov ebx, str.Target_file_exists._nSkipping__s_n
push 0
lea edx, [edi + 0x88dc]
lea ecx, [edi + 0x109f0]
lea esi, [edi + 0x8dc]
call fcn.0049a550
push ecx
push eax
push ebx
push esi
call fcn.00436c30
add esp, 0x10
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
jmp 0x49875c
cmp dword [edi + 0x1c], 0
je case.0x498cc4.101
cmp dword [ebp - 0x3c], 0
jne case.0x498cc4.101
jmp 0x49875f
cmp eax, 0x1000
jne 0x498f42
mov eax, dword [0x5d718c]
cmp eax, 0xffffffff
jne 0x498e2b
call dword [ebp - 0x68]
cmp eax, 0x80000000
jae 0x498e1c
mov dword [0x5d718c], 1
jmp 0x498e33
mov dword [0x5d718c], 0
jmp 0x49875f
test eax, eax
je 0x49875f
mov edx, dword [edi + 0x10918]
test edx, edx
je 0x498e63
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
lea eax, [ebp - 0x6c]
push eax
movzx eax, word [edi + 0x10938]
push eax
call fcn.0048ead0
add esp, 0xc
test eax, eax
je 0x498e63
mov edx, dword [ebp - 0x58]
add edx, 4
jmp 0x498e65
xor edx, edx
lea esi, [edi + 0x109f0]
mov dword [ebp - 0x2c], edx
mov ecx, esi
mov dword [ebp - 0x58], edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x498e76
sub ecx, ebx
lea eax, [edx + 0x30]
add eax, ecx
push eax
call fcn.00531933
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x498ed3
push 0x401
push ecx
lea esi, [edi + 0x8dc]
push str.warning:__cannot_alloc_memory_for_dir_times_permissions_UID_GID_n
push esi
call fcn.00436c30
add esp, 0xc
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
test esi, esi
jne 0x498762
mov esi, 1
mov dword [ebp - 0x24], esi
jmp 0x498762
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x498eed
push eax
push dword [ebp - 0x6c]
lea eax, [ebx + 0x2c]
push eax
call fcn.0052d430
mov eax, dword [ebp - 0x2c]
add esp, 0xc
lea ecx, [eax + 0x2c]
mov dword [ebx + 0x28], eax
add ecx, ebx
mov dword [ebx + 4], ecx
sub ecx, esi
nop word [eax + eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [esi + ecx - 1], al
test al, al
jne 0x498f00
mov eax, dword [edi + 0x8d8]
lea edx, [ebx + 8]
mov ecx, edi
mov eax, dword [eax + 0x14]
mov dword [ebx + 0x24], eax
lea eax, [ebx + 0x18]
push eax
lea eax, [ebx + 0x10]
push eax
call fcn.0048ef70
mov ecx, dword [ebp - 0x70]
add esp, 8
mov dword [ebx + 0x20], eax
mov eax, dword [ecx]
mov dword [ebx], eax
mov eax, dword [ebp - 0x74]
mov dword [ecx], ebx
jmp 0x49875a
cmp eax, 0x1100
jne 0x498f97
cmp dword [edi + 0x40], 0
lea edx, [edi + 0x88dc]
mov ecx, 0x5b9638
lea esi, [edi + 0x8dc]
push 0x401
mov eax, str.hard_disk
cmove eax, ecx
push ecx
push eax
lea ecx, [edi + 0x109f0]
call fcn.0049a550
push eax
push str.___skipping:___22s___svolume_label_n
push esi
call fcn.00436c30
add esp, 0x14
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
jmp 0x49875c
cmp eax, 0x200
jbe 0x49875f
mov ecx, dword [ebp - 0x28]
cmp esi, 2
jge 0x498762
mov esi, 2
mov dword [ebp - 0x24], esi
jmp 0x498762
mov esi, dword [ebp - 0x24]
jmp 0x498762
mov esi, dword [ebp + 0x1c]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052b789
mov esp, ebp
pop ebp
ret