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

Disassembly:
push 0xffffffffffffffff
push 0x3a2f440
mov eax, dword fs:[0]
push eax
sub esp, 0x678
mov eax, dword [0x3a7682c]
xor eax, esp
mov dword [esp + 0x674], eax
push ebx
push ebp
push esi
mov eax, dword [0x3a7682c]
xor eax, esp
push eax
lea eax, [esp + 0x688]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x698]
xor esi, esi
mov ebx, ecx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x10], ebx
cmp ebp, esi
je 0x398479e
lea ecx, [esp + 0x60]
mov dword [esp + 0x20], esi
call fcn.039efdc0
mov dword [esp + 0x690], esi
lea ecx, [esp + 0x24c]
call fcn.039efdc0
mov byte [esp + 0x690], 1
call dword [0x3a5fd78]
push esi
mov dword [esp + 0x20], eax
push esi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x258]
push ecx
push ebp
call fcn.03976d20
add esp, 0x14
test al, al
jne 0x3984732
mov edx, dword [0x3a75168]
mov eax, dword [edx]
shr eax, 0x15
test al, 1
je 0x3984709
cmp edi, esi
je 0x3984709
mov ecx, dword [0x3a56b80]
push ecx
push str.__GetLongPath_reports_file_dir_does_not_exist_
mov ecx, edi
call fcn.039efdd0
mov edx, dword [esp + 0x1c]
mov esi, dword [0x3a5fde0]
push edx
call esi
push ebp
call fcn.039f5270
add esp, 4
test al, al
je 0x3984727
push 3
call esi
mov dword [ebx], 0
jmp 0x3985305
mov edx, dword [esp + 0x24c]
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x64]
push ecx
push edx
call fcn.03975600
add esp, 0xc
test al, al
jne 0x39847a5
mov eax, dword [0x3a75168]
mov ecx, dword [eax]
shr ecx, 0x15
test cl, 1
je 0x3984776
cmp edi, esi
je 0x3984776
mov edx, dword [0x3a56b80]
push edx
push str.__GetFullPathName_failed_
mov ecx, edi
call fcn.039efdd0
mov byte [esp + 0x690], 0
lea ecx, [esp + 0x24c]
call fcn.039ef660
mov dword [esp + 0x690], 0xffffffff
lea ecx, [esp + 0x60]
call fcn.039ef660
xor al, al
jmp 0x398532f
mov eax, dword [esp + 0x60]
push eax
call fcn.039734c0
add esp, 4
test al, al
je 0x3984776
mov esi, dword [esp + 0x60]
lea ecx, [esp + 0x4dc]
call fcn.039efdc0
mov byte [esp + 0x690], 2
lea ecx, [esp + 0x4dc]
push ecx
push esi
call fcn.039d9a90
add esp, 8
lea ecx, [esp + 0x1a8]
mov esi, eax
call fcn.039efdc0
mov byte [esp + 0x690], 3
push 1
lea edx, [esp + 0x1ac]
push edx
push esi
call fcn.03984510
add esp, 0xc
lea ecx, [esp + 0x394]
call fcn.039efdc0
mov byte [esp + 0x690], 4
xor ebx, ebx
push ebx
lea eax, [esp + 0x398]
push eax
push esi
call fcn.03973bd0
add esp, 0xc
lea ecx, [esp + 0x28]
mov byte [esp + 0x17], al
mov dword [esp + 0x24], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x18], ebx
call fcn.0394ec90
mov byte [esp + 0x690], 5
lea ecx, [esp + 0x28]
call fcn.03953a00
lea ecx, [esp + 0x28]
call fcn.0394fd10
mov ebx, eax
mov dword [esp + 0x4c], ebx
xor esi, esi
jmp 0x3984870
mov eax, dword [esp + 0x1a8]
push edi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi*4 + 0x3a755ac]
lea edx, [esp + 0x2c]
push edx
push eax
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.039649f0
add esp, 0x18
cmp eax, 1
je 0x3984e02
test eax, eax
jne 0x3984acb
mov eax, dword [0x3a75168]
mov ecx, dword [eax]
shr ecx, 0x15
test cl, 1
je 0x39848cb
test edi, edi
je 0x39848cb
push esi
push str._path_found_in_view__d_
push edi
call fcn.039f0800
add esp, 0xc
push edi
lea edx, [esp + 0x54]
push edx
mov edx, dword [esi*4 + 0x3a755ac]
lea eax, [esp + 0x588]
push eax
lea ecx, [esp + 0x68]
push ecx
push 0
push 1
push 0
push 0x3a3ad58
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x78], 0x60
call fcn.03964240
test eax, eax
jne 0x3984bc5
mov edx, dword [0x3a75168]
mov eax, dword [edx]
shr eax, 0x15
test al, 1
je 0x3984931
test edi, edi
je 0x3984931
push esi
push str._metadata_found_in_view__d_
push edi
call fcn.039f0800
add esp, 0xc
or ebp, 0xffffffff
cmp byte [esp + 0x580], 1
jne 0x3984de5
lea ecx, [esp + 0x2f0]
call fcn.039efdc0
mov bl, 6
mov byte [esp + 0x690], bl
mov ecx, dword [esp + 0x1a8]
push ecx
lea edx, [esp + 0x2f4]
push edx
call fcn.0394f4b0
add esp, 8
lea ecx, [esp + 0x104]
call fcn.039efdc0
mov byte [esp + 0x690], 7
mov ecx, dword [esp + 0x2f0]
lea eax, [esp + 0x104]
push eax
push ecx
call fcn.039f8d10
mov edx, dword [esp + 0x10c]
add esp, 8
push edx
call dword [0x3a5feec]
cmp eax, ebp
je 0x3984c9a
test al, 0x10
jne 0x3984e3c
test esi, esi
jne 0x3984cc3
mov eax, dword [0x3a75168]
mov ecx, dword [eax]
shr ecx, 0x15
test cl, 1
je 0x39849ea
test edi, edi
je 0x39849ea
mov edx, dword [esp + 0x2f0]
push edx
push str._Deleting_sandbox_file__ls_
push edi
call fcn.039f0800
add esp, 0xc
mov eax, dword [esp + 0x1c]
push eax
call dword [0x3a5fde0]
mov ecx, dword [esp + 0x104]
push ecx
call dword [0x3a5fd7c]
mov edx, dword [esp + 0x10]
mov dword [edx], eax
test eax, eax
jne 0x3984cc3
mov edx, dword [0x3a75168]
mov eax, dword [edx]
shr eax, 0x15
test al, 1
je 0x3984a37
test edi, edi
je 0x3984a37
mov ecx, dword [0x3a56b80]
push ecx
push str.__delete_from_sandbox_failed__
mov ecx, edi
call fcn.039efdd0
mov byte [esp + 0x690], bl
lea ecx, [esp + 0x104]
call fcn.039ef660
mov byte [esp + 0x690], 5
lea ecx, [esp + 0x2f0]
call fcn.039ef660
mov byte [esp + 0x690], 4
lea ecx, [esp + 0x28]
call fcn.0394fcd0
mov byte [esp + 0x690], 3
lea ecx, [esp + 0x394]
call fcn.039ef660
mov byte [esp + 0x690], 2
lea ecx, [esp + 0x1a8]
call fcn.039ef660
mov byte [esp + 0x690], 1
lea ecx, [esp + 0x4dc]
call fcn.039ef660
mov byte [esp + 0x690], 0
lea ecx, [esp + 0x24c]
call fcn.039ef660
mov dword [esp + 0x690], ebp
jmp 0x3985324
cmp eax, 2
jne 0x3984bc5
cmp byte [esp + 0x17], 0
je 0x3984bc5
cmp dword [esp + 0x18], 1
jle 0x3984bc5
lea ecx, [esp + 0x438]
call fcn.039efdc0
mov byte [esp + 0x690], 0xb
mov edx, dword [esp + 0x394]
push 1
lea ecx, [esp + 0x43c]
push ecx
push edx
call fcn.03984510
mov edx, dword [esp + 0x444]
push edi
lea eax, [esp + 0x28]
push eax
mov eax, dword [esi*4 + 0x3a755ac]
lea ecx, [esp + 0x38]
push ecx
push edx
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.039649f0
mov edx, dword [esp + 0x48]
add esp, 0x24
mov ebx, eax
mov eax, dword [esi*4 + 0x3a755ac]
push eax
push edx
lea ecx, [esp + 0x30]
call fcn.0394edf0
mov ebp, dword [eax]
and ebp, 7
test ebx, ebx
jne 0x3984b97
mov eax, dword [0x3a75168]
mov ecx, dword [eax]
shr ecx, 0x15
test cl, 1
je 0x3984b80
test edi, edi
je 0x3984b80
push esi
push str._parent_directory_found_in_view__d_
push edi
call fcn.039f0800
add esp, 0xc
cmp ebp, 4
je 0x3985071
cmp esi, 1
jne 0x3984b97
cmp ebp, 3
je 0x3985071
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x48]
jle 0x3984ba9
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], eax
mov byte [esp + 0x690], 5
lea ecx, [esp + 0x438]
call fcn.039ef660
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x58]
inc esi
cmp esi, 2
jl 0x3984870
cmp ebx, 3
je 0x3985280
cmp ebx, 4
je 0x3985280
cmp ebx, 1
jne 0x39851ff
mov edx, dword [0x3a75168]
mov eax, dword [edx]
shr eax, 0x15
test bl, al
je 0x3984c10
test edi, edi
je 0x3984c10
mov ecx, dword [0x3a56b80]
push ecx
push str._deepest_parent_directory_is_writecopy_
mov ecx, edi
call fcn.039efdd0
lea ecx, [esp + 0x104]
call fcn.039efdc0
mov byte [esp + 0x690], 0xc
lea edx, [esp + 0x104]
push edx
push ebp
call fcn.039f8d10
mov eax, dword [esp + 0x10c]
add esp, 8
push eax
call dword [0x3a5feec]
or ebp, 0xffffffff
cmp eax, ebp
jne 0x39850c2
mov ecx, dword [0x3a75168]
mov edx, dword [ecx]
shr edx, 0x15
test dl, 1
je 0x3984c74
test edi, edi
je 0x3984c74
mov eax, dword [0x3a56b80]
push eax
push str.__does_not_exist_on_system_
mov ecx, edi
call fcn.039efdd0
push 2
call dword [0x3a5fde0]
mov ecx, dword [esp + 0x10]
mov dword [ecx], 0
mov byte [esp + 0x690], 5
lea ecx, [esp + 0x104]
jmp 0x3984e96
mov eax, dword [0x3a75168]
mov ecx, dword [eax]
shr ecx, 0x15
test cl, 1
je 0x3984cc3
test edi, edi
je 0x3984cc3
mov edx, dword [esp + 0x2f0]
push edx
push str.__metadata_points_to_missing_sandbox_file___ls_
push edi
call fcn.039f0800
add esp, 0xc
mov byte [esp + 0x690], bl
lea ecx, [esp + 0x104]
call fcn.039ef660
mov byte [esp + 0x690], 5
lea ecx, [esp + 0x2f0]
call fcn.039ef660
lea ecx, [esp + 0x438]
call fcn.039efdc0
mov byte [esp + 0x690], 8
mov ecx, dword [esp + 0x394]
push 1
lea eax, [esp + 0x43c]
push eax
push ecx
call fcn.03984510
add esp, 0xc
lea ecx, [esp + 0x2f0]
call fcn.039efdc0
mov byte [esp + 0x690], 9
mov edx, dword [0x3a56b80]
push edx
push 0x3a465b8
lea ecx, [esp + 0x2f8]
call fcn.039efdd0
mov eax, dword [0x3a56b80]
push eax
push 0
lea ecx, [esp + 0x440]
push ecx
lea ecx, [esp + 0x2fc]
call fcn.039eff20
mov ecx, dword [esp + 0x438]
push edi
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x38]
push 0
push edx
mov byte [esp + 0x28], 0
xor bl, bl
call fcn.039649f0
add esp, 0x18
test eax, eax
je 0x3984d92
cmp eax, 2
jne 0x3984db0
mov eax, dword [esp + 0x20]
push 0
push eax
lea ecx, [esp + 0x30]
call fcn.0394edf0
mov eax, dword [eax]
and eax, 7
cmp eax, 4
je 0x3984f5e
mov eax, dword [esp + 0x1a8]
push edi
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x38]
push 1
push ecx
call fcn.039649f0
add esp, 0x18
test eax, eax
jne 0x3984f35
mov bl, 1
mov byte [esp + 0x10], bl
jmp 0x3984f60
test byte [esp + 0x5c8], 0x10
jne 0x3984f08
mov eax, dword [esp + 0x10]
mov dword [eax], 1
jmp 0x3984cea
mov ecx, dword [0x3a75168]
mov edx, dword [ecx]
shr edx, 0x15
test dl, 1
je 0x3984e25
test edi, edi
je 0x3984e25
push esi
push str.__found_already_deleted_in_view__d_
push edi
call fcn.039f0800
add esp, 0xc
push 2
call dword [0x3a5fde0]
mov eax, dword [esp + 0x10]
mov dword [eax], 0
jmp 0x39852b8
mov ecx, dword [0x3a75168]
mov edx, dword [ecx]
shr edx, 0x15
test dl, 1
je 0x3984e62
test edi, edi
je 0x3984e62
mov eax, dword [0x3a56b80]
push eax
push str.__directory:_cannot_delete_
mov ecx, edi
call fcn.039efdd0
push 5
call dword [0x3a5fde0]
mov ecx, dword [esp + 0x10]
mov dword [ecx], 0
mov byte [esp + 0x690], bl
lea ecx, [esp + 0x104]
call fcn.039ef660
mov byte [esp + 0x690], 5
lea ecx, [esp + 0x2f0]
call fcn.039ef660
mov byte [esp + 0x690], 4
lea ecx, [esp + 0x28]
call fcn.0394fcd0
mov byte [esp + 0x690], 3
lea ecx, [esp + 0x394]
call fcn.039ef660
mov byte [esp + 0x690], 2
lea ecx, [esp + 0x1a8]
call fcn.039ef660
mov byte [esp + 0x690], 1
lea ecx, [esp + 0x4dc]
call fcn.039ef660
mov byte [esp + 0x690], 0
lea ecx, [esp + 0x24c]
call fcn.039ef660
mov dword [esp + 0x690], ebp
jmp 0x3985324
mov edx, dword [0x3a75168]
mov eax, dword [edx]
shr eax, 0x15
test al, 1
je 0x3984f2e
test edi, edi
je 0x3984f2e
mov ecx, dword [0x3a56b80]
push ecx
push str.__directory:_cannot_delete_
mov ecx, edi
call fcn.039efdd0
push 5
jmp 0x39852a8
cmp eax, 1
je 0x3984f5e
cmp eax, 2
jne 0x3984f60
mov edx, dword [esp + 0x20]
push 1
push edx
lea ecx, [esp + 0x30]
call fcn.0394edf0
mov eax, dword [eax]
and eax, 7
cmp eax, 4
je 0x3984f5e
cmp eax, 3
jne 0x3984f60
mov bl, 1
call dword [0x3a5fd78]
mov esi, eax
test bl, bl
jne 0x3984f89
mov eax, dword [esp + 0x60]
push 4
push 0x90
push eax
call fcn.03974d90
add esp, 0xc
test al, al
je 0x3984f89
mov byte [esp + 0x10], 1
lea ecx, [esp + 0x104]
call fcn.039efdc0
mov byte [esp + 0x690], 0xa
mov ecx, dword [0x3a56b80]
push ecx
push 0x3a465b8
lea ecx, [esp + 0x10c]
call fcn.039efdd0
mov edx, dword [0x3a56b80]
push edx
push 0
lea eax, [esp + 0x1b0]
push eax
lea ecx, [esp + 0x110]
call fcn.039eff20
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x104]
push 1
push ecx
push edx
lea eax, [esp + 0x34]
push 0x80000002
push eax
call fcn.039675a0
add esp, 0x14
cmp word [esp + 0x588], 0
je 0x3985029
cmp byte [esp + 0x17], 0
je 0x3985029
mov edx, dword [esp + 0x2f0]
push 0
lea ecx, [esp + 0x58c]
push ecx
push edx
lea eax, [esp + 0x34]
push 0x80000002
push eax
call fcn.03966750
add esp, 0x14
call fcn.039dfa90
push esi
call dword [0x3a5fde0]
mov byte [esp + 0x690], 9
lea ecx, [esp + 0x104]
call fcn.039ef660
mov byte [esp + 0x690], 8
lea ecx, [esp + 0x2f0]
call fcn.039ef660
mov byte [esp + 0x690], 5
lea ecx, [esp + 0x438]
jmp 0x3984e96
mov ecx, dword [0x3a75168]
mov edx, dword [ecx]
shr edx, 0x15
test dl, 1
je 0x3985097
test edi, edi
je 0x3985097
mov eax, dword [0x3a56b80]
push eax
push str.__parent_directory_isolated_
mov ecx, edi
call fcn.039efdd0
push 2
call dword [0x3a5fde0]
mov ecx, dword [esp + 0x10]
mov dword [ecx], 0
mov byte [esp + 0x690], 5
lea ecx, [esp + 0x438]
call fcn.039ef660
jmp 0x39852b8
test al, 0x10
je 0x3985112
mov edx, dword [0x3a75168]
mov eax, dword [edx]
shr eax, 0x15
test al, 1
je 0x39850ec
test edi, edi
je 0x39850ec
mov ecx, dword [0x3a56b80]
push ecx
push str.__system_proble:_directory:_cannot_delete_
mov ecx, edi
call fcn.039efdd0
push 5
call dword [0x3a5fde0]
mov edx, dword [esp + 0x10]
mov dword [edx], 0
mov byte [esp + 0x690], 5
lea ecx, [esp + 0x104]
jmp 0x3984e96
lea ecx, [esp + 0x2f0]
call fcn.039efdc0
mov bl, 0xd
mov byte [esp + 0x690], bl
mov ecx, dword [esp + 0x394]
push 1
lea eax, [esp + 0x2f4]
push eax
push ecx
call fcn.03984510
add esp, 0xc
lea ecx, [esp + 0x438]
call fcn.039efdc0
mov byte [esp + 0x690], 0xe
mov edx, dword [0x3a56b80]
push edx
push 0x3a465b8
lea ecx, [esp + 0x440]
call fcn.039efdd0
mov eax, dword [0x3a56b80]
push eax
push 0
lea ecx, [esp + 0x2f8]
push ecx
lea ecx, [esp + 0x444]
call fcn.039eff20
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x438]
push 1
push edx
push eax
lea ecx, [esp + 0x34]
push 0x80000002
push ecx
call fcn.03966650
add esp, 0x14
call fcn.039dfa90
mov edx, dword [esp + 0x1c]
push edx
call dword [0x3a5fde0]
mov eax, dword [esp + 0x10]
mov dword [eax], 1
mov byte [esp + 0x690], bl
lea ecx, [esp + 0x438]
call fcn.039ef660
mov byte [esp + 0x690], 0xc
lea ecx, [esp + 0x2f0]
call fcn.039ef660
mov byte [esp + 0x690], 5
lea ecx, [esp + 0x104]
jmp 0x3984e96
mov ecx, dword [0x3a75168]
mov edx, dword [ecx]
shr edx, 0x15
test dl, 1
je 0x3985222
test edi, edi
je 0x3985222
push ebp
push str._passing_on_to_system:__ls_
push edi
call fcn.039f0800
add esp, 0xc
lea ecx, [esp + 0x5e0]
call fcn.039efdc0
mov byte [esp + 0x690], 0xf
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x5e0]
push eax
push ecx
call fcn.039f8d10
mov edx, dword [esp + 0x24]
add esp, 8
push edx
call dword [0x3a5fde0]
mov eax, dword [esp + 0x5e0]
push eax
call dword [0x3a5fd7c]
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov byte [esp + 0x690], 5
lea ecx, [esp + 0x5e0]
call fcn.039ef660
jmp 0x39852b8
mov edx, dword [0x3a75168]
mov eax, dword [edx]
shr eax, 0x15
test al, 1
je 0x39852a6
test edi, edi
je 0x39852a6
mov ecx, dword [0x3a56b80]
push ecx
push str.__deepest_parent_directory_isolated_
mov ecx, edi
call fcn.039efdd0
push 2
call dword [0x3a5fde0]
mov edx, dword [esp + 0x10]
mov dword [edx], 0
mov byte [esp + 0x690], 4
lea ecx, [esp + 0x28]
call fcn.0394fcd0
mov byte [esp + 0x690], 3
lea ecx, [esp + 0x394]
call fcn.039ef660
mov byte [esp + 0x690], 2
lea ecx, [esp + 0x1a8]
call fcn.039ef660
mov byte [esp + 0x690], 1
lea ecx, [esp + 0x4dc]
call fcn.039ef660
mov byte [esp + 0x690], 0
lea ecx, [esp + 0x24c]
call fcn.039ef660
mov dword [esp + 0x690], 0xffffffff
lea ecx, [esp + 0x60]
call fcn.039ef660
mov al, 1
mov ecx, dword [esp + 0x688]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x674]
xor ecx, esp
call fcn.03a00f6a
add esp, 0x684
ret