Function at 0x402edf
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
push ebx
push esi
push eax
push ecx
xor ebx, ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
jne 0x402f01
xor al, al
jmp 0x40315c
xor eax, eax
push edi
inc eax
mov edi, ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], eax
cmp dword [esi], ebx
je 0x402f40
push 0x435ed8
push dword [esi]
call dword [sym.imp.VCRUNTIME140.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x402f3d
xor eax, eax
mov dword [ebp - 0xc], 2
inc eax
sub dword [ebp - 8], eax
mov edi, eax
mov dword [ebp - 4], edi
jne 0x402f40
jmp 0x403152
xor eax, eax
inc eax
push eax
mov eax, dword [esi + edi*4]
mov edi, dword [sym.imp.Mso30Win32Client.dll_Ordinal_1298]
add eax, 2
push str.SETTINGS
push eax
call edi
test eax, eax
je 0x402fb1
xor eax, eax
inc eax
mov byte [0x44f34c], al
mov bl, al
xor ecx, ecx
inc ecx
cmp byte [0x44f347], 0
jne 0x402f7c
cmp byte [0x44f346], 0
je 0x40313d
cmp dword [ebp - 8], ecx
jle 0x40313d
mov eax, dword [ebp - 0xc]
push ecx
push str.GROOVE
mov eax, dword [esi + eax*4]
add eax, 2
push eax
call edi
movzx ecx, byte [0x44f34d]
test eax, eax
push 1
pop edx
cmovne ecx, edx
mov byte [0x44f34d], cl
jmp 0x403140
mov eax, dword [ebp - 4]
xor edx, edx
inc edx
push edx
push str.REPAIR
mov eax, dword [esi + eax*4]
add eax, 2
push eax
call edi
test eax, eax
je 0x402fd7
xor ecx, ecx
inc ecx
mov byte [0x44f347], cl
mov bl, cl
jmp 0x402f7c
xor eax, eax
inc eax
push eax
mov eax, dword [ebp - 4]
push str.REPAIRDB
mov eax, dword [esi + eax*4]
add eax, 2
push eax
call edi
test eax, eax
je 0x402ffb
xor ecx, ecx
inc ecx
mov byte [0x44f345], cl
jmp 0x402fcd
xor eax, eax
inc eax
push eax
mov eax, dword [ebp - 4]
push str.REPAIRDBSIZE
mov eax, dword [esi + eax*4]
add eax, 2
push eax
call edi
test eax, eax
je 0x40301f
xor ecx, ecx
inc ecx
mov byte [0x44f35c], cl
jmp 0x402fcd
xor eax, eax
inc eax
push eax
mov eax, dword [ebp - 4]
push str.UPDATE
mov eax, dword [esi + eax*4]
add eax, 2
push eax
call edi
test eax, eax
je 0x403046
xor ecx, ecx
inc ecx
mov byte [0x44f346], cl
jmp 0x403111
xor eax, eax
inc eax
push eax
mov eax, dword [ebp - 4]
push str.RECOVER
mov eax, dword [esi + eax*4]
add eax, 2
push eax
call edi
test eax, eax
je 0x4030ad
xor eax, eax
inc eax
cmp dword [ebp - 8], eax
jle 0x402f63
mov ebx, dword [ebp - 0xc]
mov edx, 0x44ee40
push 0x104
mov byte [0x44f344], al
mov ecx, dword [esi + ebx*4]
call fcn.004011e8
cmp dword [ebp - 8], 2
jle 0x4030ee
mov eax, dword [esi + ebx*4 + 4]
xor edx, edx
inc edx
add eax, 2
push edx
push str.alldocs
push eax
call dword [sym.imp.Mso30Win32Client.dll_Ordinal_141]
test eax, eax
setne byte [0x44f4f0]
jmp 0x4030ee
xor eax, eax
inc eax
cmp dword [ebp - 8], eax
jle 0x402f63
push eax
mov eax, dword [ebp - 4]
push str.VIEW
mov eax, dword [esi + eax*4]
add eax, 2
push eax
call edi
test eax, eax
je 0x402f63
xor eax, eax
inc eax
push eax
mov eax, dword [ebp - 0xc]
push str.PENDING
push dword [esi + eax*4]
call edi
test eax, eax
je 0x4030f3
mov dword [0x44b548], ebx
xor ecx, ecx
inc ecx
jmp 0x403111
xor eax, eax
inc eax
push eax
mov eax, dword [ebp - 0xc]
push str.RECENT
push dword [esi + eax*4]
call edi
test eax, eax
je 0x403118
xor ecx, ecx
inc ecx
mov dword [0x44b548], ecx
mov bl, cl
jmp 0x402f66
xor eax, eax
inc eax
push eax
mov eax, dword [ebp - 0xc]
push 0x435f9c
push dword [esi + eax*4]
call edi
test eax, eax
je 0x402f63
mov dword [0x44b548], 2
jmp 0x4030ee
xor edx, edx
inc edx
movzx ecx, byte [0x44f4f1]
test bl, bl
cmovne ecx, edx
mov byte [0x44f4f1], cl
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret