Function at 0x4d8eb0
Capabilities:
Access peb ldr_data
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x58a32a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
xor eax, eax
push edi
mov edi, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
push 0x596834
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 3
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_6]
mov bl, 4
push 0x5c
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::ReverseFind]
mov esi, eax
cmp esi, 0xffffffff
je 0x4d9000
lea eax, [esi + 1]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 5
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_4]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
sub eax, esi
dec eax
push eax
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Right]
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 6
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_4]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.004d89d0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 7
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_4]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_4]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::MakeUpper]
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov esi, dword [sym.imp.SHLWAPI.dll_PathIsRootA]
push eax
call esi
test eax, eax
je 0x4d9066
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x4d9052
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.004d7c60
mov byte [esp + 0x28], 8
jmp 0x4d90c3
push 0x13d
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::LoadStringA]
jmp 0x4d90ed
push 0x59da4c
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
jne 0x4d90ed
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call esi
test eax, eax
je 0x4d90de
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x4d9052
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.004d7c60
mov byte [esp + 0x28], 9
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_4]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
jmp 0x4d90ed
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_4]
push 2
lea edx, [esp + 0x10]
push edx
mov ecx, 0x5fcb20
call fcn.004637e0
mov esi, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, dword [esp + 0x20]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 8