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

Disassembly:
push ebp
sub esp, 0x28
mov eax, 0x5763b6
call fcn.00566548
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 0x4fb7ae
mov eax, dword [esi + 0x30]
lea ebx, [eax - 1]
add ebx, ecx
jmp 0x4fb796
cmp ebx, eax
je 0x4fb7a8
dec ebx
cmp byte [ebx], 0x2f
je 0x4fb791
jmp 0x4fb7a4
cmp byte [ebx - 1], 0x2f
je 0x4fb7a8
dec ebx
cmp ebx, eax
jne 0x4fb79d
sub ebx, eax
mov byte [ebp + 0x37], 1
cmp byte [edi + 0x28], 0
je 0x4fba65
lea ecx, [ebp + 0x14]
call fcn.0040238d
and dword [ebp - 4], 0
cmp byte [ebp + 0x37], 0
je 0x4fb818
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 0x4fb807
cmp ebx, 1
jbe 0x4fb807
test ecx, ecx
je 0x4fb807
mov ecx, esi
call fcn.004f851a
test al, al
je 0x4fb807
mov byte [ebp + 0x2a], 1
cmp ebx, 0x9c
ja 0x4fb807
cmp dword [ebp + 0x24], 0x64
ja 0x4fb807
mov byte [ebp + 0x37], 0
jmp 0x4fb818
lea eax, [esi + 0x30]
mov edx, str.path
push eax
lea ecx, [ebp + 0x14]
call fcn.004fb463
cmp dword [esi + 0x40], 0x64
jbe 0x4fb82f
lea eax, [esi + 0x3c]
mov edx, str.linkpath
push eax
lea ecx, [ebp + 0x14]
call fcn.004fb463
cmp dword [esi + 4], 2
jb 0x4fb873
ja 0x4fb83c
cmp dword [esi], 0
jb 0x4fb873
lea ecx, [ebp]
call fcn.0040238d
push dword [esi + 4]
lea ecx, [ebp]
mov byte [ebp - 4], 1
push dword [esi]
call fcn.00402e1d
lea eax, [ebp]
mov edx, str.size
push eax
lea ecx, [ebp + 0x14]
call fcn.004fb463
push dword [ebp]
mov byte [ebp - 4], 0
call fcn.0056651e
pop ecx
cmp byte [esi + 0x19], 0
je 0x4fb88a
lea eax, [esi + 0x28]
mov edx, str.devmajor
push eax
lea ecx, [ebp + 0x14]
call fcn.004fb68a
cmp byte [esi + 0x1a], 0
je 0x4fb8a1
lea eax, [esi + 0x2c]
mov edx, str.devminor
push eax
lea ecx, [ebp + 0x14]
call fcn.004fb68a
lea eax, [esi + 0x20]
mov edx, 0x587254
push eax
lea ecx, [ebp + 0x14]
call fcn.004fb68a
lea eax, [esi + 0x24]
mov edx, 0x587258
push eax
lea ecx, [ebp + 0x14]
call fcn.004fb68a
cmp dword [esi + 0x14], 1
ja 0x4fb8d5
jb 0x4fb8d1
cmp dword [esi + 0x10], 0xffffffff
ja 0x4fb8d5
xor al, al
jmp 0x4fb8d7
mov al, 1
lea ecx, [esi + 0x68]
mov byte [ebp + 0x2b], al
cmp dword [ecx], 0xffffffff
je 0x4fb90f
test al, al
jne 0x4fb8fd
cmp dword [edi + 0x30], 0
jbe 0x4fb90f
cmp dword [ecx + 4], 0
jne 0x4fb8fd
cmp dword [ecx], 0
je 0x4fb90f
cmp dword [edi + 0x2c], 0
jne 0x4fb90f
lea eax, [edi + 0x2c]
mov edx, str.mtime
push eax
push ecx
lea ecx, [ebp + 0x14]
call fcn.004fb521
lea ecx, [esi + 0x78]
cmp dword [ecx], 0xffffffff
lea eax, [edi + 0x2c]
je 0x4fb92c
push eax
push ecx
mov edx, str.atime
lea ecx, [ebp + 0x14]
call fcn.004fb521
lea eax, [edi + 0x2c]
lea ecx, [esi + 0x88]
cmp dword [ecx], 0xffffffff
je 0x4fb946
push eax
push ecx
mov edx, str.ctime
lea ecx, [ebp + 0x14]
call fcn.004fb521
cmp dword [esi + 0x4c], 0x20
jbe 0x4fb95d
lea eax, [esi + 0x48]
mov edx, str.uname
push eax
lea ecx, [ebp + 0x14]
call fcn.004fb463
cmp dword [esi + 0x58], 0x20
jbe 0x4fb974
lea eax, [esi + 0x54]
mov edx, str.gname
push eax
lea ecx, [ebp + 0x14]
call fcn.004fb463
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x20], eax
test eax, eax
je 0x4fba53
push esi
lea ecx, [ebp - 0xb4]
call fcn.004f6c31
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.004026df
cmp byte [ebp + 0x2b], 0
mov dword [ebp - 0x98], 0x1a4
je 0x4fb9ea
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.004fbc46
mov dword [ebp + 0x24], eax
test eax, eax
jne 0x4fba2c
push dword [ebp + 0x20]
mov ecx, edi
push dword [ebp + 0x14]
call fcn.004fc08f
mov dword [ebp + 0x24], eax
test eax, eax
je 0x4fba48
lea ecx, [ebp - 0xb4]
call fcn.004f7089
push dword [ebp + 0x14]
call fcn.0056651e
mov eax, dword [ebp + 0x24]
pop ecx
jmp 0x4fbc32
lea ecx, [ebp - 0xb4]
call fcn.004f7089
push dword [ebp + 0x14]
or dword [ebp - 4], 0xffffffff
call fcn.0056651e
pop ecx
jmp 0x4fbb5d
cmp ecx, 0x64
ja 0x4fba74
cmp dword [esi + 0x40], 0x64
jbe 0x4fbb5d
push esi
lea ecx, [ebp - 0xb4]
call fcn.004f6c31
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 [0x58a558]
call fcn.004026df
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 0x4fbb45
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.004fbc46
mov dword [ebp + 0x20], eax
test eax, eax
jne 0x4fbb88
mov eax, dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 0x10]
push dword [eax + esi]
call fcn.004fc08f
mov dword [ebp + 0x20], eax
test eax, eax
jne 0x4fbb88
mov ecx, dword [ebp + 0x24]
inc ecx
mov dword [ebp + 0x24], ecx
cmp ecx, 2
jb 0x4fbadf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.004f7089
mov eax, dword [esi + 0x34]
cmp eax, 0x64
jbe 0x4fbc28
sub eax, ebx
cmp byte [ebp + 0x37], 0
mov dword [ebp + 0x24], eax
jne 0x4fbb9b
lea eax, [ebx - 1]
push eax
push dword [esi + 0x30]
lea ecx, [edi + 0x10]
call fcn.00403a41
jmp 0x4fbc15
lea ecx, [ebp - 0xb4]
call fcn.004f7089
mov eax, dword [ebp + 0x20]
jmp 0x4fbc32
push str._PathCut__pc_
lea ecx, [edi + 4]
call fcn.004026df
lea ecx, [edi + 4]
test ebx, ebx
jne 0x4fbbb6
push str.root
jmp 0x4fbbdc
push str.crc32_
call fcn.00402a41
mov ecx, dword [esi + 0x30]
lea edx, [ebx - 1]
call fcn.00564340
lea edx, [ebp]
mov ecx, eax
call fcn.00401c0a
lea eax, [ebp]
push eax
lea ecx, [edi + 4]
call fcn.00402a41
cmp byte [ebp + 0x2a], 0
je 0x4fbc0d
mov ecx, dword [ebp + 0x24]
mov eax, dword [edi + 8]
inc ecx
add eax, ecx
cmp eax, 0x64
jbe 0x4fbc0d
lea eax, [edi + 4]
push eax
lea ecx, [edi + 0x10]
call fcn.0040265b
mov eax, dword [edi + 4]
and dword [edi + 8], 0
mov byte [eax], 0
jmp 0x4fbc15
lea ecx, [edi + 4]
call fcn.00402d52
push dword [ebp + 0x24]
lea eax, [esi + 0x30]
mov eax, dword [eax]
lea ecx, [edi + 4]
add eax, ebx
push eax
call fcn.00402b39
push 0
push esi
mov ecx, edi
call fcn.004fbc46
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x2c
leave
ret 4