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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x5a6008]
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 0x4a6893
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 0x4a577e
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 0x4a5880
push 0x401
push ecx
push 0x583708
push dword [edi + 0x10904]
push str.error___s_:__attempt_to_seek_before_beginning_of_zipfile_n_s
push esi
call fcn.0047daf0
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 0x4a5873
cmp dword [edi + 0x10914], 0
je 0x4a5873
push 0x401
push ecx
push str.___attempting_to_re_compensate__n
push esi
call fcn.0047daf0
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 0x4a582e
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 0x4a5880
push 0x401
push ecx
push 0x583708
push dword [edi + 0x10904]
push str.error___s_:__attempt_to_seek_before_beginning_of_zipfile_n_s
push esi
call fcn.0047daf0
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 0x4a602f
mov esi, 3
mov dword [ebp - 0x24], esi
jmp 0x4a6032
cmp eax, dword [edi + 0x10910]
je 0x4a58f3
push 0
push eax
push dword [edi + 0x10908]
call fcn.005283ea
add esp, 0xc
mov dword [edi + 0x10910], eax
push 0x2000
push dword [edi + 0x108e4]
push dword [edi + 0x10908]
call fcn.0052796c
add esp, 0xc
mov dword [edi + 0x108ec], eax
test eax, eax
jg 0x4a58e8
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.0047daf0
add esp, 0x18
jmp 0x4a585b
mov edx, dword [edi + 0x108e4]
mov ecx, dword [ebp - 0x34]
jmp 0x4a5907
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.004a00a0
add esp, 4
test eax, eax
jne 0x4a593c
push 0x401
push ecx
push ebx
push 0x59be68
jmp 0x4a58d0
push 4
lea eax, [edi + 0xc8]
push 0x5a6ad0
push eax
call fcn.0051ddd0
add esp, 0xc
test eax, eax
je 0x4a5a5e
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.0047daf0
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 0x4a599f
test eax, eax
jne 0x4a59b3
jmp 0x4a59a7
test eax, eax
jne 0x4a688b
mov eax, dword [ebp - 0x4c]
cmp dword [eax], 0
je 0x4a688b
push 0x401
push ecx
push str.___attempting_to_re_compensate__n
push esi
call fcn.0047daf0
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 0x4a59e5
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
xor eax, eax
jmp 0x4a59ea
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.004a02f0
test eax, eax
jne 0x4a5a44
push 4
lea edx, [edi + 0xc8]
mov ecx, edi
call fcn.004a00a0
add esp, 4
test eax, eax
je 0x4a5a4d
push 4
lea eax, [edi + 0xc8]
push 0x5a6ad0
push eax
call fcn.0051ddd0
add esp, 0xc
test eax, eax
je 0x4a5a5e
push 0x401
push ecx
push ebx
push str.local_header_sig
jmp 0x4a58d0
cmp eax, 3
je 0x4a5866
push 0x401
push ecx
push ebx
push 0x59be68
jmp 0x4a58d0
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
push 0x1a
mov ecx, edi
mov dword [ebp - 0x48], eax
call fcn.004a00a0
add esp, 4
test eax, eax
jne 0x4a5aa8
mov eax, dword [ebp - 0x28]
push 0x421
push ecx
push dword [eax]
push str.file__lu:__bad_local_header_n
push esi
call fcn.0047daf0
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 0x4a602f
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 0x4a5bce
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 0x4a5de6
cmp ebx, 0x104
jb 0x4a5c29
push 0x401
push ecx
lea esi, [edi + 0x8dc]
push str.warning:__filename_too_long__truncating._n
push esi
call fcn.0047daf0
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.004a00a0
add esp, 4
test eax, eax
jne 0x4a5c93
push 0x401
push ecx
push 0x59be6c
lea edx, [edi + 0x88dc]
lea ecx, [edi + 0x109f0]
lea esi, [edi + 0x8dc]
call fcn.004a7bd0
push eax
push str._s:__bad_filename_length___s__n
push esi
call fcn.0047daf0
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 0x4a602f
mov byte [edi + ebx + 0x109f0], 0
mov eax, dword [edi + 0x8d8]
mov cl, byte [eax + 0x13]
test cl, cl
jne 0x4a5cbc
mov cl, byte [eax + 0x12]
cmp cl, 0x19
je 0x4a5cdb
cmp cl, 0x1a
je 0x4a5cdb
cmp cl, 0x28
jne 0x4a5cd0
jmp 0x4a5cdb
cmp cl, 6
je 0x4a5cd0
cmp cl, 0xb
jne 0x4a5cdb
cmp byte [eax + 0x12], 0x32
jne 0x4a5cdb
nop dword [eax]
push esi
push esi
call dword [ebp - 0x60]
mov eax, dword [edi + 0x8d8]
test byte [eax + 0x18], 0x10
je 0x4a5d46
mov al, byte [esi]
lea ebx, [edi + 0x109f0]
mov byte [ebp - 0x2d], al
test al, al
je 0x4a5d40
call fcn.005292a9
push eax
push esi
call fcn.00529122
mov ecx, eax
add esp, 8
cmp ecx, 1
jbe 0x4a5d13
mov al, byte [esi]
inc esi
mov byte [ebx], al
inc ebx
sub ecx, 1
jne 0x4a5d06
jmp 0x4a5d37
movsx eax, byte [ebp - 0x2d]
push eax
mov dword [ebp - 0x2c], eax
call fcn.00526740
add esp, 4
test eax, eax
mov eax, dword [ebp - 0x2c]
je 0x4a5d33
push eax
call fcn.00523cb7
add esp, 4
mov byte [ebx], al
inc ebx
inc esi
mov al, byte [esi]
mov byte [ebp - 0x2d], al
test al, al
jne 0x4a5cf0
mov byte [ebx], 0
mov ebx, dword [ebp - 0x34]
mov eax, dword [edi + 0x8d8]
test byte [eax + 0x18], 0x20
je 0x4a5d71
cmp ebx, 8
jbe 0x4a5d71
cmp byte [edi + 0x109f8], 0x2e
lea ecx, [edi + 0x109f8]
jne 0x4a5d71
mov al, byte [ecx + 1]
inc ecx
mov byte [ecx - 1], al
test al, al
jne 0x4a5d66
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4a5dd0
push 0x401
lea edx, [edi + 0x88dc]
lea ecx, [edi + 0x109f0]
lea esi, [edi + 0x8dc]
call fcn.004a7bd0
push ecx
push eax
push 0x59bd18
push esi
call fcn.0047daf0
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.004a02f0
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4a5de6
mov ecx, dword [ebp - 0x48]
mov esi, eax
cmp eax, ecx
cmovle esi, ecx
mov dword [ebp - 0x24], esi
jmp 0x4a5de9
mov esi, dword [ebp - 0x24]
mov eax, dword [edi + 0x8d8]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x4a5ebc
lea ebx, [edi + 0x109f0]
mov ecx, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4a5e22
test dl, dl
je 0x4a5e1e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4a5e22
add eax, 2
add ecx, 2
test dl, dl
jne 0x4a5e02
xor eax, eax
jmp 0x4a5e27
sbb eax, eax
or eax, 1
test eax, eax
je 0x4a5e9e
push 0x401
lea edx, [edi + 0x88dc]
mov ecx, ebx
lea esi, [edi + 0x8dc]
call fcn.004a7bd0
push ecx
mov ecx, dword [edi + 0x8d8]
lea edx, [edi + 0xc8dc]
push eax
mov ecx, dword [ecx + 0x1c]
call fcn.004a7bd0
push eax
push str._s:__mismatching__local__filename___s___n_________continuing_with__central__filename_version_n
push esi
call fcn.0047daf0
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 0x4a5e80
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.00515679
mov eax, dword [edi + 0x8d8]
add esp, 4
mov dword [eax + 0x1c], 0
cmp word [edi + 0x10934], 0
jne 0x4a5f36
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 0x4a5f36
push 0x401
push ecx
push ebx
push eax
lea edx, [edi + 0x88dc]
lea ecx, [edi + 0x109f0]
lea esi, [edi + 0x8dc]
call fcn.004a7bd0
push eax
push str._s:__ucsize__lu____csize__lu_for_STORED_entry_n_________continuing_with__compressed__size_value_n
push esi
call fcn.0047daf0
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 0x4a5f53
push eax
call fcn.00515679
add esp, 4
mov dword [edi + 0x10918], 0
movzx ebx, word [edi + 0x10938]
test ebx, ebx
je 0x4a5fbf
push ebx
call fcn.00517363
add esp, 4
mov dword [edi + 0x10918], eax
test eax, eax
jne 0x4a6055
push 0x401
push ecx
push ebx
lea esi, [edi + 0x8dc]
push str.warning:__extra_field_too_long___d_.__Ignoring..._n
push esi
call fcn.0047daf0
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.004a02f0
mov esi, dword [ebp - 0x24]
mov eax, dword [edi + 0x8d8]
test byte [eax + 0x18], 1
je 0x4a60fe
mov edx, dword [edi + 8]
mov ecx, edi
call fcn.004a9d00
test eax, eax
je 0x4a60fe
cmp eax, 1
jne 0x4a60ba
cmp dword [edi + 0x38], 0
jne 0x4a6027
push 0x401
lea edx, [edi + 0x88dc]
lea ecx, [edi + 0x109f0]
lea esi, [edi + 0x8dc]
call fcn.004a7bd0
push ecx
push eax
push str.___skipping:___22s__incorrect_password_n
push esi
call fcn.0047daf0
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 0x4a5750
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00511339
mov esp, ebp
pop ebp
ret
push ebx
mov edx, eax
mov ecx, edi
call fcn.004a00a0
add esp, 4
test eax, eax
jne 0x4a5fbf
push 0x401
push ecx
push 0x59be6c
lea edx, [edi + 0x88dc]
lea ecx, [edi + 0x109f0]
lea esi, [edi + 0x8dc]
call fcn.004a7bd0
push eax
push str._s:__bad_extra_field_length___s__n
push esi
call fcn.0047daf0
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 0x4a602f
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.004a7bd0
push ecx
push eax
push str.___skipping:___22s__unable_to_get_password_n
push esi
call fcn.0047daf0
add esp, 0x10
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
jmp 0x4a602c
cmp dword [edi + 0x44], 0
jne case.0x4a6594.101
cmp dword [edi + 0x14], 0
jne case.0x4a6594.101
cmp dword [edi + 0xa0], 0
jne case.0x4a6594.101
mov dword [ebp - 0x3c], 0
nop word [eax + eax]
mov eax, dword [edi + 0x8d8]
cmp byte [eax + 0x13], 0
jne 0x4a61ba
lea ebx, [edi + 0x109f0]
push 0x2f
push ebx
call fcn.005240cc
add esp, 8
test eax, eax
jne 0x4a61ba
mov al, byte [ebx]
test al, al
je 0x4a61ba
cmp al, 0x5c
jne 0x4a61a9
cmp dword [edi + 0x109bc], 0
jne 0x4a61a6
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.0047daf0
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.005284dd
mov ebx, eax
add esp, 4
mov al, byte [ebx]
test al, al
jne 0x4a6157
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x4a622f
cmp byte [edi + 0x109f0], 0x2f
jne 0x4a622f
push 0x401
lea edx, [edi + 0x88dc]
lea ecx, [edi + 0x109f0]
lea esi, [edi + 0x8dc]
call fcn.004a7bd0
push ecx
push eax
push str.warning:__stripped_absolute_path_spec_from__s_n
push esi
call fcn.0047daf0
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 0x4a6217
cmp byte [edi + 0x109f0], 0x2f
je 0x4a6211
mov eax, dword [ebp - 0x3c]
mov edx, eax
mov ecx, edi
call fcn.0049d750
mov ecx, eax
and ecx, 0xffff80ff
je 0x4a624a
cmp esi, ecx
cmovl esi, ecx
mov dword [ebp - 0x24], esi
and eax, 0x7f00
cmp eax, 0x100
ja 0x4a66c1
lea eax, [edi + 0x10980]
mov ecx, edi
lea edx, [edi + 0x109f0]
push eax
call fcn.0049eaa0
add esp, 4
test eax, eax
jne 0x4a66a8
mov ebx, dword [edi + 0x10918]
test ebx, ebx
je 0x4a6500
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 0x4a6500
cmp edx, 4
jb 0x4a64cf
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 0x4a64cc
movzx edx, byte [ebx + 1]
movzx eax, byte [ebx]
shl edx, 8
or edx, eax
cmp edx, 0x5855
ja 0x4a6494
je 0x4a6408
cmp edx, 0xd
je 0x4a6408
cmp edx, 0x5455
jne 0x4a64af
and ecx, 0xffffff00
mov dword [ebp - 0x34], 1
cmp esi, 1
jb 0x4a64af
movzx eax, byte [ebx + 4]
mov edx, 1
or ecx, eax
mov dword [ebp - 0x38], edx
test dl, cl
je 0x4a6382
cmp esi, 5
jb 0x4a637f
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 0x4a636f
cmp dword [ebp - 0x48], 0x74320000
sbb edi, edi
inc edi
cmp dword [ebp - 0x48], 0x74320000
jae 0x4a6371
jmp 0x4a64a9
xor edi, edi
mov eax, edx
cdq
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
jmp 0x4a6382
and ecx, 0xfffffffe
test cl, 2
je 0x4a63bb
lea eax, [edx + 4]
cmp eax, esi
ja 0x4a63b8
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 0x4a63bb
test edi, edi
jne 0x4a63bb
and ecx, 0xfffffffd
test cl, 4
je 0x4a64af
mov eax, dword [ebp - 0x38]
add eax, 4
cmp eax, esi
ja 0x4a6400
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 0x4a64af
test edi, edi
jne 0x4a64af
and ecx, 0xfffffffb
jmp 0x4a64af
cmp esi, 8
jb 0x4a64af
cmp dword [ebp - 0x34], 0
jne 0x4a64af
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 0x4a645f
cmp dword [ebp - 0x48], 0x74320000
sbb edi, edi
and ecx, 0xffffff00
inc edi
cmp dword [ebp - 0x48], 0x74320000
cmovae ecx, dword [ebp - 0x2c]
jmp 0x4a6461
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 0x4a64af
test edi, edi
jne 0x4a64af
test cl, cl
je 0x4a64af
and ecx, 0xfffffffd
jmp 0x4a64af
cmp edx, 0x7855
jne 0x4a64af
cmp dword [ebp - 0x34], 0
jne 0x4a64af
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 0x4a62b4
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 0x4a6500
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 0x4a6539
mov ecx, dword [edi + 0x109a0]
mov eax, ecx
mov edx, dword [edi + 0x109a4]
and eax, 1
or eax, 0
je 0x4a652a
mov esi, ecx
mov ebx, edx
add esi, 1
adc ebx, 0
cmp ebx, edx
jl 0x4a652a
jg 0x4a652e
cmp esi, ecx
ja 0x4a652e
mov esi, ecx
mov ebx, edx
mov ecx, dword [edi + 0x10928]
call fcn.004a0df0
cmp ebx, edx
jl 0x4a6561
jg 0x4a6543
cmp esi, eax
jb 0x4a6561
mov eax, dword [edi + 0x78]
cmp eax, 2
je 0x4a666e
cmp dword [edi + 0x4c], 0
je 0x4a656d
cmp dword [ebp - 0x3c], 0
je 0x4a6658
jmp 0x4a656d
mov eax, dword [edi + 0x78]
cmp eax, 2
je 0x4a666e
cmp eax, 1
je case.0x4a6594.101
mov eax, dword [edi + 0x10b68]
mov eax, dword [eax + 8]
test eax, eax
je case.0x4a6594.104
lea ecx, [edi + 0x109f0]
push ecx
call eax
sub eax, 0x64
cmp eax, 5
ja case.0x4a6594.101
jmp dword [eax*4 + 0x4a68ac]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x3c], 1
jmp 0x4a6130
mov dword [edi + 0x78], 1
mov ecx, dword [edi + 0x10b64]
test ecx, ecx
je 0x4a65d3
push 0
lea eax, [edi + 0x109f0]
push eax
push dword [edi + 0x10904]
push 1
push edi
call ecx
test eax, eax
jne 0x4a6638
mov ecx, edi
mov dword [edi + 0x109c0], 0
call fcn.004a68d0
mov esi, dword [ebp - 0x24]
test eax, eax
je 0x4a6609
cmp eax, esi
cmovg esi, eax
cmp dword [edi + 0x109c0], 1
mov dword [ebp - 0x24], esi
jg 0x4a6896
cmp esi, 0x50
je 0x4a6896
mov ecx, dword [edi + 0x10b64]
test ecx, ecx
je 0x4a602f
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 0x4a602f
mov eax, 0x50
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00511339
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x78], 2
mov eax, dword [edi + 0x78]
cmp eax, 2
je 0x4a666e
cmp dword [edi + 0x4c], 0
je 0x4a666e
cmp dword [ebp - 0x3c], 0
mov ebx, str.Target_file_newer._nSkipping__s_n
je 0x4a6673
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.004a7bd0
push ecx
push eax
push ebx
push esi
call fcn.0047daf0
add esp, 0x10
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
jmp 0x4a602c
cmp dword [edi + 0x1c], 0
je case.0x4a6594.101
cmp dword [ebp - 0x3c], 0
jne case.0x4a6594.101
jmp 0x4a602f
cmp eax, 0x1000
jne 0x4a6812
mov eax, dword [0x5a6fdc]
cmp eax, 0xffffffff
jne 0x4a66fb
call dword [ebp - 0x68]
cmp eax, 0x80000000
jae 0x4a66ec
mov dword [0x5a6fdc], 1
jmp 0x4a6703
mov dword [0x5a6fdc], 0
jmp 0x4a602f
test eax, eax
je 0x4a602f
mov edx, dword [edi + 0x10918]
test edx, edx
je 0x4a6733
lea eax, [ebp - 0x58]
mov ecx, edi
push eax
lea eax, [ebp - 0x6c]
push eax
movzx eax, word [edi + 0x10938]
push eax
call fcn.0049c530
add esp, 0xc
test eax, eax
je 0x4a6733
mov edx, dword [ebp - 0x58]
add edx, 4
jmp 0x4a6735
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 0x4a6746
sub ecx, ebx
lea eax, [edx + 0x30]
add eax, ecx
push eax
call fcn.00517363
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4a67a3
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.0047daf0
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 0x4a6032
mov esi, 1
mov dword [ebp - 0x24], esi
jmp 0x4a6032
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4a67bd
push eax
push dword [ebp - 0x6c]
lea eax, [ebx + 0x2c]
push eax
call fcn.00512db0
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 0x4a67d0
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.0049c9d0
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 0x4a602a
cmp eax, 0x1100
jne 0x4a6867
cmp dword [edi + 0x40], 0
lea edx, [edi + 0x88dc]
mov ecx, 0x560f28
lea esi, [edi + 0x8dc]
push 0x401
mov eax, str.hard_disk
cmove eax, ecx
push ecx
push eax
lea ecx, [edi + 0x109f0]
call fcn.004a7bd0
push eax
push str.___skipping:___22s___svolume_label_n
push esi
call fcn.0047daf0
add esp, 0x14
push eax
mov eax, dword [edi + 0x10b54]
push esi
push edi
call eax
jmp 0x4a602c
cmp eax, 0x200
jbe 0x4a602f
mov ecx, dword [ebp - 0x28]
cmp esi, 2
jge 0x4a6032
mov esi, 2
mov dword [ebp - 0x24], esi
jmp 0x4a6032
mov esi, dword [ebp - 0x24]
jmp 0x4a6032
mov esi, dword [ebp + 0x1c]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00511339
mov esp, ebp
pop ebp
ret