Function at 0x10004600
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1004e031
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x10062da0]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10062da0]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
push str.EDPEDISK_IsExistSector0BakInfo_enter
xor ebx, ebx
push ebx
push 0x226
push str.CEdpEDiskCtrlInterface::IsExistSector0BakInfo
mov ecx, str..EdpEDiskCtrlInterface.cpp
mov byte [esp + 0x27], bl
call fcn.10010760
add esp, 0x10
call fcn.10007e50
cmp al, bl
jne 0x1000468c
push str.EDPEDISK_Free_UDiskLabelRepair.dll_Failed_
push 4
push 0x22b
push str.CEdpEDiskCtrlInterface::IsExistSector0BakInfo
mov ecx, str..EdpEDiskCtrlInterface.cpp
call fcn.10010760
add esp, 0x10
xor al, al
jmp 0x100048f6
call fcn.10025867
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x100046a6
push 0x80004005
call fcn.10002d80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x134], ebx
or ebp, 0xffffffff
cmp byte [0x1006b339], bl
jne 0x10004710
push 0x103
lea ecx, [esp + 0x29]
push ebx
push ecx
mov byte [esp + 0x30], bl
call fcn.10037cf0
add esp, 0xc
push 0x104
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x10055dd0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
push str._sSystem32_s
push ecx
call fcn.100027b0
add esp, 0x10
jmp 0x100047a7
cmp dword [0x1006c56c], 0x10
mov eax, dword [0x1006c558]
jae 0x10004723
mov eax, 0x1006c558
push eax
lea ecx, [esp + 0x20]
call fcn.10002ca0
push 0x10055dd0
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x140], 1
call fcn.10009a40
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x138], 2
call fcn.1000bb20
mov byte [esp + 0x134], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10004781
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x134], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100047a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
cmp dword [esi - 4], 1
jle 0x100047c2
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [esp + 0x1c]
call fcn.10002a10
mov esi, dword [esp + 0x18]
push esi
push ebx
push 0x23c
push str.CEdpEDiskCtrlInterface::IsExistSector0BakInfo
mov ecx, str..EdpEDiskCtrlInterface.cpp
call fcn.10010760
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x1000480f
lea eax, [esi - 0x10]
mov dword [esp + 0x134], ebp
lea edx, [eax + 0xc]
lock xadd dword [edx], ebp
dec ebp
test ebp, ebp
jg 0x10004808
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x100048f6
push 0x1005631c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x1000486a
push str.Get_IsExistSector0BakInfo_or_Repair0Sector_failed
push ebx
push 0x24a
push str.CEdpEDiskCtrlInterface::IsExistSector0BakInfo
mov ecx, str..EdpEDiskCtrlInterface.cpp
call fcn.10010760
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [esi - 0x10]
mov dword [esp + 0x134], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x10004808
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x100048f6
mov edx, dword [esp + 0x13c]
lea ecx, [esp + 0x16]
push ecx
push edx
mov byte [esp + 0x1e], bl
call eax
test eax, eax
setne al
cmp al, bl
je 0x100048ae
cmp byte [esp + 0x16], bl
je 0x100048ae
push str.EDPEDISK_IsExistSector0BakInfo
push ebx
push 0x255
push str.CEdpEDiskCtrlInterface::IsExistSector0BakInfo
mov ecx, str..EdpEDiskCtrlInterface.cpp
call fcn.10010760
add esp, 0x10
mov byte [esp + 0x17], 1
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.EDPEDISK_IsExistSector0BakInfo_leave
push ebx
push 0x25c
push str.CEdpEDiskCtrlInterface::IsExistSector0BakInfo
mov ecx, str..EdpEDiskCtrlInterface.cpp
call fcn.10010760
lea eax, [esi - 0x10]
add esp, 0x10
mov dword [esp + 0x134], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x100048f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.10032551
add esp, 0x124
ret 4