Function at 0x100c0d60
Capabilities:
Create process on windows
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e0223
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x10145188]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [0x101489d4]
mov edi, ecx
mov dword [ebp - 0x104], edi
mov dword [ebp - 0x108], ebx
call dword [sym.imp.Configuration.dll_class_cm_configuration::ConfigurationManager____cdecl_cm_configuration::GetConfigurationManager_void_]
mov ecx, eax
call dword [sym.imp.Configuration.dll_public:_enum_RCD_PRODUCT_MODE___thiscall_cm_configuration::ConfigurationManager::get_rcd_mode_void_]
cmp eax, 2
je 0x100c1086
xor eax, eax
push 0xc6
push eax
lea ecx, [ebp - 0xd6]
push ecx
mov word [ebp - 0xd8], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea edx, [ebp - 0xd8]
push edx
push 0x64
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea ecx, [ebp - 0x10c]
call dword [0x100ec970]
lea ecx, [ebp - 0x100]
mov dword [ebp - 4], 0
mov byte [ebp - 0xf9], 0
call dword [0x100ec970]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x100]
push eax
push 0x10117118
push 1
call dword [sym.imp.Common.dll_int___cdecl_COMMON::WriteLog_int__wchar_t_const__]
add esp, 0xc
cmp word [ebp - 0xd8], 0
lea esi, [ebp - 0xd8]
je 0x100c0ee4
jmp 0x100c0e40
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov edi, eax
cmp edi, 4
je 0x100c0e70
test edi, edi
je 0x100c0e70
push esi
lea ecx, [ebp - 0x100]
call dword [0x100ec930]
push 0x100efd5c
lea ecx, [ebp - 0x100]
call dword [0x100ec930]
lea ecx, [ebp - 0xf8]
call dword [0x100ec970]
push edi
push esi
lea ecx, [ebp - 0xf8]
push str._g0W
push ecx
mov byte [ebp - 4], 2
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov edx, dword [ebp - 0xf8]
push edx
push 1
call dword [sym.imp.Common.dll_int___cdecl_COMMON::WriteLog_int__wchar_t_const__]
add esp, 0x18
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov eax, esi
lea edx, [eax + 2]
jmp 0x100c0ec0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100c0ec0
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 + 2], cx
lea esi, [esi + eax*2 + 2]
jne 0x100c0e40
mov edi, dword [ebp - 0x104]
lea ecx, [ebp - 0x100]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::MakeUpper]
lea ecx, [ebp - 0x110]
call dword [0x100ec970]
lea ecx, [ebp - 0x114]
call dword [0x100ec970]
mov byte [ebp - 4], 4
mov ecx, dword [edi]
mov esi, dword [ecx]
mov dword [ebp - 0x104], ecx
cmp esi, ecx
je 0x100c10b6
mov edi, edi
mov eax, dword [esi + 0x18]
cmp eax, dword [ebx + 0x668]
jg 0x100c10a8
movzx ecx, byte [esi + 0xa]
push 1
push ecx
lea ecx, [ebp - 0xf8]
call dword [0x100ec9ac]
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::MakeUpper]
mov edx, dword [ebp - 0xf8]
push 0
push edx
lea ecx, [ebp - 0x100]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find_1]
test eax, eax
js 0x100c0f96
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x10c]
mov byte [ebp - 0xf9], 1
call dword [0x100ec92c]
push 0x10117140
lea ecx, [ebp - 0x10c]
call dword [0x100ec930]
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov esi, dword [esi]
cmp esi, dword [ebp - 0x104]
jne 0x100c0f20
cmp byte [ebp - 0xf9], 0
je 0x100c10b0
lea ecx, [ebp - 0xf8]
call dword [0x100ec970]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10c]
mov esi, dword [sym.imp.DuiLib_u.dll_public:_static_wchar_t_const____cdecl_DuiLib::CPaintManagerUI::GetStringById_wchar_t_const__]
push ecx
push str.Common_37
call esi
add esp, 4
push eax
lea edx, [ebp - 0xf8]
push edx
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov eax, dword [ebp - 0xf8]
add esp, 0xc
push eax
push 1
call dword [sym.imp.Common.dll_int___cdecl_COMMON::WriteLog_int__wchar_t_const__]
mov ecx, dword [ebx + 0x20]
mov edi, dword [ebp - 0xf8]
add esp, 8
call dword [sym.imp.DuiLib_u.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push 0
push eax
push str.Common_3
call esi
add esp, 4
push str.Common_9
mov dword [ebp - 0x104], eax
call esi
mov edx, dword [ebp - 0x104]
add esp, 4
push eax
xor ebx, ebx
mov ecx, edi
call fcn.100031f0
add esp, 0xc
lea ecx, [ebp - 0xf8]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp - 0x114]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp - 0x110]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp - 0x100]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp - 0x10c]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea esp, [ebp - 0x130]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d0962
mov esp, ebp
pop ebp
ret
inc dword [ebx + 0x668]
jmp 0x100c1056
mov ecx, dword [ebp - 0x104]
mov eax, dword [edi]
mov edi, dword [eax]
mov dword [ebp - 0xf8], edi
cmp edi, ecx
je 0x100c1056
jmp 0x100c10d6
mov edi, dword [ebp - 0xf8]
xor esi, esi
cmp dword [ebx + 0x604], esi
jle 0x100c1118
mov eax, dword [edi + 0x14]
test esi, esi
js 0x100c139a
cmp esi, dword [ebx + 0x604]
jge 0x100c139a
mov ecx, dword [ebx + 0x600]
lea ecx, [ecx + esi*4]
push eax
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CompareNoCase]
test eax, eax
je 0x100c1381
inc esi
cmp esi, dword [ebx + 0x604]
jl 0x100c10e0
cmp word [edi + 8], 0
jne 0x100c1153
push str.FileSend_70
call dword [sym.imp.DuiLib_u.dll_public:_static_wchar_t_const____cdecl_DuiLib::CPaintManagerUI::GetStringById_wchar_t_const__]
add esp, 4
push eax
lea ecx, [ebp - 0x120]
call dword [0x100ec95c]
push eax
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [ebp - 0x120]
jmp 0x100c1185
push str.FileSend_71
call dword [sym.imp.DuiLib_u.dll_public:_static_wchar_t_const____cdecl_DuiLib::CPaintManagerUI::GetStringById_wchar_t_const__]
add esp, 4
push eax
lea ecx, [ebp - 0x11c]
call dword [0x100ec95c]
push eax
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 8
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov edx, dword [edi + 0xc]
cmp dword [edx - 0xc], 0
lea ebx, [edi + 0xc]
je 0x100c11aa
mov ecx, dword [ebp - 0x108]
push ebx
add ecx, 0x610
jmp 0x100c11b8
mov eax, dword [ebp - 0x108]
add eax, 0x610
push eax
mov ecx, ebx
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov ecx, dword [edi + 0x10]
add edi, 0x10
cmp dword [ecx - 0xc], 0
je 0x100c11d9
mov ecx, dword [ebp - 0x108]
push edi
add ecx, 0x614
jmp 0x100c11e8
mov edx, dword [ebp - 0x108]
add edx, 0x614
push edx
mov ecx, edi
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov esi, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x108]
mov eax, dword [ecx + 0x604]
add ecx, 0x5fc
add esi, 0x14
push esi
push eax
call dword [sym.imp.mfc100u.dll_CStringArray::SetAtGrow_1]
lea eax, [ebp - 0x118]
push 0
push eax
call dword [sym.imp.Common.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_COMMON::GetAppPath_int_]
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x114]
mov edx, dword [esi]
mov eax, dword [eax]
push ecx
mov ecx, dword [ebp - 0xf8]
push edx
movsx edx, byte [ecx + 0xa]
mov ecx, dword [edi]
push edx
mov edx, dword [ebx]
push ecx
push edx
push eax
lea ecx, [ebp - 0x110]
push str.__sNetUse.exe____s____s____c:____s____s_
push ecx
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x28
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov edx, dword [ebp - 0x110]
mov ebx, dword [sym.imp.Common.dll_int___cdecl_COMMON::WriteLog_int__wchar_t_const__]
push edx
push str.mountcmd:__s
push 1
call ebx
mov eax, dword [ebp - 0x110]
add esp, 0xc
mov edi, eax
test eax, eax
jne 0x100c1290
xor edx, edx
jmp 0x100c12d7
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x100c12cd
lea ebx, [eax + eax]
mov eax, ebx
call fcn.100d19c0
mov esi, esp
test esi, esi
je 0x100c12cd
push 0
push 0
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x100c12cf
xor eax, eax
mov ebx, dword [sym.imp.Common.dll_int___cdecl_COMMON::WriteLog_int__wchar_t_const__]
mov edx, eax
mov eax, edx
mov dword [ebp - 0xe0], 0xf
mov dword [ebp - 0xe4], 0
mov byte [ebp - 0xf4], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100c12f7
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0xf4]
call fcn.1003d240
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0xf4]
mov esi, 0x10
cmp dword [ebp - 0xe0], esi
jae 0x100c132a
lea eax, [ebp - 0xf4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x1f
jbe 0x100c1346
push str.winexec_mountnetdisk_succ
push 1
call ebx
add esp, 8
jmp 0x100c1359
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.winexec_mountnetdisk_resultfalse_lasterror_d
push 1
call ebx
add esp, 0xc
mov byte [ebp - 4], 4
cmp dword [ebp - 0xe0], esi
jb 0x100c1375
mov eax, dword [ebp - 0xf4]
push eax
call dword [sym.imp.mfc100u.dll_delete_1]
add esp, 4
mov ebx, dword [ebp - 0x108]
mov edi, dword [ebp - 0xf8]
mov edi, dword [edi]
mov dword [ebp - 0xf8], edi
cmp edi, dword [ebp - 0x104]
jne 0x100c10d0
jmp 0x100c1056
call dword [sym.imp.mfc100u.dll_AfxThrowInvalidArgException]
int3