Function at 0x4a8c50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x55800c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, ecx
mov dword [ebp - 0x6c], edx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x68], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x64], ecx
xor ecx, ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x50], ecx
push edi
test edx, edx
je 0x4a95e6
mov edx, dword [sym.imp.USER32.dll_OemToCharA]
mov dword [ebp - 0x54], edx
mov edx, dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x34], ebx
nop dword [eax + eax]
inc dword [eax]
mov eax, ecx
mov ecx, dword [esi + 0x10914]
shl eax, 5
add eax, 0xd8
add eax, esi
mov dword [esi + 0x8d8], eax
add ecx, dword [eax]
mov edx, ecx
mov dword [ebp - 0x38], ecx
and edx, 0x80001fff
jns 0x4a8ce1
dec edx
or edx, 0xffffe000
inc edx
mov eax, ecx
mov dword [ebp - 0x3c], edx
sub eax, edx
lea edi, [esi + 0x8dc]
mov dword [ebp - 0x40], eax
test ecx, ecx
jns 0x4a8dea
push 0x401
push ecx
push 0x53ab48
push dword [esi + 0x10904]
push str.error___s_:__attempt_to_seek_before_beginning_of_zipfile_n_s
push edi
call fcn.0041e8c0
add esp, 0x14
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov eax, dword [ebp - 0x2c]
mov ebx, 2
mov dword [ebp - 0x34], ebx
cmp dword [eax], 1
jne 0x4a8dda
cmp dword [esi + 0x10914], 0
je 0x4a8dda
push 0x401
push ecx
push str.___attempting_to_re_compensate__n
push edi
call fcn.0041e8c0
add esp, 0xc
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov ecx, dword [ebp - 0x44]
mov eax, dword [esi + 0x10914]
mov dword [ecx], eax
mov eax, dword [esi + 0x8d8]
mov dword [esi + 0x10914], 0
mov eax, dword [eax]
mov edx, eax
mov dword [ebp - 0x38], eax
and edx, 0x80001fff
jns 0x4a8d95
dec edx
or edx, 0xffffe000
inc edx
mov ecx, eax
mov dword [ebp - 0x3c], edx
sub ecx, edx
mov dword [ebp - 0x40], ecx
test eax, eax
jns 0x4a8de7
push 0x401
push ecx
push 0x53ab48
push dword [esi + 0x10904]
push str.error___s_:__attempt_to_seek_before_beginning_of_zipfile_n_s
push edi
call fcn.0041e8c0
add esp, 0x14
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov ebx, 3
mov dword [ebp - 0x34], ebx
jmp 0x4a95d3
mov ebx, 3
mov dword [ebp - 0x34], ebx
jmp 0x4a95d6
mov eax, dword [ebp - 0x40]
cmp eax, dword [esi + 0x10910]
je 0x4a8e5e
push 0
push eax
push dword [esi + 0x10908]
call fcn.004df34d
add esp, 0xc
mov dword [esi + 0x10910], eax
push 0x2000
push dword [esi + 0x108e4]
push dword [esi + 0x10908]
call fcn.004de977
add esp, 0xc
mov dword [esi + 0x108ec], eax
test eax, eax
jg 0x4a8e53
push 0x401
push ecx
mov ecx, dword [ebp - 0x40]
push ecx
push str.lseek
mov ecx, dword [ebp - 0x2c]
push dword [ecx]
push str.file__lu:__bad_zipfile_offset___s_:___ld_n
push edi
call fcn.0041e8c0
add esp, 0x18
jmp 0x4a8dc2
mov ecx, dword [esi + 0x108e4]
mov edx, dword [ebp - 0x3c]
jmp 0x4a8e72
mov eax, dword [esi + 0x108ec]
add eax, dword [esi + 0x108e8]
mov ecx, dword [esi + 0x108e4]
sub eax, ecx
sub eax, edx
mov dword [esi + 0x108ec], eax
lea eax, [ecx + edx]
lea edx, [esi + 0xc8]
mov dword [esi + 0x108e8], eax
push 4
mov ecx, esi
call fcn.004a3d50
add esp, 4
test eax, eax
jne 0x4a8ea9
push 0x401
push ecx
push dword [ebp - 0x38]
push 0x54ee28
jmp 0x4a8e3b
push 4
lea eax, [esi + 0xc8]
push 0x558ac4
push eax
call fcn.004d5610
add esp, 0xc
test eax, eax
je 0x4a8ff8
mov eax, dword [ebp - 0x2c]
push 0x401
push ecx
push dword [ebp - 0x38]
push str.local_header_sig
push dword [eax]
push str.file__lu:__bad_zipfile_offset___s_:___ld_n
push edi
call fcn.0041e8c0
add esp, 0x18
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov ecx, dword [ebp - 0x2c]
mov ebx, 2
mov eax, dword [esi + 0x10914]
mov dword [ebp - 0x34], ebx
cmp dword [ecx], 1
jne 0x4a8f0f
test eax, eax
jne 0x4a8f23
jmp 0x4a8f17
test eax, eax
jne 0x4a9c5c
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0
je 0x4a9c5c
push 0x401
push ecx
push str.___attempting_to_re_compensate__n
push edi
call fcn.0041e8c0
add esp, 0xc
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov eax, dword [esi + 0x10914]
test eax, eax
je 0x4a8f55
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
xor eax, eax
jmp 0x4a8f5a
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [esi + 0x10914], eax
mov ecx, esi
mov edx, dword [esi + 0x8d8]
mov edx, dword [edx]
call fcn.004a3f60
test eax, eax
jne 0x4a8fc9
push 4
lea edx, [esi + 0xc8]
mov ecx, esi
call fcn.004a3d50
add esp, 4
test eax, eax
je 0x4a8fd2
push 4
lea eax, [esi + 0xc8]
push 0x558ac4
push eax
call fcn.004d5610
add esp, 0xc
test eax, eax
je 0x4a8ff8
mov eax, dword [ebp - 0x2c]
push 0x401
push ecx
push dword [ebp - 0x38]
push str.local_header_sig
push dword [eax]
push str.file__lu:__bad_zipfile_offset___s_:___ld_n
push edi
call fcn.0041e8c0
add esp, 0x18
jmp 0x4a8dc2
cmp eax, 3
je 0x4a8dcd
mov eax, dword [ebp - 0x2c]
push 0x401
push ecx
push dword [ebp - 0x38]
push 0x54ee28
push dword [eax]
push str.file__lu:__bad_zipfile_offset___s_:___ld_n
push edi
call fcn.0041e8c0
add esp, 0x18
jmp 0x4a8dc2
push 0x1a
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.004a3d50
add esp, 4
test eax, eax
je 0x4a9c2b
movzx eax, byte [ebp - 0x28]
movzx edx, byte [ebp - 0x25]
movzx ecx, byte [ebp - 0x23]
mov byte [esi + 0x10930], al
movzx eax, byte [ebp - 0x27]
shl cx, 8
mov byte [esi + 0x10931], al
movzx eax, byte [ebp - 0x26]
shl dx, 8
or dx, ax
movzx edi, byte [ebp - 0x17]
movzx eax, byte [ebp - 0x24]
or cx, ax
shl edi, 8
movzx eax, byte [ebp - 0x20]
mov word [esi + 0x10934], cx
movzx ecx, byte [ebp - 0x1f]
shl ecx, 8
add ecx, eax
mov word [esi + 0x10932], dx
movzx eax, byte [ebp - 0x21]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebp - 0x22]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebp - 0x1c]
mov dword [esi + 0x10928], ecx
movzx ecx, byte [ebp - 0x1b]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebp - 0x1d]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebp - 0x1e]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebp - 0x18]
add edi, eax
mov dword [esi + 0x1092c], ecx
movzx eax, byte [ebp - 0x19]
movzx ecx, byte [ebp - 0x13]
shl ecx, 8
shl edi, 8
add edi, eax
movzx eax, byte [ebp - 0x1a]
shl edi, 8
add edi, eax
movzx eax, byte [ebp - 0x14]
add ecx, eax
mov dword [esi + 0x10920], edi
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 - 0x12]
mov dword [esi + 0x10924], ecx
movzx ecx, byte [ebp - 0x11]
shl cx, 8
or cx, ax
movzx eax, byte [ebp - 0x10]
mov word [ebp - 0x36], cx
mov word [esi + 0x10936], cx
movzx ecx, byte [ebp - 0xf]
shl cx, 8
or cx, ax
mov word [esi + 0x10938], cx
test dl, 8
je 0x4a9139
mov ecx, dword [esi + 0x8d8]
mov eax, dword [ecx + 0xc]
mov dword [esi + 0x1092c], eax
mov edi, dword [ecx + 4]
mov dword [esi + 0x10920], edi
mov eax, dword [ecx + 8]
mov dword [esi + 0x10924], eax
mov dword [esi + 0x90], edi
xor eax, eax
movzx edi, word [ebp - 0x36]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x30], eax
test edi, edi
je 0x4a937d
cmp edi, 0x104
jb 0x4a9197
push 0x401
push ecx
lea edi, [esi + 0x8dc]
push str.warning:__filename_too_long__truncating._n
push edi
call fcn.0041e8c0
add esp, 0xc
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov eax, dword [ebp - 0x48]
mov edi, 0x103
mov dword [ebp - 0x30], 1
add eax, 0xfffffefd
mov dword [ebp - 0x48], edi
lea edx, [esi + 0x109f0]
mov dword [ebp - 0x3c], eax
push edi
mov ecx, esi
call fcn.004a3d50
add esp, 4
test eax, eax
jne 0x4a91b7
lea ecx, [eax + 0x33]
jmp 0x4a9328
mov byte [esi + edi + 0x109f0], 0
mov eax, dword [esi + 0x8d8]
mov dl, byte [eax + 0x13]
test dl, dl
jne 0x4a91e2
mov dl, byte [eax + 0x12]
mov ecx, eax
cmp dl, 0x19
je 0x4a9205
cmp dl, 0x1a
je 0x4a9205
cmp dl, 0x28
jne 0x4a91f4
jmp 0x4a9205
cmp dl, 6
je 0x4a91f4
mov ecx, eax
cmp dl, 0xb
jne 0x4a9205
cmp byte [eax + 0x12], 0x32
jne 0x4a9205
lea eax, [esi + 0x109f0]
push eax
push eax
call dword [ebp - 0x54]
mov ecx, dword [esi + 0x8d8]
test byte [ecx + 0x18], 0x10
je 0x4a9295
mov al, byte [esi + 0x109f0]
lea edi, [esi + 0x109f0]
lea ecx, [esi + 0x109f0]
mov dword [ebp - 0x40], ecx
test al, al
je 0x4a928f
mov bl, al
nop word [eax + eax]
call fcn.004e006f
push eax
push edi
call fcn.004e0021
mov edx, eax
add esp, 8
cmp edx, 1
jbe 0x4a925d
mov ecx, dword [ebp - 0x40]
nop dword [eax]
mov al, byte [edi]
inc edi
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x4a9250
jmp 0x4a9283
movsx eax, bl
push eax
mov dword [ebp - 0x38], eax
call fcn.004dcc80
add esp, 4
test eax, eax
mov eax, dword [ebp - 0x38]
je 0x4a927c
push eax
call fcn.004da9df
add esp, 4
mov ecx, dword [ebp - 0x40]
mov byte [ecx], al
inc ecx
inc edi
mov bl, byte [edi]
mov dword [ebp - 0x40], ecx
test bl, bl
jne 0x4a9230
mov ebx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x48]
mov byte [ecx], 0
mov eax, dword [esi + 0x8d8]
test byte [eax + 0x18], 0x20
je 0x4a92c2
cmp edi, 8
jbe 0x4a92c2
cmp byte [esi + 0x109f8], 0x2e
lea ecx, [esi + 0x109f8]
jne 0x4a92c2
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
test al, al
jne 0x4a92b5
cmp dword [ebp - 0x3c], 0
je 0x4a9321
push 0x401
lea edx, [esi + 0x88dc]
lea ecx, [esi + 0x109f0]
lea edi, [esi + 0x8dc]
call fcn.004aaf80
push ecx
push eax
push str.___s___n
push edi
call fcn.0041e8c0
add esp, 0x10
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov edx, dword [esi + 0x108e8]
mov ecx, esi
sub edx, dword [esi + 0x108e4]
sub edx, dword [esi + 0x10914]
add edx, dword [ebp - 0x3c]
add edx, dword [esi + 0x10910]
call fcn.004a3f60
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x4a937d
cmp ecx, ebx
mov eax, ecx
cmovle eax, ebx
mov ebx, eax
mov dword [ebp - 0x34], ebx
cmp ecx, 1
jbe 0x4a937d
push 0x401
push ecx
push 0x54ee2c
lea edx, [esi + 0x88dc]
lea ecx, [esi + 0x109f0]
lea edi, [esi + 0x8dc]
call fcn.004aaf80
push eax
push str._s:__bad_filename_length___s__n
push edi
call fcn.0041e8c0
add esp, 0x14
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov dword [ebp - 0x34], ebx
jmp 0x4a95d3
mov eax, dword [esi + 0x8d8]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x4a944e
lea ecx, [esi + 0x109f0]
mov dword [ebp - 0x30], ecx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4a93b7
test dl, dl
je 0x4a93b3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4a93b7
add eax, 2
add ecx, 2
test dl, dl
jne 0x4a9397
xor eax, eax
jmp 0x4a93bc
sbb eax, eax
or eax, 1
test eax, eax
je 0x4a9430
mov ecx, dword [ebp - 0x30]
lea edx, [esi + 0x88dc]
push 0x401
lea edi, [esi + 0x8dc]
call fcn.004aaf80
push ecx
mov ecx, dword [esi + 0x8d8]
lea edx, [esi + 0xc8dc]
push eax
mov ecx, dword [ecx + 0x1c]
call fcn.004aaf80
push eax
push str._s:__mismatching__local__filename___s___n_________continuing_with__central__filename_version_n
push edi
call fcn.0041e8c0
add esp, 0x14
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov eax, dword [esi + 0x8d8]
mov edx, dword [ebp - 0x30]
mov ecx, dword [eax + 0x1c]
mov al, byte [ecx]
lea edx, [edx + 1]
inc ecx
mov byte [edx - 1], al
test al, al
jne 0x4a9415
cmp ebx, 1
mov eax, 1
cmovl ebx, eax
mov dword [ebp - 0x34], ebx
mov eax, dword [esi + 0x8d8]
push dword [eax + 0x1c]
call fcn.004dab64
mov eax, dword [esi + 0x8d8]
add esp, 4
mov dword [eax + 0x1c], 0
cmp word [esi + 0x10934], 0
jne 0x4a94cb
mov ecx, dword [esi + 0x10920]
mov eax, dword [esi + 0x8d8]
test byte [eax + 0x18], 1
lea eax, [ecx - 0xc]
cmove eax, ecx
mov ecx, dword [esi + 0x10924]
mov dword [ebp - 0x30], eax
cmp ecx, eax
je 0x4a94cb
push 0x401
push ecx
push eax
push ecx
lea edx, [esi + 0x88dc]
lea ecx, [esi + 0x109f0]
lea edi, [esi + 0x8dc]
call fcn.004aaf80
push eax
push str._s:__ucsize__lu____csize__lu_for_STORED_entry_n_________continuing_with__compressed__size_value_n
push edi
call fcn.0041e8c0
add esp, 0x18
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov eax, dword [ebp - 0x30]
cmp ebx, 1
mov dword [esi + 0x10924], eax
mov eax, 1
cmovl ebx, eax
mov dword [ebp - 0x34], ebx
mov eax, dword [esi + 0x10918]
test eax, eax
je 0x4a94ea
push eax
call fcn.004dab64
add esp, 4
mov dword [esi + 0x10918], 0
xor eax, eax
movzx edi, word [esi + 0x10938]
mov dword [ebp - 0x30], edi
test edi, edi
je 0x4a9566
test eax, eax
je 0x4a9505
push eax
call fcn.004dab64
add esp, 4
push edi
call fcn.004dad8d
add esp, 4
mov dword [esi + 0x10918], eax
test eax, eax
jne 0x4a95f9
push 0x401
push ecx
push dword [ebp - 0x30]
lea edi, [esi + 0x8dc]
push str.warning:__extra_field_too_long___d_.__Ignoring..._n
push edi
call fcn.0041e8c0
add esp, 0x10
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov edx, dword [esi + 0x108e8]
mov ecx, esi
sub edx, dword [esi + 0x108e4]
sub edx, dword [esi + 0x10914]
add edx, dword [ebp - 0x30]
add edx, dword [esi + 0x10910]
call fcn.004a3f60
mov eax, dword [esi + 0x8d8]
test byte [eax + 0x18], 1
je 0x4a96a2
mov edx, dword [esi + 8]
mov ecx, esi
call fcn.004ad080
test eax, eax
je 0x4a96a2
cmp eax, 1
jne 0x4a965e
cmp dword [esi + 0x38], 0
jne 0x4a95ce
push 0x401
lea edx, [esi + 0x88dc]
lea ecx, [esi + 0x109f0]
lea edi, [esi + 0x8dc]
call fcn.004aaf80
push ecx
push eax
push str.___skipping:___22s__incorrect_password_n
push edi
call fcn.0041e8c0
add esp, 0x10
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov eax, dword [ebp - 0x58]
inc dword [eax]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x50]
inc ecx
mov dword [ebp - 0x50], ecx
cmp ecx, dword [ebp - 0x6c]
jb 0x4a8cb0
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cbf27
mov esp, ebp
pop ebp
ret
push edi
mov edx, eax
mov ecx, esi
call fcn.004a3d50
add esp, 4
test eax, eax
jne 0x4a9566
push 0x401
push ecx
push 0x54ee2c
lea edx, [esi + 0x88dc]
lea ecx, [esi + 0x109f0]
lea edi, [esi + 0x8dc]
call fcn.004aaf80
push eax
push str._s:__bad_extra_field_length___s__n
push edi
call fcn.0041e8c0
add esp, 0x14
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov eax, 0x33
cmp ebx, eax
cmovge eax, ebx
mov ebx, eax
mov dword [ebp - 0x34], ebx
jmp 0x4a95d3
cmp eax, ebx
lea edx, [esi + 0x88dc]
push 0x401
cmovg ebx, eax
lea ecx, [esi + 0x109f0]
mov dword [ebp - 0x34], ebx
lea edi, [esi + 0x8dc]
call fcn.004aaf80
push ecx
push eax
push str.___skipping:___22s__unable_to_get_password_n
push edi
call fcn.0041e8c0
add esp, 0x10
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
jmp 0x4a95d3
cmp dword [esi + 0x44], 0
jne case.0x4a99b9.101
cmp dword [esi + 0x14], 0
jne case.0x4a99b9.101
cmp dword [esi + 0xa0], 0
jne case.0x4a99b9.101
mov dword [ebp - 0x38], 0
nop word [eax + eax]
mov eax, dword [esi + 0x8d8]
cmp byte [eax + 0x13], 0
jne 0x4a9766
lea edi, [esi + 0x109f0]
push 0x2f
push edi
mov dword [ebp - 0x30], edi
call fcn.004db4b4
add esp, 8
test eax, eax
jne 0x4a9766
mov al, byte [edi]
test al, al
je 0x4a9766
nop
cmp al, 0x5c
jne 0x4a974f
cmp dword [esi + 0x109bc], 0
jne 0x4a974c
push 0x21
push ecx
push dword [esi + 0x10904]
lea edi, [esi + 0x8dc]
push str.warning:___s_appears_to_use_backslashes_as_path_separators_n
push edi
call fcn.0041e8c0
add esp, 0x10
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov edi, dword [ebp - 0x30]
test ebx, ebx
mov eax, 1
mov dword [esi + 0x109bc], 1
cmove ebx, eax
mov byte [edi], 0x2f
push edi
call fcn.004df399
mov edi, eax
add esp, 4
mov dword [ebp - 0x30], edi
mov al, byte [edi]
test al, al
jne 0x4a9700
mov dword [ebp - 0x34], ebx
mov edi, dword [ebp - 0x38]
test edi, edi
jne 0x4a97de
cmp byte [esi + 0x109f0], 0x2f
jne 0x4a97de
push 0x401
lea edx, [esi + 0x88dc]
lea ecx, [esi + 0x109f0]
lea edi, [esi + 0x8dc]
call fcn.004aaf80
push ecx
push eax
push str.warning:__stripped_absolute_path_spec_from__s_n
push edi
call fcn.0041e8c0
add esp, 0x10
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
test ebx, ebx
mov eax, 1
cmove ebx, eax
mov dword [ebp - 0x34], ebx
nop word [eax + eax]
lea ecx, [esi + 0x109f1]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 2], al
test al, al
jne 0x4a97c6
cmp byte [esi + 0x109f0], 0x2f
je 0x4a97c0
mov edi, dword [ebp - 0x38]
mov edx, edi
mov ecx, esi
call fcn.004a1630
mov ecx, eax
and ecx, 0xffff80ff
je 0x4a97f9
cmp ebx, ecx
cmovl ebx, ecx
mov dword [ebp - 0x34], ebx
and eax, 0x7f00
cmp eax, 0x100
ja 0x4a9a52
lea eax, [esi + 0x10980]
mov ecx, esi
lea edx, [esi + 0x109f0]
push eax
call fcn.004a2990
add esp, 4
test eax, eax
jne 0x4a9a3b
mov ecx, dword [esi + 0x10918]
test ecx, ecx
je 0x4a9866
movzx edx, word [esi + 0x10938]
lea eax, [ebp - 0x28]
push ecx
push eax
push dword [esi + 0x10928]
push 0
call fcn.0049fe00
add esp, 0x10
test al, 1
je 0x4a9866
mov edi, dword [esi + 0x109a0]
mov eax, dword [esi + 0x109a4]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
jmp 0x4a98a8
mov ecx, dword [esi + 0x109a0]
mov eax, ecx
mov edx, dword [esi + 0x109a4]
and eax, 1
or eax, 0
je 0x4a9893
mov edi, ecx
mov eax, edx
add edi, 1
adc eax, 0
mov dword [ebp - 0x30], eax
cmp eax, edx
jl 0x4a9893
jg 0x4a9898
cmp edi, ecx
ja 0x4a9898
mov edi, ecx
mov dword [ebp - 0x30], edx
mov ecx, dword [esi + 0x10928]
call fcn.004a4a00
mov ecx, eax
mov eax, dword [ebp - 0x30]
cmp eax, edx
jl 0x4a997c
jg 0x4a98ba
cmp edi, ecx
jb 0x4a997c
mov ecx, dword [esi + 0x78]
mov eax, ecx
mov edi, dword [ebp - 0x38]
cmp ecx, 2
je 0x4a99e7
cmp dword [esi + 0x4c], 0
je 0x4a98d9
test edi, edi
je 0x4a99e7
cmp ecx, 1
jne 0x4a9990
mov ecx, dword [esi + 0x10b64]
test ecx, ecx
je 0x4a9904
push 0
lea eax, [esi + 0x109f0]
push eax
push dword [esi + 0x10904]
push 1
push esi
call ecx
test eax, eax
jne 0x4a9966
mov ecx, esi
mov dword [esi + 0x109c0], 0
call fcn.004a9ca0
test eax, eax
je 0x4a9937
cmp eax, ebx
cmovg ebx, eax
cmp dword [esi + 0x109c0], 1
mov dword [ebp - 0x34], ebx
jg 0x4a95e6
cmp ebx, 0x50
je 0x4a95e6
mov ecx, dword [esi + 0x10b64]
test ecx, ecx
je 0x4a95d3
lea eax, [esi + 0x10924]
push eax
lea eax, [esi + 0x109f0]
push eax
push dword [esi + 0x10904]
push 3
push esi
call ecx
test eax, eax
je 0x4a95d3
mov ecx, dword [ebp - 4]
mov eax, 0x50
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cbf27
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x78]
cmp eax, 2
je 0x4a99e4
cmp eax, 1
je case.0x4a99b9.101
mov edi, dword [ebp - 0x38]
mov eax, dword [esi + 0x10b68]
mov eax, dword [eax + 8]
test eax, eax
je 0x4a99a8
lea ecx, [esi + 0x109f0]
push ecx
call eax
jmp 0x4a99ad
mov eax, 0x68
sub eax, 0x64
cmp eax, 5
ja case.0x4a99b9.101
jmp dword [eax*4 + 0x4a9c64]
mov dword [ebp - 0x38], 1
jmp 0x4a96d0
mov dword [esi + 0x78], 1
jmp case.0x4a99b9.101
mov dword [esi + 0x78], 2
mov eax, dword [esi + 0x78]
jmp 0x4a99e7
mov edi, dword [ebp - 0x38]
cmp eax, 2
je 0x4a99fd
cmp dword [esi + 0x4c], 0
je 0x4a99fd
mov dword [ebp - 0x30], str.Target_file_newer._nSkipping__s_n
test edi, edi
je 0x4a9a04
mov dword [ebp - 0x30], str.Target_file_exists._nSkipping__s_n
push 0
lea edx, [esi + 0x88dc]
lea ecx, [esi + 0x109f0]
lea edi, [esi + 0x8dc]
call fcn.004aaf80
push ecx
push eax
push dword [ebp - 0x30]
push edi
call fcn.0041e8c0
add esp, 0x10
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
jmp 0x4a95d3
cmp dword [esi + 0x1c], 0
je case.0x4a99b9.101
test edi, edi
jne case.0x4a99b9.101
jmp 0x4a95d3
cmp eax, 0x1000
jne 0x4a9bb2
mov eax, dword [0x558f7c]
cmp eax, 0xffffffff
jne 0x4a9a8c
call dword [ebp - 0x5c]
cmp eax, 0x80000000
jae 0x4a9a7d
mov dword [0x558f7c], 1
jmp 0x4a9a94
mov dword [0x558f7c], 0
jmp 0x4a95d3
test eax, eax
je 0x4a95d3
mov ecx, dword [esi + 0x10918]
test ecx, ecx
je 0x4a9ac7
cmp dword [esi + 0x5c], 0
je 0x4a9ac7
movzx edx, word [esi + 0x10938]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004a04d0
add esp, 8
test eax, eax
je 0x4a9ac7
mov edx, dword [ebp - 0x4c]
add edx, 4
jmp 0x4a9ac9
xor edx, edx
lea edi, [esi + 0x109f0]
mov dword [ebp - 0x3c], edx
mov ecx, edi
mov dword [ebp - 0x4c], edx
lea eax, [ecx + 1]
mov dword [ebp - 0x30], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a9ae0
sub ecx, dword [ebp - 0x30]
lea eax, [edx + 0x30]
add eax, ecx
push eax
call fcn.004dad8d
mov ecx, eax
add esp, 4
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x4a9b75
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x4a9b1e
push eax
push dword [ebp - 0x60]
lea eax, [ecx + 0x2c]
push eax
call fcn.004cd830
mov ecx, dword [ebp - 0x30]
add esp, 0xc
mov eax, dword [ebp - 0x3c]
lea edx, [ecx + 0x2c]
mov dword [ecx + 0x28], eax
add edx, eax
mov dword [ecx + 4], edx
sub edx, edi
nop dword [eax + eax]
mov al, byte [edi]
lea edi, [edi + 1]
mov byte [edx + edi - 1], al
test al, al
jne 0x4a9b30
mov eax, dword [esi + 0x8d8]
lea edx, [ecx + 8]
mov eax, dword [eax + 0x14]
mov dword [ecx + 0x24], eax
lea eax, [ecx + 0x18]
push eax
lea eax, [ecx + 0x10]
mov ecx, esi
push eax
call fcn.004a08f0
mov ecx, dword [ebp - 0x30]
add esp, 8
mov edx, dword [ebp - 0x64]
mov dword [ecx + 0x20], eax
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [ebp - 0x68]
mov dword [edx], ecx
jmp 0x4a95d1
push 0x401
push ecx
lea edi, [esi + 0x8dc]
push str.warning:__cannot_alloc_memory_for_dir_times_permissions_UID_GID_n
push edi
call fcn.0041e8c0
add esp, 0xc
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov eax, dword [ebp - 0x2c]
test ebx, ebx
jne 0x4a95d6
mov ebx, 1
mov dword [ebp - 0x34], ebx
jmp 0x4a95d6
cmp eax, 0x1100
jne 0x4a9c07
cmp dword [esi + 0x40], 0
lea edx, [esi + 0x88dc]
mov ecx, 0x518188
lea edi, [esi + 0x8dc]
push 0x401
mov eax, str.hard_disk
cmove eax, ecx
push ecx
push eax
lea ecx, [esi + 0x109f0]
call fcn.004aaf80
push eax
push str.___skipping:___22s___svolume_label_n
push edi
call fcn.0041e8c0
add esp, 0x14
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
jmp 0x4a95d3
cmp eax, 0x200
jbe 0x4a95d3
mov eax, dword [ebp - 0x2c]
cmp ebx, 2
jge 0x4a95d6
mov ebx, 2
mov dword [ebp - 0x34], ebx
jmp 0x4a95d6
mov eax, dword [ebp - 0x2c]
push 0x421
push ecx
push dword [eax]
push str.file__lu:__bad_local_header_n
push edi
call fcn.0041e8c0
add esp, 0x10
push eax
mov eax, dword [esi + 0x10b54]
push edi
push esi
call eax
mov ebx, 0x33
mov dword [ebp - 0x34], ebx
jmp 0x4a95d3
mov eax, ecx
jmp 0x4a95d6