Function at 0x100c015
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x102416c]
push esi
mov esi, dword [ebp + 8]
push 0x1024060
push 0x1001e34
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], esi
call fcn.01009f8c
call fcn.01014a64
test al, al
jne 0x100c06d
test byte [0x102407c], 0x10
je 0x100c065
push 0x10016d4
push 0x1c
push dword [0x1024074]
push dword [0x1024070]
call fcn.0100335b
or esi, 0xffffffff
jmp 0x100c2a5
push ebx
push edi
mov dword [0x102501c], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
and dword [ebp - 0x10], 0
mov esi, 0x1001e2c
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0xc]
push ecx
push eax
movsw word es:[edi], word [esi]
call fcn.0100a0f9
xor ebx, ebx
mov edi, eax
inc ebx
test edi, edi
je 0x100c1d6
mov esi, dword [sym.imp.KERNEL32.dll_CompareStringW]
push 0xffffffffffffffff
push 0x1001e14
push 0xffffffffffffffff
push edi
push ebx
push 0x7f
call esi
cmp eax, 2
je 0x100c0fc
push 0xffffffffffffffff
push 0x1001e00
push 0xffffffffffffffff
push edi
push ebx
push 0x7f
call esi
cmp eax, 2
je 0x100c14e
push 0xffffffffffffffff
push 0x1001df0
push 0xffffffffffffffff
push edi
push ebx
push 0x7f
call esi
cmp eax, 2
je 0x100c1b5
lea eax, [ebp - 0xc]
push eax
push edi
call fcn.0100a0f9
mov edi, eax
test edi, edi
jne 0x100c0a7
jmp 0x100c1d6
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
mov dword [ebp - 0x10], eax
jne 0x100c1d6
push 0x100321c
push dword [ebp - 0x14]
mov esi, 0x1025040
push 0x1024080
mov ecx, esi
call fcn.0100a708
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edi, edi
push edi
push edi
push 0x64
push esi
mov dword [0x10250c4], eax
call fcn.0100beb6
push edi
push ebx
push esi
call fcn.0100ba16
mov dword [ebp - 0x10], eax
jmp 0x100c1a4
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
mov dword [ebp - 0x10], eax
jne 0x100c1d6
push 0x100321c
push dword [ebp - 0x14]
mov esi, 0x1025040
push 0x1024080
mov ecx, esi
call fcn.0100a708
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push ebx
push 0x64
push esi
mov dword [0x10250c4], eax
call fcn.0100beb6
push 0
push ebx
push esi
call fcn.0100b96f
mov dword [ebp - 0x10], eax
call fcn.0100a2fd
call fcn.0100a1cb
push esi
call fcn.01009a88
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x100c27f
test byte [0x102407c], 0x10
je 0x100c1d6
push 0x10016d4
push 0x1d
push dword [0x1024074]
push dword [0x1024070]
call fcn.0100335b
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
push 7
pop ecx
mov edi, 0x1025020
rep stosd dword es:[edi], eax
and dword [0x102502c], eax
and dword [0x1025030], eax
test byte [0x102407c], 0x10
mov dword [ebp - 0x20], 0x100b057
mov dword [ebp - 0x24], str.ImapiService
mov dword [0x1025034], 0x64
mov dword [0x1025038], 0x1388
mov dword [0x1025020], 0x10
mov dword [0x1025024], 2
mov dword [0x1025028], ebx
je 0x100c254
push 0x10016d4
push 0x1e
push dword [0x1024074]
push dword [0x1024070]
call fcn.0100335b
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test byte [0x102407c], 0x10
je 0x100c27f
push 0x10016d4
push 0x1f
push dword [0x1024074]
push dword [0x1024070]
call fcn.0100335b
test byte [0x102407c], 0x10
pop edi
pop ebx
je 0x100c2a2
push 0x10016d4
push 0x20
push dword [0x1024074]
push dword [0x1024070]
call fcn.0100335b
mov esi, dword [ebp - 0x10]
push 0x1024060
call fcn.0100a022
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
call fcn.01019a47
leave
ret 0x10