Function at 0x100085f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1004e3f1
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
call fcn.10007e50
test al, al
jne 0x10008657
push str.Free_UDiskLabelRepair.dll_Failed_
push 4
push 0xade
push str.CEdpEDiskCtrlInterface::RepairLabel
mov ecx, str..EdpEDiskCtrlInterface.cpp
call fcn.10010760
add esp, 0x10
jmp 0x10008847
call fcn.10025867
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x10008671
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], 0
cmp byte [0x1006b339], 0
jne 0x100086df
push 0x103
lea ecx, [esp + 0x29]
push 0
push ecx
mov byte [esp + 0x30], 0
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 0x10008779
cmp dword [0x1006c56c], 0x10
mov eax, dword [0x1006c558]
jae 0x100086f2
mov eax, 0x1006c558
push eax
lea ecx, [esp + 0x24]
call fcn.10002ca0
push 0x10055dd0
push eax
lea edx, [esp + 0x24]
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 + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10008751
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x134], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10008779
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x100087aa
lea eax, [ebx - 0x10]
mov dword [esp + 0x134], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x1000883b
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10057294
push esi
call ebp
push 0x1005740c
push esi
mov edi, eax
call ebp
mov ebp, eax
test edi, edi
je 0x10008819
test ebp, ebp
je 0x10008819
mov ebx, dword [esp + 0x13c]
lea ecx, [esp + 0x17]
push ecx
push ebx
mov byte [esp + 0x1f], 1
call edi
test eax, eax
je 0x10008807
cmp byte [esp + 0x17], 0
jne 0x10008807
push ebx
call ebp
test eax, eax
push esi
setne bl
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x18]
call fcn.10002d60
mov al, bl
jmp 0x10008849
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x18]
call fcn.10002d60
jmp 0x10008847
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebx - 0x10]
mov dword [esp + 0x134], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10008847
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
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