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

Disassembly:
push edi
push esi
push ebx
sub esp, 0x20
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov dword [esp + 4], 0x50
mov dword [esp], 1
call fcn.6adaef20
test eax, eax
je 0x6ad87268
mov ebx, eax
test edi, edi
je 0x6ad87212
cmp word [edi], 0
jne 0x6ad87240
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x10], ebx
mov dword [eax], ebx
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.6ad918c0
mov dword [esp], esi
call fcn.6ad922f0
xor eax, eax
add esp, 0x20
pop ebx
pop esi
pop edi
ret
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.6ad865f0
test eax, eax
je 0x6ad87212
mov dword [esp], ebx
mov dword [esp + 0x1c], eax
call fcn.6adaeef0
mov eax, dword [esp + 0x1c]
jmp 0x6ad87231
add esp, 0x20
mov eax, 0x27
pop ebx
pop esi
pop edi
ret
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
cmp byte [esp + 0x78], 0
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x7c]
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], eax
je 0x6ad92a00
lea eax, [esi + 0xc]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp], ecx
call fcn.6ad869f0
test eax, eax
jne 0x6ad929f2
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov dword [edx + 0x68], edi
mov edi, dword [esp + 0x18]
mov dword [edx + 0x6c], ebp
mov ebp, dword [esp + 0x1c]
mov dword [edx + 0x70], edi
mov edi, dword [esp + 0x28]
mov dword [edx + 0x74], ebp
lea ebp, [edx + 0x30]
mov ebx, dword [edi]
mov dword [edx + 0x30], ebx
test ebx, ebx
je 0x6ad929ca
mov dword [ebx + 4], ebp
mov edi, dword [esp + 0x28]
mov dword [edi], ebp
mov dword [edx + 0x34], edi
lea edx, [esi + 0xc]
cmp edi, edx
je 0x6ad929ec
mov edi, dword [esi + 4]
lea edx, [edi + 1]
mov dword [esi + 4], edx
cmp dword [esi + 8], edx
jb 0x6ad92aa8
mov esi, dword [esp + 0x24]
mov dword [esi], ecx
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0xfffc0001
mov ebx, dword [esp + 0x18]
mul edi
add eax, ebx
mov ebx, dword [esi + 8]
lea edx, [ebx - 1]
and eax, edx
mov edx, dword [esi]
lea eax, [edx + eax*4]
mov ebx, dword [eax]
mov dword [esp + 0x28], eax
test ebx, ebx
je 0x6ad92981
sub ebx, 0x30
mov eax, edi
mov edx, ebp
xor eax, dword [ebx + 0x68]
xor edx, dword [ebx + 0x6c]
or eax, edx
jne 0x6ad92a98
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
xor eax, dword [ebx + 0x70]
xor edx, dword [ebx + 0x74]
or eax, edx
jne 0x6ad92a98
test byte [ebx + 0x24], 0x10
jne 0x6ad92a6d
mov eax, dword [esp + 0x24]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], eax
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
jmp 0x6ad871e0
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x2c], ecx
sub eax, 0x14
mov dword [esp], eax
call fcn.6ad86960
mov dword [esp], str.Not_honoring_directory_hard_link_of___ls_
mov dword [esp + 4], eax
call fcn.6add560c
mov ecx, dword [esp + 0x2c]
lea esi, [esi]
nop
mov ebx, dword [ebx + 0x30]
test ebx, ebx
jne 0x6ad92a28
jmp 0x6ad92981
mov dword [esp], esi
mov dword [esp + 0x18], eax
call fcn.6ad92870
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
jmp 0x6ad929ec