Function at 0x4b4c00
Capabilities:
Hash data using sha1
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5f1d1d
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0x16c], eax
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x180]
mov dword fs:[0], eax
mov eax, dword [ecx + 0x10]
and eax, 0xe0000000
cmp eax, 0x20000000
mov esi, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], esi
je 0x4b4c93
test byte [0x65b670], 1
jne 0x4b4c7f
or dword [0x65b670], 1
push 0x5fbd80
mov dword [0x65b674], 0x6155fc
call fcn.005b89dc
add esp, 4
mov eax, 5
mov ecx, 0x65b674
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp 0x4b5348
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 4]
xor edi, edi
push ecx
lea esi, [esp + 0x118]
mov dword [esp + 0x118], 0x67452301
mov dword [esp + 0x11c], 0xefcdab89
mov dword [esp + 0x120], 0x98badcfe
mov dword [esp + 0x124], 0x10325476
mov dword [esp + 0x128], 0xc3d2e1f0
mov dword [esp + 0x130], edi
mov dword [esp + 0x12c], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.00502b50
xor eax, eax
add esp, 4
mov ecx, esi
lea edi, [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
call fcn.00502a50
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x140], ecx
mov ecx, dword [esp + 0x38]
mov dword [ebx + 0x144], edx
mov edx, dword [esp + 0x3c]
mov dword [ebx + 0x148], eax
mov eax, dword [ebx + 0x154]
xor eax, dword [esp + 0x18]
mov dword [ebx + 0x14c], ecx
and eax, 0xffffff
xor dword [ebx + 0x154], eax
mov eax, dword [ebx + 0x154]
and eax, 0xffffff
push eax
mov dword [ebx + 0x150], edx
call fcn.0059b872
add esp, 4
lea edi, [ebx + 0xdc]
call fcn.004b7600
mov ecx, dword [ebx + 0x154]
mov esi, dword [esp + 0x1c]
mov eax, dword [edi]
and ecx, 0xffffff
push ecx
push esi
push eax
call fcn.005c3120
mov edi, dword [edi]
sub edi, esi
add esp, 0xc
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x14]
push str.piece_length
mov eax, edi
call fcn.005050a0
test eax, eax
je 0x4b4dd8
mov edx, dword [eax + 0x10]
and edx, 0xe0000000
cmp edx, 0x80000000
jne 0x4b4dd8
mov edx, eax
call fcn.00504cd0
test eax, eax
mov dword [esp + 0x20], edx
jg 0x4b4de8
mov esi, dword [esp + 0x10]
push 6
call fcn.004b2660
jmp 0x4b5348
mov dword [ebx + 0x94], eax
push str.name.utf_8
mov eax, edi
call fcn.005050a0
test eax, eax
je 0x4b4e0f
mov ecx, dword [eax + 0x10]
and ecx, 0xe0000000
cmp ecx, 0x60000000
je 0x4b4e40
push str.name
mov eax, edi
call fcn.005050a0
test eax, eax
je 0x4b4e30
mov edx, dword [eax + 0x10]
and edx, 0xe0000000
cmp edx, 0x60000000
je 0x4b4e40
mov esi, dword [esp + 0x10]
push 7
call fcn.004b2660
jmp 0x4b5348
lea esi, [esp + 0x64]
call fcn.0049da60
mov dword [esp + 0x188], 0
cmp dword [esp + 0x78], 0
jne 0x4b4eb8
lea eax, [ebx + 0x140]
push eax
lea esi, [esp + 0x30]
call fcn.004894d0
lea ecx, [esp + 0x80]
push ecx
mov esi, eax
mov byte [esp + 0x18c], 1
call fcn.004b19f0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x194], 2
call fcn.0040b390
lea ecx, [esp + 0x80]
call fcn.0040b130
lea ecx, [esp + 0x2c]
mov byte [esp + 0x188], 0
call fcn.0040b130
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x84]
push eax
call fcn.004b31e0
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x194], 3
call fcn.0040b390
mov byte [esp + 0x188], 0
cmp dword [esp + 0x98], 0x10
jb 0x4b4f05
mov ecx, dword [esp + 0x84]
push ecx
call fcn.0059b877
add esp, 4
lea esi, [esp + 0x64]
call fcn.004b2f60
test al, al
jne 0x4b4f19
push 8
jmp 0x4b5336
push 1
lea esi, [esp + 0x68]
call fcn.004b29f0
add esp, 4
push edi
mov eax, str.files
call fcn.00505070
xor esi, esi
cmp eax, esi
jne 0x4b51a5
lea eax, [esp + 0x9c]
call fcn.004ad870
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x6c]
push edx
mov ecx, eax
mov byte [esp + 0x194], 4
call fcn.0040b390
push 0xffffffffffffffff
push 0xffffffffffffffff
push edi
mov eax, str.length
mov dword [esp + 0xc8], esi
mov dword [esp + 0xcc], esi
call fcn.00505000
cmp edx, esi
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], edx
jg 0x4b4fb0
jl 0x4b4f94
cmp eax, esi
jae 0x4b4fb0
push 0xa
mov esi, dword [esp + 0x14]
call fcn.004b2660
lea esi, [esp + 0x9c]
call fcn.004ad8c0
jmp 0x4b533f
push esi
push esi
push edi
mov eax, str.mtime
call fcn.00505000
mov dword [esp + 0xd4], eax
push edi
mov eax, str.attr
mov dword [esp + 0xdc], edx
call fcn.00504fd0
mov esi, eax
xor eax, eax
cmp esi, eax
je 0x4b503d
xor edx, edx
cmp dword [esi + 0xc], eax
jle 0x4b503d
mov ecx, dword [esi]
movsx ecx, byte [ecx + edx]
add ecx, 0xffffff98
cmp ecx, 0x10
ja case.0x4b4ffa.105
movzx ecx, byte [ecx + 0x4b5384]
jmp dword [ecx*4 + 0x4b5370]
or byte [esp + 0xf0], 8
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
jmp case.0x4b4ffa.105
or byte [esp + 0xf0], 4
jmp case.0x4b4ffa.105
or byte [esp + 0xf0], 2
jmp case.0x4b4ffa.105
or byte [esp + 0xf0], 1
add edx, 1
cmp edx, dword [esi + 0xc]
jl 0x4b4fe5
push str.symlink_path
mov eax, edi
call fcn.005050a0
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4b50fc
mov edx, dword [eax + 0x10]
and edx, 0xe0000000
cmp edx, 0x40000000
jne 0x4b50fc
mov ecx, dword [eax + 0xc]
test ecx, ecx
jle 0x4b50fc
xor edi, edi
mov dword [esp + 0x18], ecx
jmp 0x4b5084
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
add eax, edi
lea esi, [esp + 0x80]
call fcn.0049da60
mov eax, esi
push eax
mov byte [esp + 0x18c], 5
call fcn.004b2fd0
lea ecx, [esp + 0x4c]
add esp, 4
push ecx
mov edx, esi
lea ecx, [esp + 0xf8]
call fcn.004a0a90
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x100]
mov byte [esp + 0x194], 6
call fcn.0040b390
lea ecx, [esp + 0x48]
call fcn.0040b130
mov ecx, esi
mov byte [esp + 0x188], 4
call fcn.0040b130
add edi, 0x14
sub dword [esp + 0x18], 1
jne 0x4b5080
mov edi, dword [esp + 0x14]
push str.sha1
mov eax, edi
call fcn.005050a0
test eax, eax
je 0x4b5125
mov edx, dword [eax + 0x10]
and edx, 0xe0000000
cmp edx, 0x60000000
jne 0x4b5125
cmp dword [eax + 0xc], 0x14
mov esi, eax
je 0x4b5127
xor esi, esi
push 0x12
push str._____padding_file_
lea eax, [esp + 0xa4]
push eax
xor eax, eax
call fcn.004b2430
cmp eax, 0xffffffff
je 0x4b514a
or byte [esp + 0xf0], 1
cmp dword [esp + 0xc8], 0
jg 0x4b5167
jl 0x4b5160
cmp dword [esp + 0xc4], 0
jae 0x4b5167
push 9
jmp 0x4b4f96
test esi, esi
je 0x4b5175
mov eax, dword [esi]
mov ecx, dword [esp + 0x28]
add eax, ecx
jmp 0x4b5177
xor eax, eax
push eax
lea edx, [esp + 0xa0]
push edx
lea ecx, [ebx + 8]
call fcn.004ae450
and byte [ebx + 0x158], 0xfe
lea esi, [esp + 0x9c]
mov byte [esp + 0x188], 0
call fcn.004ad8c0
jmp 0x4b51cc
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x64]
push ecx
lea ecx, [ebx + 8]
push eax
call fcn.004b3820
add esp, 8
test al, al
jne 0x4b51c5
push 0xa
jmp 0x4b5336
or byte [ebx + 0x158], 1
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x6c]
push edx
lea ecx, [ebx + 0x68]
call fcn.0040b390
mov eax, dword [ebx + 0x94]
mov ecx, dword [ebx + 0x88]
mov esi, dword [ebx + 0x8c]
cdq
add ecx, eax
adc esi, edx
push edx
sub ecx, 1
push eax
sbb esi, 0
push esi
push ecx
call fcn.005c05d0
mov edi, eax
mov eax, dword [esp + 0x14]
push str.pieces
mov dword [ebx + 0x90], edi
call fcn.005050a0
mov esi, eax
mov eax, dword [esp + 0x14]
push str.root_hash
call fcn.005050a0
test esi, esi
mov dword [esp + 0x1c], eax
je 0x4b5242
mov edx, dword [esi + 0x10]
and edx, 0xe0000000
cmp edx, 0x60000000
je 0x4b525f
test eax, eax
je 0x4b5334
mov ecx, dword [eax + 0x10]
and ecx, 0xe0000000
cmp ecx, 0x60000000
jne 0x4b5334
test esi, esi
je 0x4b5284
lea edx, [edi + edi*4]
add edx, edx
add edx, edx
cmp dword [esi + 0xc], edx
je 0x4b5276
push 0xc
jmp 0x4b5336
mov eax, dword [esi]
add eax, dword [esp + 0x28]
mov dword [ebx + 0xe4], eax
jmp 0x4b52fa
cmp dword [eax + 0xc], 0x14
jne 0x4b526f
mov eax, 1
cmp edi, eax
jle 0x4b5299
add eax, eax
cmp edi, eax
jg 0x4b5293
lea edi, [eax + eax - 1]
mov ecx, edi
push edi
sub ecx, eax
lea esi, [ebx + 0xcc]
push esi
mov dword [ebx + 4], ecx
call fcn.004b75a0
lea edx, [edi + edi*4]
add edx, edx
add edx, edx
push edx
push 0
xor edi, edi
call fcn.004b75d0
push eax
call fcn.005be600
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
add esp, 0xc
mov dword [esp + 0x1c], ecx
call fcn.004b75d0
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
mov ecx, dword [ecx + 0x10]
mov dword [eax + 0x10], ecx
mov edx, dword [esp + 0x14]
push 0
push 0
push edx
mov eax, str.private
call fcn.00505000
or eax, edx
je 0x4b5315
mov al, 1
jmp 0x4b5317
xor al, al
add al, al
xor al, byte [ebx + 0x158]
lea ecx, [esp + 0x64]
and al, 2
xor byte [ebx + 0x158], al
call fcn.0040b130
mov al, 1
jmp 0x4b534a
push 0xb
mov esi, dword [esp + 0x14]
call fcn.004b2660
lea ecx, [esp + 0x64]
call fcn.0040b130
xor al, al
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x16c]
xor ecx, esp
call fcn.005b88a9
mov esp, ebp
pop ebp
ret