Function at 0x4de270
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x440
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x5042b0
mov dword [ebp - 0x4c], ecx
mov edi, 0x200
lea eax, [ebp - 0x18]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 2
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x30], 0
cmp edi, 0x201
jae 0x4de300
jmp 0x4de2ee
jbe 0x4de38a
cmp edi, 0x201
jae 0x4de300
mov dword [ebp - 0x2c], 0x200
lea ebx, [ebp - 0x44c]
mov esi, edi
jmp 0x4de333
sub edi, dword [ebp - 0x28]
je 0x4de327
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x38]
push edi
call fcn.00528900
add esp, 4
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
push 0
call dword [sym.imp.kernel32.dll_SetLastError]
push esi
push ebx
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
mov edi, eax
test eax, eax
jne 0x4de359
mov dword [ebp - 0x3c], ebx
call dword [sym.imp.kernel32.dll_GetLastError]
mov ebx, dword [ebp - 0x3c]
test eax, eax
jne 0x4de3c7
cmp edi, esi
jne 0x4de2e0
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4de5f9
lea edi, [esi + esi]
test esi, esi
mov eax, 0xffffffff
cmovs edi, eax
cmp edi, 0x201
jb 0x4de2ee
jmp 0x4de300
mov edx, dword [ebp - 0x2c]
cmp edi, edx
ja 0x4de619
test edi, edi
mov dword [ebp - 0x20], edi
je 0x4de3fa
lea edx, [edi + edi]
cmp edi, 0x3fffffff
ja 0x4de631
movzx eax, byte [0x5c3018]
xor ecx, ecx
mov edi, edx
call fcn.004e33d0
test eax, eax
je 0x4de637
mov esi, eax
jmp 0x4de401
call dword [sym.imp.kernel32.dll_GetLastError]
cmp dword [ebp - 0x38], 0
mov esi, eax
je 0x4de3e2
mov ecx, dword [ebp - 0x34]
mov edx, 2
call fcn.004332a0
mov eax, dword [ebp - 0x4c]
mov dword [eax + 4], 0
mov dword [eax + 8], esi
mov dword [eax], 0x80000000
jmp 0x4de5e5
mov esi, 2
xor edi, edi
push edi
push ebx
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp dword [ebp - 0x38], 0
je 0x4de41f
mov ecx, dword [ebp - 0x34]
mov edx, 2
call fcn.004332a0
mov edx, dword [ebp - 0x20]
mov ebx, 0x57efcb
xor edi, edi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], edx
jmp 0x4de44e
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x28]
mov word [esi + edx*2], ax
inc edx
mov dword [ebp - 0x40], edx
test ebx, ebx
je 0x4de520
mov eax, dword [ebp - 0x2c]
test ax, ax
je 0x4de4a0
xor ecx, ecx
cmp edx, dword [ebp - 0x48]
mov dword [ebp - 0x28], eax
jne 0x4de440
mov eax, 0x57efcb
mov esi, edx
mov edx, 0xaaaaaaab
mov dword [ebp - 0x10], 1
sub eax, ebx
add eax, 0xa
mul edx
mov eax, edx
mov edx, edi
shr eax, 1
cmp cx, 1
mov dword [ebp - 0x2c], ecx
adc edx, 0xffffffff
sub eax, edx
mov edx, esi
inc eax
jmp 0x4de548
lea eax, [0x57efd3]
cmp ebx, eax
je 0x4de520
mov dword [ebp - 0x20], edx
movzx edx, byte [ebx]
movzx eax, dl
test dl, dl
js 0x4de4bf
mov edx, dword [ebp - 0x20]
inc ebx
xor ecx, ecx
jmp 0x4de460
mov dword [ebp - 0x24], edi
movzx edi, byte [ebx + 1]
and eax, 0x1f
and edi, 0x3f
cmp dl, 0xdf
jbe 0x4de576
movzx ecx, byte [ebx + 2]
shl edi, 6
and ecx, 0x3f
or ecx, edi
cmp dl, 0xf0
jb 0x4de58b
movzx edx, byte [ebx + 3]
and eax, 7
shl ecx, 6
mov edi, dword [ebp - 0x24]
shl eax, 0x12
and edx, 0x3f
or edx, ecx
or edx, eax
mov eax, edx
cmp edx, 0x110000
mov edx, dword [ebp - 0x20]
jne 0x4de5c2
nop word cs:[eax + eax]
nop dword [eax]
cmp edi, 1
je 0x4de5d3
cmp edx, dword [ebp - 0x48]
mov edi, 1
mov ebx, 0
mov eax, 0
mov dword [ebp - 0x28], 0
jne 0x4de443
inc eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x20], edx
push eax
call fcn.00528900
add esp, 4
mov esi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x3c]
jmp 0x4de443
shl eax, 6
mov edx, dword [ebp - 0x20]
add ebx, 2
xor ecx, ecx
or eax, edi
mov edi, dword [ebp - 0x24]
jmp 0x4de460
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
shl eax, 0xc
add ebx, 3
or ecx, eax
mov eax, ecx
cmp eax, 0xffff
jbe 0x4de5cc
mov ecx, eax
add eax, 0xff0000
shr eax, 0xa
and ecx, 0x3ff
or eax, 0xd800
or ecx, 0xdc00
jmp 0x4de460
add ebx, 4
cmp eax, 0xffff
ja 0x4de5a2
xor ecx, ecx
jmp 0x4de460
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x4c]
movsd xmm0, qword [ebp - 0x48]
mov dword [ecx + 8], eax
movsd qword [ecx], xmm0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x440
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
mov ecx, str.internal_error:_entered_unreachable_codeC:Users_atkn1.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.32.0_src_runtime_blocking_schedule.rs
mov edx, 0x28
push 0x57f464
call fcn.00526990
add esp, 4
jmp 0x4de64a
mov dword [ebp - 0x10], 0
mov ecx, edi
push 0x57f454
call fcn.00526980
add esp, 4
jmp 0x4de64a
mov edi, edx
xor ecx, ecx
jmp 0x4de63c
mov ecx, 2
mov edx, edi
mov dword [ebp - 0x10], 0
call fcn.00526660
ud2