Function at 0x407cb0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424520
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0x4265dc
push 0x65
mov esi, eax
mov eax, dword [ebp + 8]
push 0x64
push eax
push 0x434048
mov ecx, 0x436f08
call fcn.00402530
mov cx, word [0x427264]
mov dl, byte [0x427266]
mov ebx, 1
xor edi, edi
push edi
push ebx
push str.vmware_vmount
mov dword [0x437160], ebx
mov word [ebp - 0x14], cx
mov byte [ebp - 0x12], dl
mov dword [ebp - 0x1c], ebx
call fcn.00409470
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.004024e0
mov esi, eax
add esp, 0x14
cmp esi, edi
je 0x407ddd
mov edi, dword [sym.imp.MSVCR71.dll__strnicmp]
push 0xb
push str.UnregServer
push esi
call edi
add esp, 0xc
test eax, eax
je 0x407e4c
push 9
push str.RegServer
push esi
call edi
add esp, 0xc
test eax, eax
je 0x407e7e
push 7
push str.Service
push esi
call edi
add esp, 0xc
test eax, eax
je 0x407eb4
push 8
push str.LogLevel
push esi
call dword [sym.imp.MSVCR71.dll__mbsnbicmp]
add esp, 0xc
test eax, eax
jne 0x407dab
lea eax, [esi + 9]
push eax
call fcn.00402990
add esp, 4
mov ebx, eax
mov dword [ebp - 0x1c], 0
push 0xb
push str.SetLogLevel
push esi
call dword [sym.imp.MSVCR71.dll__mbsnbicmp]
add esp, 0xc
test eax, eax
je 0x407eea
lea ecx, [ebp - 0x14]
push ecx
push esi
call fcn.004024e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x407d42
xor edi, edi
mov dword [ebp + 8], edi
mov dword [ebp - 4], edi
push 0x20019
push str.AppID
push SysReAllocStringLen
lea ecx, [ebp + 8]
call fcn.00401780
mov esi, eax
cmp esi, edi
je 0x407f25
push str.Cant_open_key___AppID_
push str.C:_ob_bora_42958_bora_apps_vmount_vmount.cpp
push 0x333
push 7
push 1
call fcn.004090e0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
cmp eax, edi
je 0x407e37
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 8], edi
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push str.Unregistered_the_Server
push 0
push 0
push 7
push 0
call fcn.004090e0
add esp, 0x14
mov ecx, 0x436f08
call fcn.00407c70
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push str.Registered_as_Local_Server
push 0
push 0
push 7
push 0
call fcn.004090e0
add esp, 0x14
push 0
push 1
mov ecx, 0x436f08
call fcn.00407ab0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push str.Registered_as_Local_Service
push 0
push 0
push 7
push 0
call fcn.004090e0
add esp, 0x14
push 1
push 1
mov ecx, 0x436f08
call fcn.00407ab0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push str.Setting_the_default_Log_Level
push 0
push 0
push 7
push 0
call fcn.004090e0
add esi, 0xc
push esi
mov dword [0x437160], 0
call fcn.00403a80
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 1
mov edx, dword [ebp + 8]
push 0x20019
push str.124B91A0_21B2_4107_A5BE_050B8E25079C
push edx
lea ecx, [ebp - 0x10]
call fcn.00401780
mov edi, eax
test edi, edi
je 0x407f68
push str.Cant_open_key___124B91A0_21B2_4107_A5BE_050B8E25079C_
push str.C:_ob_bora_42958_bora_apps_vmount_vmount.cpp
push 0x339
push 7
push 1
call fcn.004090e0
add esp, 0x14
jmp 0x408004
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x120]
push ecx
push str.LocalService
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], 0x104
call fcn.00401810
test eax, eax
mov dword [0x437160], 0
jne 0x407f9f
mov dword [0x437160], 1
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x407fbe
lea edx, [ebp - 0x18]
push edx
push str.LogLevel
lea ecx, [ebp - 0x10]
call fcn.004017d0
test eax, eax
jne 0x407fbe
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.00408d70
push 4
push ebx
push 0x4090b0
call sub.vmxScsiLib.dll_VmxScsiLib_SetLogger
push ebx
call sub.vmxScsiLib.dll_VmxScsiLib_InitNfc
add esp, 0x14
push 0x4235b0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0
call fcn.00422f20
add esp, 4
mov ecx, 0x436f08
call fcn.004068c0
call fcn.00409110
mov edi, dword [0x437148]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x40801f
push eax
call esi
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
test eax, eax
je 0x408037
push eax
call esi
mov dword [ebp + 8], 0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10