Function at 0x4fb670
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
sub esp, 0x28
mov eax, 0x576d8b
call fcn.00566e38
sub esp, 0xa8
push ebx
push esi
mov esi, dword [ebp + 0x34]
push edi
mov edi, ecx
xor ecx, ecx
mov ebx, ecx
mov byte [ebp + 0x37], cl
mov byte [ebp + 0x2a], cl
mov eax, dword [edi + 4]
mov dword [edi + 8], ecx
mov byte [eax], cl
mov eax, dword [edi + 0x10]
mov dword [edi + 0x14], ecx
mov byte [eax], cl
mov ecx, dword [esi + 0x34]
cmp ecx, 0x64
jbe 0x4fb6d5
mov eax, dword [esi + 0x30]
lea ebx, [eax - 1]
add ebx, ecx
jmp 0x4fb6bd
cmp ebx, eax
je 0x4fb6cf
dec ebx
cmp byte [ebx], 0x2f
je 0x4fb6b8
jmp 0x4fb6cb
cmp byte [ebx - 1], 0x2f
je 0x4fb6cf
dec ebx
cmp ebx, eax
jne 0x4fb6c4
sub ebx, eax
mov byte [ebp + 0x37], 1
cmp byte [edi + 0x28], 0
je 0x4fb98c
lea ecx, [ebp + 0x14]
call fcn.00402365
and dword [ebp - 4], 0
cmp byte [ebp + 0x37], 0
je 0x4fb73f
mov al, byte [esi + 0x18]
mov ecx, dword [esi + 0x34]
sub al, 0x30
sub ecx, ebx
mov dword [ebp + 0x24], ecx
cmp al, 5
ja 0x4fb72e
cmp ebx, 1
jbe 0x4fb72e
test ecx, ecx
je 0x4fb72e
mov ecx, esi
call fcn.004f8441
test al, al
je 0x4fb72e
mov byte [ebp + 0x2a], 1
cmp ebx, 0x9c
ja 0x4fb72e
cmp dword [ebp + 0x24], 0x64
ja 0x4fb72e
mov byte [ebp + 0x37], 0
jmp 0x4fb73f
lea eax, [esi + 0x30]
mov edx, str.path
push eax
lea ecx, [ebp + 0x14]
call fcn.004fb38a
cmp dword [esi + 0x40], 0x64
jbe 0x4fb756
lea eax, [esi + 0x3c]
mov edx, str.linkpath
push eax
lea ecx, [ebp + 0x14]
call fcn.004fb38a
cmp dword [esi + 4], 2
jb 0x4fb79a
ja 0x4fb763
cmp dword [esi], 0
jb 0x4fb79a
lea ecx, [ebp]
call fcn.00402365
push dword [esi + 4]
lea ecx, [ebp]
mov byte [ebp - 4], 1
push dword [esi]
call fcn.00402ddd
lea eax, [ebp]
mov edx, str.size
push eax
lea ecx, [ebp + 0x14]
call fcn.004fb38a
push dword [ebp]
mov byte [ebp - 4], 0
call fcn.00566e0e
pop ecx
cmp byte [esi + 0x19], 0
je 0x4fb7b1
lea eax, [esi + 0x28]
mov edx, str.devmajor
push eax
lea ecx, [ebp + 0x14]
call fcn.004fb5b1
cmp byte [esi + 0x1a], 0
je 0x4fb7c8
lea eax, [esi + 0x2c]
mov edx, str.devminor
push eax
lea ecx, [ebp + 0x14]
call fcn.004fb5b1
lea eax, [esi + 0x20]
mov edx, 0x5882b4
push eax
lea ecx, [ebp + 0x14]
call fcn.004fb5b1
lea eax, [esi + 0x24]
mov edx, 0x5882b8
push eax
lea ecx, [ebp + 0x14]
call fcn.004fb5b1
cmp dword [esi + 0x14], 1
ja 0x4fb7fc
jb 0x4fb7f8
cmp dword [esi + 0x10], 0xffffffff
ja 0x4fb7fc
xor al, al
jmp 0x4fb7fe
mov al, 1
lea ecx, [esi + 0x68]
mov byte [ebp + 0x2b], al
cmp dword [ecx], 0xffffffff
je 0x4fb836
test al, al
jne 0x4fb824
cmp dword [edi + 0x30], 0
jbe 0x4fb836
cmp dword [ecx + 4], 0
jne 0x4fb824
cmp dword [ecx], 0
je 0x4fb836
cmp dword [edi + 0x2c], 0
jne 0x4fb836
lea eax, [edi + 0x2c]
mov edx, str.mtime
push eax
push ecx
lea ecx, [ebp + 0x14]
call fcn.004fb448
lea ecx, [esi + 0x78]
cmp dword [ecx], 0xffffffff
lea eax, [edi + 0x2c]
je 0x4fb853
push eax
push ecx
mov edx, str.atime
lea ecx, [ebp + 0x14]
call fcn.004fb448
lea eax, [edi + 0x2c]
lea ecx, [esi + 0x88]
cmp dword [ecx], 0xffffffff
je 0x4fb86d
push eax
push ecx
mov edx, str.ctime
lea ecx, [ebp + 0x14]
call fcn.004fb448
cmp dword [esi + 0x4c], 0x20
jbe 0x4fb884
lea eax, [esi + 0x48]
mov edx, str.uname
push eax
lea ecx, [ebp + 0x14]
call fcn.004fb38a
cmp dword [esi + 0x58], 0x20
jbe 0x4fb89b
lea eax, [esi + 0x54]
mov edx, str.gname
push eax
lea ecx, [ebp + 0x14]
call fcn.004fb38a
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x20], eax
test eax, eax
je 0x4fb97a
push esi
lea ecx, [ebp - 0xb4]
call fcn.004f6b59
mov eax, dword [ebp - 0x78]
xor ecx, ecx
mov dword [ebp - 0x74], ecx
push str.PaxHeader__PaxHeader
mov byte [ebp - 4], 2
mov byte [eax], cl
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x68], ecx
mov byte [eax], cl
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x5c], ecx
mov byte [eax], cl
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], ecx
mov word [ebp - 0x9b], cx
lea ecx, [ebp - 0x84]
call fcn.004026b7
cmp byte [ebp + 0x2b], 0
mov dword [ebp - 0x98], 0x1a4
je 0x4fb911
xorps xmm0, xmm0
movlpd qword [ebp - 0xa4], xmm0
mov eax, dword [ebp + 0x20]
mov ecx, edi
and dword [ebp - 0xb0], 0
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xb4]
push 1
push eax
mov byte [ebp - 0x9c], 0x78
call fcn.004fbb6d
mov dword [ebp + 0x24], eax
test eax, eax
jne 0x4fb953
push dword [ebp + 0x20]
mov ecx, edi
push dword [ebp + 0x14]
call fcn.004fbfb6
mov dword [ebp + 0x24], eax
test eax, eax
je 0x4fb96f
lea ecx, [ebp - 0xb4]
call fcn.004f6fb1
push dword [ebp + 0x14]
call fcn.00566e0e
mov eax, dword [ebp + 0x24]
pop ecx
jmp 0x4fbb59
lea ecx, [ebp - 0xb4]
call fcn.004f6fb1
push dword [ebp + 0x14]
or dword [ebp - 4], 0xffffffff
call fcn.00566e0e
pop ecx
jmp 0x4fba84
cmp ecx, 0x64
ja 0x4fb99b
cmp dword [esi + 0x40], 0x64
jbe 0x4fba84
push esi
lea ecx, [ebp - 0xb4]
call fcn.004f6b59
mov eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x84]
and dword [ebp - 0x74], 0
mov dword [ebp - 4], 3
mov byte [eax], 0
push dword [0x58b5a8]
call fcn.004026b7
mov eax, dword [ebp - 0x6c]
xor ecx, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x98], 0x1a4
movlpd qword [ebp - 0xa4], xmm0
mov dword [ebp - 0x68], ecx
mov byte [eax], cl
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x5c], ecx
mov dword [ebp + 0x24], ecx
mov byte [eax], cl
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], ecx
mov word [ebp - 0x9b], cx
test ecx, ecx
push 0x3c
setne al
add al, 0x4b
test ecx, ecx
mov byte [ebp - 0x9c], al
pop eax
push 0x30
pop edx
cmovne eax, edx
mov dword [ebp + 0xc], eax
mov eax, dword [eax + esi + 4]
cmp eax, 0x64
jbe 0x4fba6c
and dword [ebp - 0xb0], 0
inc eax
mov dword [ebp + 0x10], eax
mov ecx, edi
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xb4]
push 0
push eax
call fcn.004fbb6d
mov dword [ebp + 0x20], eax
test eax, eax
jne 0x4fbaaf
mov eax, dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 0x10]
push dword [eax + esi]
call fcn.004fbfb6
mov dword [ebp + 0x20], eax
test eax, eax
jne 0x4fbaaf
mov ecx, dword [ebp + 0x24]
inc ecx
mov dword [ebp + 0x24], ecx
cmp ecx, 2
jb 0x4fba06
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.004f6fb1
mov eax, dword [esi + 0x34]
cmp eax, 0x64
jbe 0x4fbb4f
sub eax, ebx
cmp byte [ebp + 0x37], 0
mov dword [ebp + 0x24], eax
jne 0x4fbac2
lea eax, [ebx - 1]
push eax
push dword [esi + 0x30]
lea ecx, [edi + 0x10]
call fcn.004039f7
jmp 0x4fbb3c
lea ecx, [ebp - 0xb4]
call fcn.004f6fb1
mov eax, dword [ebp + 0x20]
jmp 0x4fbb59
push str._PathCut__pc_
lea ecx, [edi + 4]
call fcn.004026b7
lea ecx, [edi + 4]
test ebx, ebx
jne 0x4fbadd
push str.root
jmp 0x4fbb03
push str.crc32_
call fcn.00402a01
mov ecx, dword [esi + 0x30]
lea edx, [ebx - 1]
call fcn.00564c30
lea edx, [ebp]
mov ecx, eax
call fcn.00401c0a
lea eax, [ebp]
push eax
lea ecx, [edi + 4]
call fcn.00402a01
cmp byte [ebp + 0x2a], 0
je 0x4fbb34
mov ecx, dword [ebp + 0x24]
mov eax, dword [edi + 8]
inc ecx
add eax, ecx
cmp eax, 0x64
jbe 0x4fbb34
lea eax, [edi + 4]
push eax
lea ecx, [edi + 0x10]
call fcn.00402633
mov eax, dword [edi + 4]
and dword [edi + 8], 0
mov byte [eax], 0
jmp 0x4fbb3c
lea ecx, [edi + 4]
call fcn.00402d12
push dword [ebp + 0x24]
lea eax, [esi + 0x30]
mov eax, dword [eax]
lea ecx, [edi + 4]
add eax, ebx
push eax
call fcn.00402af9
push 0
push esi
mov ecx, edi
call fcn.004fbb6d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x2c
leave
ret 4