Function at 0x100bf4d
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 0x1001dfc
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], esi
call fcn.01009ec4
call fcn.0101491a
test al, al
jne 0x100bfa5
test byte [0x102407c], 0x10
je 0x100bf9d
push 0x100169c
push 0x1c
push dword [0x1024074]
push dword [0x1024070]
call fcn.0100332b
or esi, 0xffffffff
jmp 0x100c1dd
push ebx
push edi
mov dword [0x102501c], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
and dword [ebp - 0x10], 0
mov esi, 0x1001df4
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.0100a031
xor ebx, ebx
mov edi, eax
inc ebx
test edi, edi
je 0x100c10e
mov esi, dword [sym.imp.KERNEL32.dll_CompareStringW]
push 0xffffffffffffffff
push 0x1001ddc
push 0xffffffffffffffff
push edi
push ebx
push 0x7f
call esi
cmp eax, 2
je 0x100c034
push 0xffffffffffffffff
push 0x1001dc8
push 0xffffffffffffffff
push edi
push ebx
push 0x7f
call esi
cmp eax, 2
je 0x100c086
push 0xffffffffffffffff
push 0x1001db8
push 0xffffffffffffffff
push edi
push ebx
push 0x7f
call esi
cmp eax, 2
je 0x100c0ed
lea eax, [ebp - 0xc]
push eax
push edi
call fcn.0100a031
mov edi, eax
test edi, edi
jne 0x100bfdf
jmp 0x100c10e
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
mov dword [ebp - 0x10], eax
jne 0x100c10e
push 0x10031e4
push dword [ebp - 0x14]
mov esi, 0x1025040
push 0x1024080
mov ecx, esi
call fcn.0100a640
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edi, edi
push edi
push edi
push 0x64
push esi
mov dword [0x10250c4], eax
call fcn.0100bdee
push edi
push ebx
push esi
call fcn.0100b94e
mov dword [ebp - 0x10], eax
jmp 0x100c0dc
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
mov dword [ebp - 0x10], eax
jne 0x100c10e
push 0x10031e4
push dword [ebp - 0x14]
mov esi, 0x1025040
push 0x1024080
mov ecx, esi
call fcn.0100a640
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push ebx
push 0x64
push esi
mov dword [0x10250c4], eax
call fcn.0100bdee
push 0
push ebx
push esi
call fcn.0100b8a7
mov dword [ebp - 0x10], eax
call fcn.0100a235
call fcn.0100a103
push esi
call fcn.010099c0
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x100c1b7
test byte [0x102407c], 0x10
je 0x100c10e
push 0x100169c
push 0x1d
push dword [0x1024074]
push dword [0x1024070]
call fcn.0100332b
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], 0x100af8f
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 0x100c18c
push 0x100169c
push 0x1e
push dword [0x1024074]
push dword [0x1024070]
call fcn.0100332b
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test byte [0x102407c], 0x10
je 0x100c1b7
push 0x100169c
push 0x1f
push dword [0x1024074]
push dword [0x1024070]
call fcn.0100332b
test byte [0x102407c], 0x10
pop edi
pop ebx
je 0x100c1da
push 0x100169c
push 0x20
push dword [0x1024074]
push dword [0x1024070]
call fcn.0100332b
mov esi, dword [ebp - 0x10]
push 0x1024060
call fcn.01009f5a
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
call fcn.01019860
leave
ret 0x10